The present disclosure relates to an encoder and an encoding method.
In recent years, EVS (Enhanced Voice Services) codec has been standardized in 3GPP (3rd Generation Partnership Project) (refer to, for example, NPL 1). The EVS codec is designed for encoding monophonic audio signals.
The EVS codec does not support input and output of a stereo signal. However, if each of channels (the left channel (L channel) and the right channel (R channel)) of a stereo signal is processed by using the EVS codec (monaural encoding), the EVS codec can be used in a stereo rendering system. However, if a stereo signal is encoded by using a multi-mode monaural codec that performs encoding by switching among a plurality of coding modes like the EVS codec (the monaural encoding performed separately for the L channel signal and the R channel signal of the stereo signal is also referred to as “dual mono encoding”), different coding modes may be used for the L channel and the R channel of the stereo signal. Consequently, the sound quality in stereo reproduction may deteriorate.
One aspect of the present disclosure provides an encoder and an encoding method capable of preventing a decrease in sound quality in stereo reproduction even when a stereo signal is encoded by using a multi-mode codec.
According to an aspect of the present disclosure, an encoder includes a signal analysis circuit that performs signal analysis on a left channel signal and a right channel signal that constitute a stereo signal and generates a parameter used to determine a coding mode for each of a left channel and a right channel and an encoding circuit that encodes the left channel signal and the right channel signal by using a coding mode common to the left channel signal and the right channel signal. The encoding circuit determines the common coding mode by selecting, out of the left channel and the right channel, the one that has a lower ratio of energy of an environmental sound component to the entire energy of the channel and using the parameter of the selected channel.
It should be noted that general or specific embodiments may be implemented as a system, a method, an integrated circuit, a computer program, a storage medium, or any selective combination thereof.
According to one aspect of the present disclosure, even when a stereo signal is encoded by using a multi-mode codec, deterioration in sound quality can be prevented in stereo reproduction.
Additional benefits and advantages of the disclosed embodiments will become apparent from the specification and drawings. The benefits and/or advantages may be individually obtained by the various embodiments and features of the specification and drawings, which need not all be provided in order to obtain one or more of such benefits and/or advantages.
Embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
A 3GPP EVS encoding system is briefly described first as an example of a multi-mode monaural encoding system (refer to, for example, NPL 1).
As described in NPL 1, the EVS codec employs a plurality of encoding techniques (coding modes) (refer to, for example,
In the EVS codec, the most suitable coding mode is selected from among, for example, ACELP, HQ MDCT, and TCX in accordance with an input speech/audio signal. Each of the coding modes is designed and adjusted such that various signals can be efficiently coded. The coding mode selection in the EVS codec is made on the basis of, for example, the bit rate, the bandwidth of the audio signal, the speech/music classification, the selected coding mode, or other parameters (the features).
As described above, the EVS codec is a monaural codec. However, if each channel of the stereo signal is processed by using a monaural codec, the EVS codec can be employed in a stereo rendering system. As an example,
As illustrated in
For example, if the ratio of the environmental sound (ambient noise) level (the environmental sound component energy) to the input signal level of the L channel of the stereo signal differs from that of the R channel and if the two channel signals are separately processed using a multi-mode codec, such as the EVS codec, signal analysis and selection of a coding mode are independently performed on each of the channel signals. Accordingly, different coding modes may be selected for the two channels. If different coding modes are selected for the two channels, the subjective quality of the decoded signal may deteriorate, which causes abnormal sound and/or distortion in stereo reproduction or causes an inadequate stereo soundstage.
Accordingly, in each of the embodiments of the present disclosure, a method is described for preventing deterioration of the sound quality in stereo reproduction (preventing abnormal sound and/or distortion and an inadequate stereo soundstage) even when dual mono encoding using a multi-mode codec is performed on a stereo signal having a difference in environmental sound component energy ratio between the two channels.
[Outline of Communication System]
A communication system according to the present embodiment includes an encoder 100 and a decoder (not illustrated).
[Configuration of Encoder]
In
The signal analysis unit 101 performs signal analysis on the input L channel signal and R channel signal and obtains parameters necessary for determining the coding mode for each of the L channel and the R channel (for example, the features, such as the type of the input signal (e.g., speech/music), the bandwidth, the estimated segmental S/N ratio, long-term prediction parameters, voiced scale, spectral noise floor, high-frequency energy, voiced determination, high-frequency sparseness, average energy, and peak-to-average ratio). The signal analysis unit 101 outputs the obtained analysis parameters to the selector switch 103. For example, during the signal analysis, the signal analysis unit 101 performs frequency domain transform processing and energy calculation processing on the channel signals, for example.
The inter-channel correlation calculation unit 102 calculates the inter-channel correlation (a normalized correlation coefficient (hereinafter simply referred to as a “correlation coefficient”)) α between the L channel and the R channel on the basis of the input L channel signal and R channel signal by using, for example, the following equation (1):
where 0<α<1.
In equation (1), R11 represents the auto-correlation coefficient (the energy) of the L channel signal, and R22 represents the auto-correlation coefficient (the energy) of the R channel signal. In addition, R12 represents the correlation coefficient (the cross-spectrum) between the L channel signal and the R channel signal. Furthermore, Framelength represents the number of frequency spectrum parameters (the spectral coefficient) in the frame, I(k) represents the kth spectral coefficient in the L channel signal, and R(k) represents the kth spectral coefficient in the R channel signal.
In addition, the inter-channel correlation calculation unit 102 determines a stereo coding mode for the stereo signal (the L channel signal and R channel signal) on the basis of the calculated correlation coefficient α.
As used herein, as illustrated in
More specifically, the inter-channel correlation calculation unit 102 selects the DM stereo coding mode if the correlation coefficient α is less than or equal to a threshold value and selects the DMA stereo coding mode if the correlation coefficient α is greater than the threshold value. As an example, the inter-channel correlation calculation unit 102 may select the DM stereo coding mode if the correlation coefficient α is 0 (that is, if there is no correlation between the L channel signal and the R channel signal) and may select the DMA stereo coding mode if the correlation coefficient α is greater than 0 (α>0).
The inter-channel correlation calculation unit 102 outputs, to the selector switch 103, the correlation coefficient α and a stereo mode decision flag (stereo mode decision) that is a determination result of the stereo coding mode.
If the stereo mode decision flag input from the inter-channel correlation calculation unit 102 indicates the DMA stereo coding mode, the selector switch 103 outputs, to the DMA stereo encoding unit 104, the input L channel signal, the R channel signal, the analysis parameters input from the signal analysis unit 101, and the correlation coefficient α input from the correlation calculation unit 101. However, if the stereo mode decision flag indicates the DM stereo coding mode, the selector switch 103 outputs, to the DM stereo encoding unit 105, the L channel signal, the R channel signal, and the analysis parameters.
The DMA stereo encoding unit 104 determines (selects) a common coding mode for the L channel signal and the R channel signal by using the correlation coefficient α and the analysis parameters. Thereafter, the DMA stereo encoding unit 104 encodes the L channel signal and the R channel signal by using the determined common coding mode and outputs the generated encoded bit streams to the multiplexing unit 106. A method for selecting the coding mode performed by the DMA stereo encoding unit 104 is described in more detail below.
The DM stereo encoding unit 105 determines (selects) a coding mode for each of the L channel signal and the R channel signal by using the analysis parameters. Thereafter, the DM stereo encoding unit 105 encodes each of the L channel signal and the R channel signal by using the determined coding mode and outputs the generated encoded bit stream to the multiplexing unit 106 (refer to, for example,
The multiplexing unit 106 multiplexes the encoded bit streams input from the DMA stereo encoding unit 104 or the DM stereo encoding unit 105. The multiplexed bit stream is transmitted to a decoder (not illustrated).
Note that instead of including the selector switch 103, the DMA stereo encoding unit 104, and the DM stereo encoding unit 105, the encoder 100 illustrated in
[Operation Performed by DMA Stereo Encoding Unit 104]
The method for selecting a coding mode in the DMA stereo encoding unit 104 is described in detail below.
As illustrated in
The adaptive mixing unit 141 performs mixing on the Lch analysis parameters and Rch analysis parameters input from the signal analysis unit 101 on the basis of the correlation coefficient α input from the inter-channel correlation calculation unit 102 (refer to
The coding mode selection unit 142 uses the analysis parameters after the mixing, input from the adaptive mixing unit 141 and selects a coding mode to be commonly applied to both the L channel signal and R channel signal. The method for selecting a coding mode in the coding mode selection unit 142 may be the same as the selection method employed in the EVS codec (monaural encoding) illustrated in
The Lch encoding unit 143 encodes the L channel signal by using the coding mode indicated by the coding mode information input from the coding mode selection unit 142 and outputs a generated encoded bit stream to the bit stream generation unit 145.
The Rch encoding unit 144 encodes the R channel signal by using the coding mode indicated by the coding mode information input from the coding mode selection unit 142 and outputs a generated encoded bit stream to the bit stream generation unit 145.
The bit stream generation unit 145 generates a stereo encoded bit stream by using the encoded bit stream input from the Lch encoding unit 143 and the encoded bit stream input from the Rch encoding unit 144 and outputs the stereo encoded bit stream to the multiplexing unit 106 (refer
The signal analysis unit 101 (the Lch signal analysis unit and Rch analysis unit) calculates the energy of the L channel signal and the energy of the R channel signal (ST101). Subsequently, the adaptive mixing unit 141 calculates inter-channel energy difference Δ by using the energy of each of the channels calculated in ST101 (ST102).
Subsequently, the adaptive mixing unit 141 identifies a dominant channel and a non-dominant channel for the L channel signal and the R channel signal (ST103).
For example, the adaptive mixing unit 141 may identify the dominant channel and the non-dominant channel on the basis of the inter-channel energy difference Δ calculated in ST102. For example, the inter-channel energy difference Δ is given by the following equation (2):
[Formula 2]
Δ=R11−R22 (2).
In equation (2), let R11 denote the energy of the L channel, and let R22 denote the energy of the R channel. Then, the adaptive mixing unit 141 identifies the dominant channel and the non-dominant channel in accordance with the sign of the inter-channel energy difference Δ. More specifically, if the energy difference Δ is positive (Δ>0, that is, R11>R22), the adaptive mixing unit 141 identifies that the L channel is the dominant channel, and the R channel is the non-dominant channel. However, if the energy difference Δ is negative (Δ<0, that is, R1<R22), the adaptive mixing unit 141 identifies that the L channel is a non-dominant channel, and the R channel is a dominant channel.
In addition, if the energy difference Δ is 0 (Δ=0, that is, R11=R22), the adaptive mixing unit 141 may identify either the L channel or the R channel as the dominant channel. For example, if the energy difference Δ is positive, the adaptive mixing unit 141 may identify the L channel as the dominant channel. However, if the energy difference Δ is less than or equal to 0 (Δ≤0), the adaptive mixing unit 141 may identify the R channel as the dominant channel. Alternatively, if the energy difference Δ is negative, the adaptive mixing unit 141 may identify the R channel as the dominant channel. However, if the energy difference Δ is greater than or equal to 0 (Δ≥0), the adaptive mixing unit 141 may identify the L channel as the dominant channel.
Note that the technique for identifying the dominant channel and the non-dominant channel is not limited to the above-described technique.
Subsequently, the adaptive mixing unit 141 determines a weighting coefficient (a weight) for each of the analysis parameter of the dominant channel and the analysis parameter of the non-dominant channel identified in ST103 on the basis of the correlation coefficient α and the level difference between the channels (the energy difference) (ST104). That is, the adaptive mixing unit 141 calculates the weighting coefficient for the analysis parameter of each of the channels on the basis of the ratio of the energy of the environmental sound component to the entire energy of each of the channels (the details are described below).
Thereafter, the adaptive mixing unit 141 performs mixing (adaptive mixing) of the analysis parameters by calculating the weighted sum of the analysis parameter of the dominant channel and the analysis parameter of the non-dominant channel by using the weighting coefficients determined in ST104 (ST105).
For example, the adaptive mixing unit 141 performs mixing of the analysis parameters (calculates the weighted sum) to obtain an analysis parameter (a weighted parameter) Mp by using the following equation (3):
[Formula 3]
M
p
=W
1
D
p
+W
n
ND
p (3).
In equation (3), Dp represents an analysis parameter for determining the coding mode of the dominant channel, and NDp represents an analysis parameter for determining the coding mode of the non-dominant channel. W1 represents a weighting coefficient for the analysis parameter of the dominant channel, and W2 represents a weighting coefficient for the analysis parameter of the non-dominant channel.
Finally, the coding mode selection unit 142 selects a coding mode common to both the L channel signal and the R channel signal by using the analysis parameter Mp obtained in ST105 (ST106). The method for selecting a coding mode employed by the coding mode selection unit 142 may be the same as the selection method in the EVS codec (monaural encoding) illustrated in
The method for calculating the weighting coefficient in ST104 is described below.
In the method, it is assumed that, each of the input signals input to the encoder 100 consists of an environmental sound component common to the two channels (components having the same level and having no correlation with each other) and a component other than the environmental sound component (components common to the two channels but having different amplitudes and phases).
In this case, the adaptive mixing unit 141 obtains the energy A of the environmental sound component estimated from the input signals of the two channels (that is, the L channel and R channel) by using the following equation (4):
In Equation (4), PXL represents the energy of the L channel signal, PXR represents the energy of the R channel signal, and a represents the inter-channel correlation (the normalized correlation coefficient) given by equation (1).
Note that the energy A of the environmental sound component given by equation (4) can be calculated even before the process of identifying the dominant channel and the non-dominant channel (the process in ST103). That is, either the process of calculating the energy A or the process of identifying the dominant channel and the non-dominant channel) may be performed first.
Subsequently, the adaptive mixing unit 141 calculates the environmental sound component energy ratio AEND (the ratio of the energy of the environmental sound component to the entire energy of the non-dominant channel identified in ST103) by using the following equation (5):
In equation (5), PND represents the energy of the non-dominant channel signal. PND is the same as PXL or PXR.
Note that it is assumed that the environmental sound components of the two channels are the same (the energy is the same) and have no correlation with each other. Therefore, when α=0 (AEND=1), the whole non-dominant channel signal is an environmental sound component. When α=1 (AEND=0), the non-dominant channel signal do not include an environmental sound component.
In addition, since the energy of the dominant channel signal is larger than the energy of the non-dominant channel signal, the environmental sound component energy ratio of the dominant channel is lower than the environmental sound component energy ratio AEND of the non-dominant channel under the above-described assumption that the environmental sound component is common to the channels. That is, the reliability of the coding mode selected using the dominant channel signal (the analysis parameter) is higher than at least the reliability of the coding mode selected using the non-dominant channel signal (the analysis parameter).
In contrast, the ratio of principal component signals, such as speech/audio signals, in the non-dominant channel decreases with increasing environmental sound component energy ratio AEND of the non-dominant channel. Therefore, the reliability of the coding mode selected using the non-dominant channel signal (the analysis parameter) decreases with increasing environmental sound component energy ratio AEND of the non-dominant channel.
For this reason, according to the present embodiment, to determine a common coding mode, the adaptive mixing unit 141 preferentially uses the analysis parameter of the dominant channel (the L channel or R channel) that has a lower ratio of the energy of the environmental sound component to the entire energy of the channel. In addition, when determining a common coding mode, the adaptive mixing unit 141 decreases the degree of enhancement of the analysis parameter of the non-dominant channel with increasing environmental sound component energy ratio AEND of the non-dominant channel.
For example, the adaptive mixing unit 141 calculates a weighting coefficient for the analysis parameter used to determine the coding mode on the basis of the environmental sound component energy ratio AEND of the non-dominant channel. For example, the adaptive mixing unit 141 obtains a weighting coefficient W1 for the analysis parameter of the dominant channel by using the following equation (6) and obtains a weighting coefficient W2 for the analysis parameter of the non-dominant channel by using the following equation (7):
As can be seen from equations (5), (6), and (7), when α=1 (AEND=0), the weighting coefficient W1 for the analysis parameter of the dominant channel=0.5, and the weighting coefficient W2 for the analysis parameter of the non-dominant channel=0.5. That is, in the weighting parameter Mp given by equation (3), the weight for the analysis parameter Dp of the dominant channel and the weight for the analysis parameter NDp of the non-dominant channel are the same. This is because when α=1 (AEND=0), the non-dominant channel does not include an environmental sound component and, thus, the reliability of the coding mode determined using the non-dominant channel signal increases.
In contrast, as can be seen from equations (5), (6), and (7), when α=0 (AEND=1), the weighting coefficient W1 for the analysis parameter of the dominant channel=1, and the weighting coefficient W2 for the analysis parameter of the non-dominant channel=0. That is, the weighting parameter Mp given by equation (3) consists of the analysis parameter Dp of the dominant channel and does not include the analysis parameter NDp of the non-dominant channel. This is because when α=0 (AEND=1), the non-dominant channel includes only environmental sound components and does not include principal component signals, such as speech/audio signals, and, thus, the reliability of the coding mode determined using the non-dominant channel signal decreases.
That is, the weighting coefficient W1 is in the range of 0.5 to 1, and the weighting coefficient W2 is in the range of 0.5 to 0. In addition, the weighting coefficient W1≥the weighting coefficient W2. That is, the adaptive mixing unit 141 determines the analysis parameter MP by setting the weighting coefficient W1 of the analysis parameter of the dominant channel to a value greater than or equal to the weighting coefficient W2 of the analysis parameter of the non-dominant channel. In this manner, the analysis parameter Mp used to determine the common coding mode is easily set to a value that emphasizes the analysis parameter of the dominant channel more. As described above, the encoder 100 can appropriately select the common coding mode by preferentially using the analysis parameter of the dominant channel with higher reliability (the channel with a lower environmental sound component energy ratio). Thus, deterioration of the sound quality during stereo reproduction can be reduced.
In addition, since the reliability of the coding mode determined using the analysis parameter of the non-dominant channel decreases with increasing environmental sound component energy ratio AEND of the non-dominant channel, the encoder 100 performs weighting so as to prioritize (emphasize) the dominant channel more. In this way, the encoder 100 ensures that a higher weight is given to the analysis parameter of the dominant channel having high reliability. In addition, the encoder 100 adjusts the weighting emphasis level for the analysis parameter of each of the channels in accordance with the environmental sound component energy ratio AEND of the non-dominant channel and, thus, appropriately selects the common coding mode. In this manner, deterioration of the sound quality during stereo reproduction can be reduced.
Note that the environmental sound component energy ratio AEND of the non-dominant channel given by the equation (5) can be expressed as the following equation (8) using a level ratio (a level difference) k between the L channel and the R channel:
In Equation (8), PD represents the energy of the dominant channel signal, and PND represents the energy of the non-dominant channel signal. The level difference k=(PD/PND). In addition, AD is the energy of the environmental sound component. In equation (8), the L channel signal energy PXL and the R channel signal energy PXR that appear in equation (4) are replaced by the dominant channel signal energy PD and the non-dominant channel signal energy PND.
That is, the adaptive mixing unit 141 uses an inter-channel correlation α between the L channel and the R channel and the level difference k between the L channel and the R channel and calculates the environmental sound component energy ratio AEND of the non-dominant channel. That is, as can be seen from equation (8), the environmental sound component energy ratio AEND of the non-dominant channel can be expressed as a function of the level difference k between the channels and the correlation coefficient α.
For example,
However, as described above, when α=0 or 1, the energy ratio AEND is 1 or 0 regardless of the level difference. Accordingly, as illustrated in
At this time, under the above-described assumption that the environmental sound component is common to the channels, the level of the principal component signal, such as a speech/audio signal, of the dominant channel increases with increasing level difference k between the channels, as compared with the level of the principal component signal, such as a speech/audio signal, of the non-dominant channel. That is, the reliability of the coding mode determined using the dominant channel signal increases with increasing level difference k between the channels, as compared with the reliability of the coding mode determined using the non-dominant channel signal.
Accordingly, weighting is performed such that the dominant channel is more prioritized (emphasized) over the non-dominant channel by increasing the weighting coefficient W1 and decreasing the weighting coefficient W2 with increasing level difference k between the channels. Thus, the encoder 100 can appropriately select a common coding mode by using the analysis parameter of the dominant channel having high reliability when determining the common coding mode. As a result, deterioration of the sound quality at the time of stereo reproduction can be reduced.
As described above, according to the present embodiment, the encoder 100 commonalizes the coding mode used for encoding each of the channel signals if there is an inter-channel correlation for the stereo signal. In this manner, even when the subjective quality of the decoded signal deteriorates under the condition that different coding modes are selected for the two channels of the stereo signal, the encoder 100 can prevent the deterioration of the subjective quality of the decoded signal by performing encoding using the common coding mode for the two channels of the stereo signal.
In addition, when selecting a common coding mode, the encoder 100 adjusts the weights assigned to the dominant channel and non-dominant channel on the basis of the environmental sound component energy ratio of the non-dominant channel (the correlation coefficient α and the level difference between the channels) and mixes the analysis parameters. More specifically, the encoder 100 preferentially uses the analysis parameter of the channel having a low environmental sound component energy ratio (the dominant channel) and adjusts the degree of enhancement of the analysis parameter of each of the channels (the weighting coefficient of each of the channels) in accordance with the environmental sound component energy ratio of the non-dominant channel. In this manner, the encoder 100 can appropriately select a common coding mode in consideration of the reliability of the coding mode determined using the analysis parameter of the non-dominant channel.
As a result, according to the present embodiment, even when performing, by using a multi-mode codec, dual mono encoding on a stereo signal having a difference in the environmental sound component energy ratio between the channels, each of the channel signals can be encoded by using an appropriate coding mode and, thus, deterioration of the sound quality during stereo reproduction can be reduced.
According to the above-described embodiment, it is assumed that to calculate the environmental sound component energy ratio AEND of the non-dominant channel given by Equation (5), the energy (the power) per frequency unit (for example, frequency bin unit) is used.
In contrast, according to Modification 1, the adaptive mixing unit 141 may use PND, PXL, and PXR for each of the sub-bands and calculate the environmental sound component energy ratio AEND of the non-dominant channel for each of the sub-bands by using the following equation (9), instead of using equation (5):
In equation (9), i represents a sub-band index. For example, i=1 to Nbands (Nbands: the total number of sub-bands).
Thereafter, the adaptive mixing unit 141 can calculate the weighting coefficient for the analysis parameter of each of the dominant channel and the non-dominant channel by using equation (7) and the following equation (10):
That is, according to Modification 1, the adaptive mixing unit 141 obtains a weighting coefficient from the sum of energy ratios AEND calculated for all of the sub-bands.
Note that calculation of the energy (PND, PXL, PXR) of the channel signal for each of the sub-band may be performed in a process other than the analysis parameter mixing process in the coding mode determination (for example, the signal analysis process). In this case, the adaptive mixing unit 141 can calculate the weighting coefficient by using the energy (PND, PXL, PXR) of the channel signal obtained in other processing. That is, the adaptive mixing unit 141 need not calculate the channel signal energy (PND, PXL, PXR) again to calculate the weighting coefficient. As a result, according to Modification 1, the amount of calculation for obtaining the weighting coefficient can be reduced.
According to Modification 2, unlike Modification 1, the adaptive mixing unit 141 calculates the environmental sound component energy ratio AEND of the non-dominant channel for each of the sub-bands by using the correlation coefficient α in addition to PND, PXL, PXR for each of the sub-bands as follows:
Thereafter, like Modification 1, the adaptive mixing unit 141 can calculate the weighting coefficient for the analysis parameter of each of the dominant channel and the non-dominant channel by using equation (10) and equation (7).
That is, according to Modification 2, the adaptive mixing unit 141 obtains a weighting coefficient from the sum of energy ratios AEND calculated for all of the sub-bands. As a result, like Modification 1, the adaptive mixing unit 141 uses the channel signal energy (PND, PXL, PXR) obtained in other processes and, thus, need not calculate the channel signal energy (PND, PXL, PXR) to calculate the weighting coefficients. For this reason, according to Modification 2, the amount of calculation for obtaining the weighting coefficients can be reduced.
In Modifications 1 and 2, the case has been described in which the weighting coefficient is calculated from the average value of the energy ratios AEND calculated for all of the sub-bands. However, the weighting coefficients may also be calculated for each of the sub-bands. For example, if the encoder 100 supports a codec that switches the coding mode for each of the sub-bands, a coding mode for each of the sub-bands can be appropriately selected on the basis of the energy ratio AEND calculated for the sub-band.
If the determination result (the selection result) of the coding mode is frequently switched between frames, the subjective quality of the decoded signal may deteriorate. Therefore, according to the present embodiment, a method is described for preventing frequent switching of the coding mode determination result between frames.
[Configuration of Encoder]
An encoder according to the present embodiment has the same basic configuration as the encoder 100 according to the first embodiment and, thus, is described with reference to
Note that the same reference numerals are used in
Furthermore, according to the present embodiment, in addition to performing the processes of the first embodiment, the signal analysis unit 101 (the Lch signal analysis unit) outputs, to the determination correction unit 151, an Lch coding mode determination result (Left channel coding mode decision) indicating the coding mode determined on the basis of the Lch analysis parameter (refer to, for example,
In the DMA stereo encoding unit 150, the determination correction unit 151 determines whether the coding mode determination result input from the coding mode selection unit 142 is to be corrected on the basis of the coding mode applied to the previous frame and the Lch coding mode determination result and the Rch coding mode determination result input from the signal analysis unit 101.
As used herein, the coding mode input to the determination correction unit 151 is referred to as “decision 1”, and the coding mode output from the determination correction unit 151 is referred to as “decision 2”.
If the determination correction unit 151 determines that correction of the coding mode determination result is not needed, the determination correction unit 151 outputs the coding mode determination result to the Lch encoding unit 143 and the Rch encoding unit 144 without any correction. However, if the determination correction unit 151 determines that correction of the coding mode determination result is needed, the determination correction unit 151 corrects the coding mode determination result and outputs the corrected coding mode determination result to each of the Lch encoding unit 143 and the Rch encoding unit 144.
In
If the coding mode determination result (decision 1) is the same as the coding mode of the previous frame (ST151: Yes), the determination correction unit 151 completes the processing without performing the correction process on the coding mode determination result (decision 1) (ST152).
However, if the coding mode determination result (decision 1) is not the same as the coding mode of the previous frame (ST151: No), the determination correction unit 151 determines whether the coding mode used in the previous frame (for example, the immediately previous frame) is the same as one of the Lch coding mode determination result of the current frame and the Rch coding mode determination result of the current frame (ST153).
If, in ST153, the coding mode used in the previous frame is not the same as the Lch coding mode determination result of the current frame or the Rch coding mode determination result of the current frame (ST153: No), the determination correction unit 151 completes the processing without performing the correction process on the coding mode determination result (decision 1) (ST152).
However, if the coding mode of the previous frame is the same as the Lch coding mode determination result of the current frame or the Rch coding mode determination result of the current frame (ST153: Yes), the determination correction unit 151 performs a correction process (a smoothing process) on the coding mode determination result (decision 1) by using the coding mode determination result of the current frame and the coding mode of the previous frame (ST154).
That is, if the common coding mode (decision 1) selected for the current frame differs from the common coding mode selected for the previous frame and if the common coding mode selected for the previous frame is the same as the Lch coding mode determination result of the current frame or the Rch coding mode determination result of the current frame, the determination correction unit 151 reselects (corrects) the common coding mode for the current frame.
For example, the determination correction unit 151 corrects the analysis parameter MP used in the decision-1 determination process by using the following equation (12):
[Formula 12]
M
p
=WM
P
[−1]+(1−W)Mp (12).
In equation (12), MP[−1] indicates an analysis parameter Mp of the immediately previous frame (the previous frame), and W indicates a smoothing coefficient. For example, setting may be made so that W=0.8. Note that the value of the smoothing coefficient W is not limited to 0.8. In addition, the previous frame to be subjected to the smoothing process is not limited to the immediately previous frame as indicated by equation (12). For example, the smoothing process may be performed on a plurality of previous frames.
After the smoothing process is completed, the determination correction unit 151 performs reselection (redetermination) of the coding mode by using the corrected analysis parameter Mp (ST155). Note that a method for selecting the coding mode at the time of reselecting the coding mode may be the same as that performed by the coding mode selection unit 142.
In this manner, the analysis parameter Mp is smoothened over the immediately previous frame and the current frame. In addition, as indicated by equation (12), the corrected analysis parameter Mp is more influenced by the analysis parameter Mp[−1] of the previous frame with increasing smoothing coefficient W. That is, in reselection of the coding mode based on the corrected analysis parameter Mp, the coding mode used in the previous frame is more frequently selected with increasing smoothing coefficient W.
In this way, according to the present embodiment, frequent switching of the determination result (selection result) of a coding mode between frames can be prevented. As a result, deterioration of the subjective quality of a decoded signal can be prevented.
Note that the same reference numerals are used in
In the encoder 200, an inter-channel correlation calculation unit 201 selects, from among DM stereo encoding, DMA stereo encoding, and added M/S stereo encoding, one of the stereo encoding modes on the basis of the calculated inter-channel correlation (the correlation coefficient α). The inter-channel correlation calculation unit 201 outputs a stereo mode decision flag indicating the selection result to the DM-M/S conversion unit 202, a selector switch 203, and the multiplexing unit 106.
For example, as illustrated in
That is, if the inter-channel correlation is high (α: High; in this example, 0.6<α), the M/S stereo coding is selected. If the inter-channel correlation is low (α=0), the DM stereo coding is selected. If the inter-channel correlation does not fall within any of the above ranges (α: Weak; in this example, 0<α≤0.6), the DMA stereo coding is selected.
Note that the ranges of the correlation coefficient α illustrated in
If the stereo mode decision flag input from the inter-channel correlation calculation unit 201 indicates the M/S stereo encoding, the DM-M/S conversion unit 202 converts the L/R channel signal into an M/S signal as described below. Thereafter, the DM-M/S conversion unit 202 outputs the M/S signal to the signal analysis unit 101 and the selector switch 203. If the stereo mode decision flag indicates the DM stereo coding mode or the DMA stereo coding mode, the DM-M/S conversion unit 202 directly outputs the L/R channel signal to the signal analysis unit 101 and the selector switch 203.
If the stereo mode decision flag input from the inter-channel correlation calculation unit 201 indicates the M/S stereo coding mode, the selector switch 203 outputs the input L channel signal and R channel signal and the analysis parameters to the M/S stereo encoding unit 204 in addition to performing the operation of the first embodiment (the selector switch 103).
The M/S stereo encoding unit 204 performs M/S stereo encoding by using the L/R sum signal, the L/R difference signal, and the analysis parameters for each of the signals, which are input from the selector switch 203. When the M/S stereo coding is performed, the L channel signal and R channel signal of the stereo signal are converted into a Mid channel, which is the sum of the two channels, and a Side channel, which is the difference between the two channels in the DM-M/S conversion unit 202. For more information about the M/S stereo coding, the technique described in NPL 2 may be employed, for example.
If the inter-channel correlation is high, the M/S stereo coding is more efficient than the DM stereo coding. More specifically, if the inter-channel correlation is high, the side channel, which is the difference between the two channels, has a value close to zero. Consequently, the amount of encoded information can be reduced. However, if the inter-channel correlation is low, the amount of the encoded information can be reduced by the dual mono encoding, as compared with the M/S stereo encoding. In addition, if the inter-channel correlation is high, it is highly likely that the sound source is a single point sound source (e.g., the case where one person is speaking). In such a case, if L and R channel signals are generated by using a monauralized signal (the Mid channel signal) and the Side channel signal, a more stable stereo soundstage can be obtained.
In addition, as described above, in the M/S stereo coding, since the sum and the difference of the two channels are generated as coding information, decoding related units (not illustrated) decode a to-be-decoded signal on the basis of the coding information (the sum and difference) for each of the frames). That is, the sum of the Mid channel signal, which is the sum signal, and the Side channel signal, which is the difference signal, provides the R channel signal, and the difference between the sum signal (the Mid channel signal) and the difference signal (the Side channel signal) provides the L channel signal. That is, even when the coding modes of the Mid channel signal and the Side channel signal differ from each other, both the signals are reflected in each of the L channel and the R channel and, thus, it is not always necessary to apply the same coding mode. That is, if the M/S stereo coding is used, deterioration of the subjective quality of the decoded signal caused by different coding modes between channels can be prevented.
As described above, the encoder 200 switches between the dual mono encoding (DMA stereo encoding or DM stereo encoding) and the M/S stereo encoding in accordance with the inter-channel correlation (the correlation coefficient α). In this manner, the encoder 200 can select an appropriate coding mode and encode a stereo signal in accordance with the inter-channel correlation. As a result, the subjective quality of the decoded signal can be improved. Furthermore, the encoding information can be reduced.
According to the present embodiment, a method for efficiently obtaining the inter-channel correlation (the correlation coefficient α) is described.
The encoder according to the present embodiment has the same basic configuration as that of the encoder 100 according to the first embodiment. For this reason, the encoder is described below with reference to
The correlation coefficient α given by equation (1) described in the first embodiment is written as the following equation (13):
That is, as can be seen from equation (13), the correlation coefficient α is separated into a cross-spectrum component (the numerator term “Cross-Spectrum”) and L and R channel energy components (“Left Channel Energy” and “Right Channel Energy” in the denominator term).
According to the present embodiment, when the correlation coefficient α is calculated, instead of using all of the frequency spectrum parameters (the spectral coefficients) of the L channel and the R channel, the frequency spectrum parameters of some bands are used. In this manner, the amount of calculation of the cross-correlation coefficient α is reduced.
The signal analysis unit 101 employs a configuration including an Lch frequency domain transform unit 111, an Lch spectrum band energy calculation unit 112, an Rch frequency domain transform unit 113, and an Rch spectrum band energy calculation unit 114.
In addition, the inter-channel correlation calculation unit 301 employs a configuration including an energy threshold value calculation unit 311, a main band identifying unit 312, an Lch main band energy calculation unit 313, an Lch main band spectrum acquisition unit 314, an Rch main band energy calculation unit 315, an Rch main band spectrum acquisition unit 316, a cross-spectrum calculation unit 317, and a correlation calculation unit 318.
In the signal analysis unit 101, the Lch frequency domain transform unit 111 performs frequency domain transform on the input L channel signal and outputs Lch frequency spectrum parameters to the Lch spectrum band energy calculation unit 112 and the Lch main band spectrum acquisition unit 314.
The Lch spectrum band energy calculation unit 112 groups the Lch frequency spectrum parameters input from the Lch frequency domain transform unit 111 into a plurality of spectrum bands and calculates the energy of each of the spectrum bands. The Lch spectrum band energy calculation unit 112 outputs the calculated Lch band energy values to the energy threshold value calculation unit 311, the main band identifying unit 312, and the Lch main band energy calculation unit 313.
The Rch frequency domain transform unit 113 performs frequency domain transform on the input R channel signal and outputs the Rch frequency spectrum parameters to the Rch spectrum band energy calculation unit 114 and the Rch main band spectrum acquisition unit 316.
The Rch spectrum band energy calculation unit 114 groups the Rch frequency spectrum parameters input from the Rch frequency domain transform unit 113 into a plurality of spectrum bands and calculates the energy of each of the spectrum bands. The Rch spectrum band energy calculation unit 114 outputs the calculated Rch band energy values to the energy threshold value calculation unit 311, the main band identifying unit 312, and the Rch main band energy calculation unit 315.
Note that it is assumed that the frequency domain transform and spectrum band energy calculation in the signal analysis unit 101 illustrated in
Subsequently, in the inter-channel correlation calculation unit 301, the energy threshold value calculation unit 311 calculates an Lch energy threshold value and an Rch energy threshold value by using the Lch band energy values input from the Lch spectrum band energy calculation unit 112 and the Rch band energy values input from the Rch spectrum band energy calculation unit 114, respectively. The energy threshold value calculation unit 311 outputs the calculated Lch and Rch energy threshold values to the main band identifying unit 312.
The main band identifying unit 312 identifies, as the Lch main band, a spectrum band having an energy value that is one of the energy values input from the Lch spectrum band energy calculation unit 112 and that is greater than the Lch energy threshold value input from the energy threshold value calculation unit 311. Similarly, the main band identifying unit 312 identifies, as the Rch main band, a spectrum band having an energy value that is one of the energy values input from the Rch spectrum band energy calculation unit 114 and that is greater than the Rch energy threshold value input from the energy threshold value calculation unit 311. The main band identifying unit 312 outputs, as a “main band”, the total sum of the identified Lch main band and R main band, that is, a band corresponding to either the Lch main band or the Rch main band to the Lch main band energy calculation unit 313, the Lch main band spectrum acquisition unit 314, the Rch main band energy calculation unit 315, and the Rch main band spectrum acquisition unit 316.
The Lch main band energy calculation unit 313 calculates the sum of the band energy values that are input from the Lch spectrum band energy calculation unit 112 and that correspond to the main band input from the main band identifying unit 312 and outputs, as the Lch main band energy, the sum to the correlation calculation unit 318.
The Lch main band spectrum acquisition unit 314 extracts the Lch frequency spectrum parameter corresponding to the main band input from the main band identifying unit 312 from the Lch frequency spectrum parameters input from the Lch frequency domain transform unit 111 and outputs, as the Lch main band spectrum, the Lch frequency spectrum parameter to the cross-spectrum calculation unit 317.
The Rch main band energy calculation unit 315 calculates the sum of the band energy values that are input from the Rch spectrum band energy calculation unit 114 and that correspond to the main band input from the main band identifying unit 312 and outputs, as the Rch main band energy, the sum to the correlation calculation unit 318.
The Rch main band spectrum acquisition unit 316 extracts the Rch frequency spectrum parameter corresponding to the main band input from the main band identifying unit 312 from the Rch frequency spectrum parameters input from the Rch frequency domain transform unit 113 and outputs, as the Rch main band spectrum, the Rch frequency spectrum parameter to the cross-spectrum calculation unit 317.
The cross-spectrum calculation unit 317 uses the Lch main band spectrum input from the Lch main band spectrum acquisition unit 314 and the Rch main band spectrum input from the Rch main band spectrum acquisition unit 316 to calculate a cross-spectrum (the numerator term of equation (13)). The cross-spectrum calculation unit 317 outputs the calculated cross-spectrum to the correlation calculation unit 318.
The correlation calculation unit 318 uses the Lch main band energy input from the Lch main band energy calculation unit 313 and the Rch main band energy input from the Rch main band energy calculation unit 315 to calculate the energy values of the L channel and the R channel (the denominator term of equation (13)). Thereafter, the correlation calculation unit 318 uses the calculated energy values (the denominator term of equation (13)) and the cross-spectrum (the numerator term of equation (13)) input from the cross-spectrum calculation unit 317 to calculate the inter-channel correlation (the cross-correlation coefficient α in equation (13)).
As illustrated in
The energy threshold value calculation unit 311 calculates an Lch energy threshold value l− by using the Lch band energy Lbandend(kb). For example, the energy threshold value calculation unit 311 may define the Lch energy threshold value l− by using the average value of the Lch band energy Lbandend(kb) or by using the average value and standard deviation of the Lch band energy Lbandend(kb) as described in NPL 1.
For example, when using an average Avgene of band energy values and a standard deviation σbandene, an energy threshold value thr is given by the following equation (14):
[Formula 14]
thr=Avgene+σband
In addition, the average Avgene of band energy is given by the following equation (15):
Subsequently, as the main band, the main band identifying unit 312 identifies, among the bands kb (kb=0 to (Nbands−1)), a band having an Lch band energy Lbandend(kb) greater than the Lch energy threshold l−. In
Subsequently, the Lch main band energy calculation unit 313 calculates the sum of the band energy values of the main bands lidx as Lch energy (Left channel energy). Since the Lch band energy Lbandend(kb) has already been calculated by the signal analysis unit 101, the Lch main band energy calculation unit 313 may calculate the total energy of all the bands kb as Lch energy as illustrated in
The Lch main band spectrum acquisition unit 314 acquires, among the Lch frequency spectrum parameters l, the Lch frequency spectrum parameter L(lidx) included in the Lch main band lidx.
The process for Lch has been described above. The process for the R channel signal in the signal analysis unit 101 and the inter-channel correlation calculation unit 301 can be performed in the same manner as in
Thereafter, as illustrated in
Note that idxlen represents the number of bands of the main band (in the example of
Finally, the correlation calculation unit 318 uses the Lch energy (Left channel energy), the Rch energy (Right channel energy), and the cross-spectrum (Cross-Spectrum) to calculate the inter-channel correlation (α) by using equation (13).
As described above, according to the present embodiment, when calculating the inter-channel correlation, the inter-channel correlation calculation unit 301 calculates the inter-channel correlation by using some of the spectrum bands. In addition, the inter-channel correlation calculation unit 301 uses, as some of the spectrum bands, the main bands having band energy greater than the energy threshold value. Thus, the target of the cross-spectrum calculation can be limited to the frequency spectrum parameters of the main bands. In this manner, according to the present embodiment, the amount of calculation can be reduced while maintaining the accuracy of inter-channel correlation.
While the present embodiment has been described with reference to the main band identifying unit 312 that identifies the main band by using the band energy values of both Lch and Rch, a method for identifying the main band is not limited thereto. For example, the main band identifying unit 312 may select a dominant channel out of Lch and Rch and identify the main band of each of Lch and Rch by using the band energy of the selected dominant channel.
The fourth embodiment has been described with reference to the inter-channel correlation calculation unit 301 that uses the frequency spectrum parameters included in the spectrum band (the main band) selected by the main band identifying unit 312 to obtain the inter-channel correlation. In contrast, according to the modification, the case is described in which the main spectral components are further selected from the main bands to obtain the inter-channel correlation.
In
The Lch amplitude threshold value calculation unit 412 calculates the average amplitude by using the amplitude values of the Lch frequency spectrum parameters in the spectrum band that is identified as the main band and that is input from the Lch main band analysis unit 411. The Lch amplitude threshold value calculation unit 412 outputs, as the Lch amplitude threshold value, the calculated average amplitude value to an Lch/Rch main band spectrum acquisition unit 415.
In addition, an Rch main band analysis unit 413 and an Rch amplitude threshold value calculation unit 414 perform, on the Rch, processing the same as the processing performed by the Lch main band analysis unit 411 and the Lch amplitude threshold value calculation unit 412.
The Lch/Rch main band spectrum acquisition unit 415 selects, from among the Lch frequency spectrum parameters input from the Lch frequency domain transform unit 111, one that is included in the main band and that has an amplitude (energy) greater than the Lch amplitude threshold value input from the Lch amplitude threshold value calculation unit 412. In addition, the Lch/Rch main band spectrum acquisition unit 415 selects, from among the Rch frequency spectrum parameters input from the Rch frequency domain transform unit 113, one that is included in the main band and that has an amplitude (energy) greater than the Rch amplitude threshold input from the Rch amplitude threshold value calculation unit 414. Thereafter, the Lch/Rch main band spectrum acquisition unit 415 selects a frequency component for which a frequency spectrum parameter of at least one of Lch and Rch is selected as a frequency component common to Lch and Rch used for correlation calculation. The Lch/Rch main band spectrum acquisition unit 415 outputs the Lch frequency spectrum parameter and the Rch frequency spectrum parameter of the selected frequency component to a correlation calculation unit 417.
The correlation calculation unit 417 uses the Lch frequency spectrum parameter and Rch frequency spectrum parameter input from Lch/Rch main band spectrum acquisition section 415 to calculate a cross-spectrum (the numerator term of equation (13)). At this time, since the frequency spectrum parameters used for the calculation of the cross-spectrum are limited to particularly high energy components in the Lch main band and the Rch main band, the amount of calculation is reduced, as compared with the case of using all of the frequency spectrum parameters in the Lch main band and the Rch main band.
In addition, like the correlation calculation unit 318, the correlation calculation unit 417 further calculates the denominator term of equation (13) and calculates the correlation coefficient α given by equation (13).
In this way, by further limiting the number of spectrum components included in the asserted band identified by the main band identifying unit 312, the amount of calculation of the cross-spectrum can be further reduced.
Modifications 1 and 2 of the present embodiment have been described above.
It should be noted that the method for identifying the main band described in the present embodiment can be applied to various encoding methods for encoding the spectrum parameter. For example, by adapting to parametric stereo coding using the principle of BCC (Binaural Cue Coding) as described in NPL 3, it is possible to reduce the bit rate and the amount of computation. In parametric stereo coding, encoding is performed for each of the spectrum bands by using, as the side information, the parameters such as the inter-channel level difference (ICLD), inter-channel time difference (ICTD), and inter-channel coherence (ICC). At this time, if the ICLD, ICTD, ICC, and the like are calculated by using only the selected spectrum band or spectrum component by using the selection of the spectrum band and the selection of the spectrum component as described in the present embodiment, the amount of calculation required to calculate the side information can be reduced.
The embodiments of the present disclosure have been described above.
While the above embodiments have been described with reference to the example in which the environmental sound component energy ratio AEND of the non-dominant channel is calculated by using, for example, equation (5), a method for calculating the environmental sound component energy ratio AEND of the non-dominant channel is not limited thereto. For example, in equation (5), after identifying the dominant channel and the non-dominant channel, the energy ratio AEND is calculated. However, the encoder 100 may calculate the energy ratio AEND without identifying the dominant channel and the non-dominant channel. More specifically, in this case, the encoder 100 calculate each of the environmental sound component energy ratio of the L channel (denoted as, for example, “AEL”) and the environmental sound component energy ratio of the R channel (denoted as, for example, “AER”). Thereafter, the encoder 100 may calculate a weighting coefficient for the analysis parameter of each of the channels by using the higher one of the energy ratio AEL and the energy ratio AER.
In addition, according to the above embodiments, when calculating the inter-channel energy difference Δ (for example, equation (2)), the long-term average of the channel energy may be used, instead of using the instantaneous value of the channel energy (the channel energy for the current frame), to stable the determination result of the dominant channel. For example, the encoder may determine the dominant channel or obtain the weighting coefficient by obtaining the inter-channel energy difference Δ in accordance with the following equation (16) and using the obtained inter-channel energy difference Δ:
In this way, the encoder can make determination of a dominant channel or acquisition of a weighting coefficient with high accuracy.
In equation (16), N represents the number of frames subjected to long-term average calculation of channel energy, and framenocur represents the current frame index. That is, (framenocur−m) represents a frame m frames before the current frame.
Moreover, the above-described embodiments may be combined and applied. For example, the encoder 200 according to the third embodiment (
Moreover, while the above embodiments have been described with reference to the case where ACELP, TCX, HQ MDCT, GSC, or the like is used as an example of the coding mode, the coding mode is not limited thereto.
Note that the present disclosure can be implemented by software, hardware, or software in cooperation with hardware. Each of the functional blocks used in the description of the above embodiments is partially or entirely implemented in the form of an LSI, which is an integrated circuit, and each of the processes described in the above embodiment may be partially or entirely controlled by a single LSI or a combination of LSIs. The LSI may be configured from individual chips or may be configured from a single chip so as to include some or all of the functional blocks. The LSI may have a data input and a data output. The LSI is also referred to as an “IC”, a “system LSI”, a “super LSI” or an “ultra LSI” in accordance with the level of integration. In addition, the method for circuit integration is not limited to LSI, and the circuit integration may be achieved by dedicated circuitry, a general-purpose processor, or a dedicated processor. Alternatively, an FPGA (Field Programmable Gate Array), which is programmable after fabrication of the LSI, or a reconfigurable processor which allows reconfiguration of connections and settings of circuit cells in LSI may be used. The present disclosure may be implemented as digital processing or analog processing. Moreover, should a circuit integration technology replacing LSI appear as a result of advancements in semiconductor technology or other technologies derived from the technology, the functional blocks could be integrated using such a technology. Another possibility is the application of biotechnology, for example.
According to the present disclosure, an encoder includes a signal analysis circuit that performs signal analysis on a left channel signal and a right channel signal that constitute a stereo signal and generates a parameter used to determine a coding mode for each of a left channel and a right channel, and an encoding circuit that encodes the left channel signal and the right channel signal by using a coding mode common to the left channel signal and the right channel signal. The encoding circuit determines the common coding mode by selecting, out of the left channel and the right channel, the one that has a lower ratio of energy of an environmental sound component to the entire energy of the channel and using the parameter of the selected channel.
According to the encoder of the present disclosure, the encoding circuit identifies a dominant channel and a non-dominant channel for the left channel and the right channel, calculates a first weighting coefficient corresponding to a first parameter used to determine the coding mode of the dominant channel and a second weighting coefficient corresponding to a second parameter used to determine the coding mode of the non-dominant channel on the basis of the ratio for the non-dominant channel, calculates a weighted sum of the first parameter and the second parameter by using the first weighting coefficient and the second weighting coefficient, and selects the common coding mode on the basis of a weighted parameter obtained through the weighted sum calculation.
According to the encoder of the present disclosure, the first weighting coefficient increases, and the second weighting coefficient decreases with increasing ratio for the non-dominant channel.
According to the encoder of the present disclosure, the encoding circuit calculates the ratio by using an inter-channel correlation between the left channel and the right channel and a level difference between the left channel and the right channel.
According to the encoder of the present disclosure, the first weighting coefficient increases, and the second weighting coefficient decreases with decreasing inter-channel correlation.
According to the encoder of the present disclosure, the first weighting coefficient increases, and the second weighting coefficient decreases with increasing level difference with respect to the same inter-channel correlation.
According to the present disclosure, an encoding method includes performing signal analysis on a left channel signal and a right channel signal that constitute a stereo signal and generating a parameter used to determine a coding mode for each of a left channel and a right channel, encoding the left channel signal and the right channel signal by using a coding mode common to the left channel signal and the right channel signal, and determining the common coding mode by selecting, out of the left channel and the right channel, the one that has a lower ratio of energy of an environmental sound component to the entire energy of the channel and using the parameter of the selected channel.
An aspect of the present disclosure is useful for a voice communication system using a multi-mode encoding technique.
Number | Date | Country | Kind |
---|---|---|---|
2017-183360 | Sep 2017 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2018/032309 | 8/31/2018 | WO | 00 |