Audio signal high-frequency compensation method, audio signal post-processing method, audio signal decoding method, their devices, programs, and recording media
By compensating high-frequency energy in stereo decoded sound signals using monaural decoded signals, the method addresses the incomplete utilization of sound signal components, enhancing sound quality and fidelity.
Patent Information
- Application Number
- JP2022560578
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-11-05
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-11-05
AI Technical Summary
Existing techniques for encoding and decoding sound signals fail to utilize information from monaural codes when stereo decoding is performed independently, leading to incomplete utilization of sound signal components.
The method involves compensating high-frequency energy in stereo decoded sound signals using monaural decoded sound signals, adjusting the high-frequency compensation gain based on the number of bits in both monaural and stereo codes to improve the quality of the decoded stereo signal.
This approach enhances the decoded sound signal by incorporating information from monaural codes, resulting in improved sound quality and fidelity.
Smart Images

Figure 0007544139000077 
Figure 0007544139000068 
Figure 0007544139000076
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for post-processing an audio signal obtained by decoding a code. [Background technology]
[0002] A technology for encoding / decoding a stereo sound signal by efficiently using a monaural code and a stereo code is disclosed in Patent Document 1. Patent Document 1 discloses a scalable encoding / decoding method in which a monaural code representing a monaural signal and a stereo code representing a difference between a stereo signal and the monaural signal are obtained on the encoding side, and a decoding process corresponding to the encoding side is performed on the decoding side to obtain a monaural decoded sound signal and a stereo decoded sound signal (see Figs. 7 and 8). A technique for encoding, transmitting, and decoding an audio signal between terminals connected to two lines with different priorities is disclosed in Patent Document 2. Patent Document 2 discloses a technique for including a code for ensuring a minimum quality in a high-priority packet for transmission, and including other codes in a low-priority packet for transmission (see FIG. 1, etc.). When the scalable encoding / decoding method of Patent Document 1 is used in the system of Patent Document 2, the transmitting side may include a monaural code in a high priority packet and a stereo code in a low priority packet. In this way, the receiving side can obtain a monaural decoded sound signal using only the monaural code when only high priority packets have arrived, and can obtain a stereo decoded sound signal using both the monaural code and the stereo code when low priority packets have arrived in addition to high priority packets. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] International Publication No. 2006 / 070751 [Patent Document 2] JP 2005-117132 A Summary of the Invention [Problem to be solved by the invention]
[0004] When communication is performed between terminals connected to two lines with different priorities, a case is assumed in which a monaural coding / decoding method and a stereo coding / decoding method that are independent of each other are used instead of the scalable coding / decoding method. Also, a case is assumed in which a monaural coding / decoding method and a stereo coding / decoding method that are independent of each other are used on one line with the same priority. In these cases, the receiving side uses only the stereo code to obtain a stereo decoded audio signal, regardless of whether or not the monaural code arrives in addition to the stereo code. That is, in a case in which the receiving side performs stereo decoding independent of the monaural decoding, even if the independent monaural code and stereo code derived from the same audio signal are input, there is a problem in that information contained in the monaural code is not utilized in the process of obtaining a stereo audio signal output by the receiving side device. Therefore, an object of the present invention is to improve a decoded sound signal by using an audio signal obtained from a different code, which is a code different from the code used to obtain the decoded sound signal and is derived from the same sound signal. [Means for solving the problem]
[0005] For each frame, the n-th channel decoded sound signal ^X n (n is an integer between 1 and N) and the nth channel refined decoded sound signal ∼X obtained by performing time domain signal processing on n The n-th channel compensated decoded signal ∼X' is a signal obtained by compensating for the high frequency range of n In this case, for each channel, the number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS is obtained for each frame. n However, the number of bits of the mono code CM, which is different from the stereo code CS, is b M If it is greater than , the n-th channel decoded sound signal ^X nSelect the bit number b n is the number of bits b M If it is smaller than , the monaural decoded sound signal ^X obtained by decoding the monaural code CM is M Or the monaural decoded sound signal ^X M The n-th channel upmixed mono decoded sound signal ^X Mn For each channel, the n-th channel concealed decoded sound signal ∼X' is selected for each frame. n The high frequency energy of the nth channel decoded sound signal ^X n The nth channel high-frequency compensation gain ρ n For each channel, the n-th channel refined decoded sound signal ∼X is obtained for each frame. n and the selected signal, the nth channel selection signal ^X Sn The nth channel high-frequency compensation gain ρ n The signal multiplied by and the signal added by are treated as the n-th channel concealed decoded sound signal ∼X' n and output it as: Effect of the Invention
[0006] According to the present invention, when there is an audio signal obtained from a different code, which is a code different from the code from which a decoded audio signal is obtained and which is derived from the same audio signal, the decoded audio signal can be improved by using the audio signal obtained from the different code. [Brief description of the drawings]
[0007] [Figure 1] FIG. 11 is a block diagram showing an example of a sound signal refining device 1101. [Diagram 2] 11 is a flowchart showing an example of processing by the sound signal refining device 1101. [Diagram 3] 11 is a flowchart showing an example of the processing of an n-th channel refinement weight estimation unit 1111-n. [Figure 4] 11 is a flowchart showing an example of the processing of an n-th channel refinement weight estimation unit 1111-n. [Diagram 5]FIG. 11 is a block diagram showing an example of a sound signal refining device 1102. [Figure 6] 11 is a flowchart showing an example of processing of the sound signal refining device 1102. [Figure 7] FIG. 11 is a block diagram showing an example of a sound signal refining device 1103. [Figure 8] 11 is a flowchart showing an example of processing by the sound signal refining device 1103. [Figure 9] FIG. 12 is a block diagram showing an example of a sound signal refining device 1201. [Figure 10] 12 is a flowchart showing an example of processing by the sound signal refining device 1201. [Figure 11] FIG. 12 is a block diagram showing an example of a sound signal refining device 1202. [Figure 12] 13 is a flowchart showing an example of processing of the sound signal refining device 1202. [Figure 13] FIG. 12 is a block diagram showing an example of a sound signal refining device 1203. [Figure 14] 13 is a flowchart showing an example of processing by the sound signal refining device 1203. [Figure 15] FIG. 13 is a block diagram showing an example of a sound signal refining device 1301. [Figure 16] 13 is a flowchart showing an example of processing of the sound signal refining device 1301. [Figure 17] FIG. 13 is a block diagram showing an example of a sound signal refining device 1302. [Figure 18] 13 is a flowchart showing an example of processing of the sound signal refining device 1302. [Figure 19] FIG. 2 is a block diagram showing an example of a sound signal high frequency compensation device 201. [Figure 20] 4 is a flowchart showing an example of the processing of the sound signal high frequency compensation device 201 / 202. [Figure 21] FIG. 2 is a block diagram showing an example of a sound signal high frequency compensation device 202. [Figure 22] FIG. 2 is a block diagram showing an example of a sound signal high frequency compensation device 203. [Figure 23] 11 is a flowchart showing an example of the process of the sound signal high frequency compensation device 203. [Figure 24]FIG. 3 is a block diagram showing an example of a sound signal post-processing device 301. [Diagram 25] 4 is a flowchart showing an example of processing by the sound signal post-processing device 301. [Figure 26] FIG. 3 is a block diagram showing an example of a sound signal post-processing device 302. [Figure 27] 11 is a flowchart showing an example of processing by the sound signal post-processing device 302. [Figure 28] FIG. 6 is a block diagram showing an example of a sound signal decoding device 601. [Figure 29] 11 is a flowchart showing an example of processing performed by the sound signal decoding device 601. [Diagram 30] FIG. 6 is a block diagram showing an example of a sound signal decoding device 602. [Diagram 31] 11 is a flowchart showing an example of processing performed by the sound signal decoding device 602. [Diagram 32] FIG. 5 is a block diagram showing an example of an encoding device 500 and a decoding device 600. [Diagram 33] FIG. 2 is a diagram illustrating an example of a functional configuration of a computer that realizes each device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Before describing each embodiment, the notation used in this specification will be described. The superscripts "^" and "~" such as ^x and ~x for a certain letter x should actually be written directly above the "x", but due to the constraints of the description in the specification, they are written as ^x and ~x.
[0009] <Encoding device and decoding device to which the invention is applied> Before describing each embodiment, an encoding device and a decoding device to which the present invention is applied will be described using an example in which the number of stereo channels is two.
[0010] ≪Encoding device 500≫ The encoding device 500 to which the present invention is applied includes a downmix unit 510, a monaural encoding unit 520, and a stereo encoding unit 530, as illustrated in FIG. 32. The encoding device 500 encodes an input two-channel stereo time domain sound signal in units of frames having a predetermined time length, for example, 20 ms, to obtain and output a monaural code CM and a stereo code CS, which will be described later. The two-channel stereo time domain sound signal input to the encoding device is, for example, a digital voice signal or audio signal obtained by collecting sounds such as voice or music with two microphones and performing AD conversion, and is composed of a first channel input sound signal, which is an input sound signal for the left channel, and a second channel input sound signal, which is an input sound signal for the right channel. The monaural code CM and the stereo code CS, which are codes output by the encoding device 500, are input to the decoding device 600. In the encoding device 500, the above-mentioned units perform the following processes for each frame. For example, the frame length is 20 ms, and the sampling frequency is 32 kHz. If the number of samples per frame is T, in this example, T is 640.
[0011] [Downmix section 510] The downmix unit 510 receives the first channel input sound signal and the second channel input sound signal input to the encoding device 500. The downmix unit 510 obtains and outputs a downmix signal, which is a signal obtained by mixing the first channel input sound signal and the second channel input sound signal, from the first channel input sound signal and the second channel input sound signal. The downmix unit 510 obtains the downmix signal by, for example, the following first method or second method.
[0012] [[First method for obtaining the downmix signal]] In the first method, the downmix unit 510 converts a sequence of average values of corresponding samples of a first channel input sound signal X1={x1(1), x1(2), ..., x1(T)} and a second channel input sound signal X2={x2(1), x2(2), ..., x2(T)} into a downmix signal X M ={x M (1), x M (2), ..., xM (T)} (step S510A). That is, if each sample number (index of each sample) is t, then x M (t) = (x1(t) + x2(t)) / 2.
[0013] [[Second method for obtaining the downmix signal]] In the second method, the downmixer 510 performs the following steps S510B-1 to S510B-3.
[0014] The downmix unit 510 first obtains an inter-channel time difference τ from the first channel input sound signal and the second channel input sound signal (step S510B-1). The inter-channel time difference τ is information indicating how far in advance the same sound signal is included in either the first channel input sound signal or the second channel input sound signal. The downmix unit 510 may obtain the inter-channel time difference τ by any known method, for example, the method exemplified by the inter-channel relationship information estimation unit 1132 described later in the second embodiment. When the downmix unit 510 uses the method exemplified by the inter-channel relationship information estimation unit 1132 described later in the second embodiment, the inter-channel time difference τ becomes a positive value when the same sound signal is included in the first channel input sound signal earlier than the second channel input sound signal, and the inter-channel time difference τ becomes a negative value when the same sound signal is included in the second channel input sound signal earlier than the first channel input sound signal.
[0015] The downmix unit 510 then obtains, as an inter-channel correlation coefficient γ, a correlation value between a sample sequence of the first channel input sound signal and a sample sequence of the second channel input sound signal that is shifted backward from the first channel input sound signal by the inter-channel time difference τ (step S510B-2).
[0016] The downmix unit 510 then generates the downmix signal X M ={x M (1), x M (2), ..., x MThe downmix unit 510 performs weighted averaging of the first channel input sound signal X1={x1(1), x1(2), ..., x1(T)} and the second channel input sound signal X2={x2(1), x2(2), ..., x2(T)} so that the input sound signal of the preceding channel among the first channel input sound signal X1={x1(1), x1(2), ..., x1(T)} and the second channel input sound signal X2={x2(1), x2(2), ..., x2(T)} is included to a greater extent as the inter-channel correlation coefficient γ increases, and outputs the downmix signal (step S510B-3). For example, the downmix unit 510 performs weighted addition of the first channel input sound signal x1(t) and the second channel input sound signal x2(t) for each corresponding sample number t using a weight determined by the inter-channel correlation coefficient γ, and outputs the result as the downmix signal x M Specifically, when the inter-channel time difference τ is a positive value, that is, when the first channel is ahead, the downmix unit 510 sets x M (t) = ((1 + γ) / 2) × x1(t) + ((1 - γ) / 2) × x2(t). If the inter-channel time difference τ is a negative value, i.e., if the second channel is leading, then x M (t) = ((1-γ) / 2) × x1(t) + ((1+γ) / 2) × x2(t) is the downmix signal x M When the inter-channel time difference τ is 0, that is, when none of the channels are leading, the downmix unit 510 obtains x(t) by averaging the first channel input sound signal x1(t) and the second channel input sound signal x2(t) for each sample number t. M (t) = (x1(t) + x2(t)) / 2 is the downmix signal x M It can be written as (t).
[0017] [Monaural Encoding Unit 520] The downmix signal output by the downmix unit 510 is input to the monaural encoding unit 520. The monaural encoding unit 520 encodes the input downmix signal in a predetermined encoding format. M The downmix signal X of the input T samples is encoded into a mono signal CM and output. M ={x M (1), xM (2), ..., x M (T)} to b M The 1-bit monaural code CM is obtained and output. Any encoding method may be used, for example, an encoding method according to the 3GPP EVS standard may be used.
[0018] [Stereo encoding unit 530] The first channel input sound signal and the second channel input sound signal input to the encoding device 500 are input to the stereo encoding unit 530. The stereo encoding unit 530 encodes the first channel input sound signal and the second channel input sound signal into a sum b s The stereo code CS is obtained and output by encoding it with 1 bit. That is, the first channel input sound signal X1 = {x1(1), x1(2), ..., x1(T)} of T samples and the second channel input sound signal X2 = {x2(1), x2(2), ..., x2(T)} of T samples are encoded into a total of b S A 1-bit stereo code CS is obtained and output. Any encoding method may be used, for example, a stereo encoding method corresponding to the stereo decoding method of the MPEG-4 AAC standard may be used, or an encoding method for independently encoding the input first channel input sound signal and the input second channel input sound signal may be used. Regardless of the encoding method used, the combination of all the codes obtained by encoding may be used as the stereo code CS.
[0019] Since the monaural code CM is a code obtained by the monaural encoding unit 520 as described above, and the stereo code CS is a code obtained by the stereo encoding unit 530 as described above, the monaural code CM and the stereo code CS are different codes that do not contain overlapping codes. That is, the monaural code CM is a different code from the stereo code CS, and the stereo code CS is a different code from the monaural code CM.
[0020] <Decryption device 600> The decoding device 600 to which the present invention is applied includes a monaural decoding unit 610 and a stereo decoding unit 620, as illustrated in Fig. 32. The decoding device 600 decodes the input monaural code CM in frame units of the same time length as the corresponding encoding device 500 to obtain and output a monaural decoded sound signal that is a monaural time-domain decoded sound signal, and decodes the input stereo code CS to obtain and output a first channel decoded sound signal and a second channel decoded sound signal that are two-channel stereo time-domain decoded sound signals. In the decoding device 600, the above-mentioned respective units perform the following process for each frame.
[0021] [Monaural Decoding Unit 610] The monaural code CM input to the decoding device 600 is input to the monaural decoding unit 610. The monaural decoding unit 610 decodes the monaural code CM using a predetermined decoding method to generate a monaural decoded sound signal ^X M ={^x M (1), ^x M (2), ..., ^x M That is, the monaural decoding unit 610 decodes the monaural code CM, which is a code different from the stereo code CS, without using the stereo code CS or the information obtained by decoding the stereo code CS, and outputs the monaural decoded sound signal ^X M As the predetermined decoding method, a decoding method corresponding to the encoding method used in the monaural encoding unit 520 of the corresponding encoding device 500 is used. The number of bits of the monaural code CM is b M It is.
[0022] [Stereo Decoding Unit 620] The stereo code CS input to the decoding device 600 is input to the stereo decoding unit 620. The stereo decoding unit 620 decodes the stereo code CS using a predetermined decoding method to obtain and output a first channel decoded sound signal ^X1={^x1(1), ^x1(2), ..., ^x1(T)} which is a decoded sound signal for the left channel and a second channel decoded sound signal ^X2={^x2(1), ^x2(2), ..., ^x2(T)} which is a decoded sound signal for the right channel. That is, the stereo decoding unit 620 decodes the stereo code CS, which is a code different from the monaural code CM, without using the information obtained by decoding the monaural code CM or the monaural code CM, to obtain the first channel decoded sound signal ^X1 and the second channel decoded sound signal ^X2. As the predetermined decoding method, a decoding method corresponding to the encoding method used in the stereo encoding unit 530 of the corresponding encoding device 500 is used. The total number of bits of the stereo code CS is b S It is.
[0023] Since the encoding device 500 and the decoding device 600 operate as described above, the monaural code CM is a code derived from the same sound signal as the sound signal from which the stereo code CS is derived (i.e., the first channel input sound signal X1 and the second channel input sound signal X2 input to the encoding device 500), but is a code different from the code from which the first channel decoded sound signal ^X1 and the second channel decoded sound signal ^X2 are obtained (i.e., the stereo code CS).
[0024] First Embodiment The sound signal refining device of the first embodiment improves the decoded sound signals of each stereo channel by using a monaural decoded sound signal obtained from a code different from the code from which the decoded sound signals are obtained. Hereinafter, the sound signal refining device of the first embodiment will be described using an example in which the number of stereo channels is two.
[0025] <Sound signal refining device 1101> 1, the sound signal refining device 1101 of the first embodiment includes a first channel refinement weight estimation unit 1111-1, a first channel signal refinement unit 1121-1, a second channel refinement weight estimation unit 1111-2, and a second channel signal refinement unit 1121-2. The sound signal refining device 1101 obtains and outputs a refined decoded sound signal, which is a sound signal obtained by improving the decoded sound signal of the channel, from a monaural decoded sound signal and the decoded sound signal of the channel, for each frame of a predetermined time length of, for example, 20 ms. The decoded sound signal of each channel input to the sound signal refining device 1101 in frame units is, for example, a refined decoded sound signal b, which is a code different from the monaural code CM, without using information obtained by the stereo decoding unit 620 of the above-mentioned decoding device 600 by decoding the monaural code CM or the monaural code CM. S The first channel decoded sound signal ^X1={^x1(1), ^x1(2), ..., ^x1(T)} of T samples obtained by decoding the 1-bit stereo code CS and the second channel decoded sound signal ^X2={^x2(1), ^x2(2), ..., ^x2(T)} of T samples are obtained. The monaural decoded sound signal input to the sound signal refining device 1101 on a frame-by-frame basis is, for example, a monaural decoding unit 610 of the above-mentioned decoding device 600 that decodes the stereo code CS by decoding a code b different from the stereo code CS without using the stereo code CS or the information obtained by decoding the stereo code CS. M A monaural decoded sound signal ^X of T samples obtained by decoding the 1-bit monaural code CM. M ={^x M (1), ^x M (2), ..., ^x M(T)}. The monaural code CM is derived from the same sound signal as the sound signal from which the stereo code CS is derived (i.e., the first channel input sound signal X1 and the second channel input sound signal X2 input to the encoding device 500), but is a different code from the code from which the first channel decoded sound signal ^X1 and the second channel decoded sound signal ^X2 are obtained (i.e., the stereo code CS). If the channel number n (channel index n) of the first channel is 1 and the channel number n of the second channel is 2, the sound signal refining device 1101 performs steps S1111-n and S1121-n illustrated in FIG. 2 for each frame for each channel. That is, hereinafter, unless otherwise specified, each unit / step with "-n" attached corresponds to each channel, and specifically, each unit / step for the first channel with "-1" attached instead of "-n" and each unit / step for the second channel with "-2" attached instead of "-n" exist. Similarly, hereinafter, unless otherwise specified, when an "n" is added to the suffix, it indicates that there is a corresponding one for each channel number. Specifically, there is a "1" instead of "n" that corresponds to the first channel, and a "2" instead of "n" that corresponds to the second channel.
[0026] [n-th channel refinement weight estimation unit 1111-n] The n-th channel refinement weight estimation unit 1111-n estimates the n-th channel refinement weight α n The n-th channel refinement weight estimation unit 1111-n obtains and outputs the n-th channel refinement weight α by a method based on the principle of minimizing the quantization error, which will be described later. n The principle of minimizing the quantization error and a method based on this principle will be described later. In the n-th channel refinement weight estimation unit 1111-n, as shown by the dashed line in FIG. 1, the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} and the monaural decoded sound signal ^X input to the sound signal refinement device 1101M ={^x M (1), ^x M (2), ..., ^x M (T)} is input. The n-th channel refinement weight α n is a value between 0 and 1. Note that the n-th channel refinement weight estimation unit 1111-n estimates the n-th channel refinement weight α n Therefore, the n-th channel refinement weight α n never becomes 0 or 1. That is, the n-th channel refinement weight α n There are frames in which the n-th channel refinement weight α is greater than 0 and less than 1. In other words, in at least some of all frames, n is a value greater than 0 and less than 1.
[0027] [nth channel signal purification unit 1121-n] The n-th channel signal refinement unit 1121-n receives the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} and the monaural decoded sound signal ^X input to the sound signal refinement device 1101 M ={^x M (1), ^x M (2), ..., ^x M (T)} and the n-th channel refinement weight α output by the n-th channel refinement weight estimation unit 1111-n. n The n-th channel signal refining unit 1121-n receives the n-th channel refining weight α n and mono decoded sound signal ^X M Sample value of ^x M (t) multiplied by α n ×^x M (t) and the nth channel refinement weight α n The value obtained by subtracting (1-α n ) and the n-th channel decoded sound signal ^X n Sample value of ^x n(t) multiplied by (1-α n )×^x n (t) and the sum of ~x n (t) is the n-th channel refined decoded sound signal ~X n ={~x n (1), ~x n (2), ..., ~x n (T)} and output it (step S1121-n). n (t)=(1-α n )×^x n (t)+α n ×^x M (t).
[0028] [Principle of minimizing quantization error] The principle of minimizing the quantization error will be described below. Depending on the encoding method / decoding method used in the stereo encoding unit 530 and the stereo decoding unit 620, the number of bits used to encode the input sound signal of each channel may not be explicitly determined. In the following, however, the number of bits used to encode the n-th channel input sound signal X n The number of bits used to encode is b n This will be explained as follows.
[0029] The number of bits of the code and the outline of the signal in the processing of each unit of each device described above are as follows. The stereo coding unit 530 of the coding device 500 to which the sound signal refining device 1101 is applied receives the n-th channel input sound signal X n ={x n (1), x n (2), ..., x n (T)} to b n The monaural coding unit 520 of the coding device 500 to which the sound signal refining device 1101 is applied obtains a code of the downmix signal X M ={x M (1), x M (2), ..., x M (T)} to b M The stereo decoding unit 620 of the decoding device 600 to which the sound signal refining device 1101 is applied obtains the code of the b nDecoded sound signal ^X of the nth channel from the bit code n ={^x n (1), ^x n (2), ..., ^x n The monaural decoding unit 610 of the decoding device 600 to which the sound signal refining device 1101 is applied obtains b M From the bit code to the mono decoded sound signal ^X M ={^x M (1), ^x M (2), ..., ^x M The n-th channel signal refinement unit 1121-n of the sound signal refinement device 1101 obtains the n-th channel refinement weight α n and mono decoded sound signal ^X M Sample value of ^x M (t) multiplied by α n ×^x M (t) and the nth channel refinement weight α n The value obtained by subtracting (1-α n ) and the n-th channel decoded sound signal ^X n Sample value of ^x n (t) multiplied by (1-α n )×^x n (t) and the sum of ~x n (t)=(1-α n )×^x n (t)+α n ×^x M (t) is the n-th channel refined decoded sound signal ~X n ={~x n (1), ~x n (2), ..., ~x n The sound signal refinement device 1101 obtains the n-th channel refined decoded sound signal ∼X n should be designed so that the energy of the quantization error is small.
[0030] The energy of the quantization error (hereinafter, for convenience, also referred to as "quantization error caused by encoding") in the decoded signal obtained by encoding and decoding the input signal is roughly proportional to the energy of the input signal in many cases, and tends to become exponentially smaller with respect to the value of the number of bits per sample used for encoding. Therefore, for the n-th channel input sound signal X n The average energy per sample of the quantization error caused by encoding is a positive number σ n 2 The downmix signal X M The average energy per sample of the quantization error caused by encoding is a positive number σ M 2 can be estimated using the following equation (2):
number
number
[0031] Here, let us assume that the n-th channel input sound signal X n ={x n (1), x n (2), ..., x n (T)} and downmix signal X M ={x M (1), x M (2), ..., x M Assume that the sample values of the nth channel input sound signal ^X are close enough to be considered as the same sequence. For example, this condition applies when the first channel input sound signal X1 = {x1(1), x1(2), ..., x1(T)} and the second channel input sound signal X2 = {x2(1), x2(2), ..., x2(T)} are obtained by collecting sounds emitted by a sound source equidistant from two microphones in an environment with little background noise or reverberation. n ={^x n (1), ^x n (2), ..., ^x n(T)} for each sample value (1-α n The energy of the signal obtained by multiplying the downmix signal by (1-α n ) 2 Since it can be expressed as a factor of σ in Eq. (1), n 2 is the above σ M 2 Using (1-α) 2 ×σ M 2 Therefore, the decoded sound signal of the nth channel ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} for each sample value (1-α n ) and the series of values obtained by multiplying n )×^x n (1), (1-α n )×^x n (2), ..., (1-α n )×^x n The average energy per sample of the quantization error of {T} can be estimated as shown in the following equation (3).
number
number
[0032] Assuming that the quantization error caused by encoding the n-th channel input sound signal and the quantization error caused by encoding the downmix signal are not correlated with each other, the n-th channel refined decoded sound signal ∼X n ={~x n (1), ~x n (2), ..., ~x n The average energy per sample of the quantization error of {T} is estimated by the sum of equations (3) and (4). n ={~x n (1), ~x n (2), ..., ~x n (T)} has the n-th channel refinement weight α n can be calculated using the following formula (5).
number
[0033] That is, the n-th channel input sound signal X n ={x n (1), x n (2), ..., x n (T)} and downmix signal X M ={x M (1), x M (2), ..., x M In order to minimize the quantization error of the n-th channel refined decoded sound signal under the condition that the sample values of {T} are close enough to be considered as the same sequence, the n-th channel refinement weight estimator 1111-n estimates the n-th channel refinement weight α n can be found using equation (5).
[0034] [Method based on the principle of minimizing quantization error] Hereinafter, based on the principle of minimizing the quantization error described above, the n-th channel refinement weight α n A specific example of a method for obtaining the above will be described.
[0035] [[First Example]] In the first example, the n-th channel refinement weight α n The n-th channel refinement weight estimation unit 1111-n in the first example obtains the number of samples per frame T and the number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS. n and the number of bits of the monaural code CM, b M Using the above, the n-th channel refinement weight α n The n-th channel refinement weight estimation unit 1111-n obtains the bit number b n and the number of bits b M The method of identifying the above is common to all the examples, and will be explained after the seventh example, which is the last specific example.
[0036] [[Second Example]] The second example is the n-th channel refinement weight α obtained in the first example. n The nth channel refinement weight α has characteristics similar to n In the second example, the n-th channel refinement weight estimation unit 1111-n obtains the number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS. n and the number of bits of the monaural code CM, b M At least, a value greater than 0 and less than 1 is used, and b n and b M is equal to 0.5, and b n B M The more the value, the closer it is to 0 than 0.5, and b M B n The more the value, the closer to 1 than 0.5, the more the nth channel refinement weight α n Obtain as.
[0037] [[Example 3]] The third example is the n-th channel input sound signal X n ={x n (1), x n (2), ..., x n (T)} and downmix signal X M ={x M (1), x M (2), ..., x M(T)} cannot be regarded as the same sequence, so the n-th channel refinement weight α n This is an example of obtaining the n-th channel input sound signal X n ={x n (1), x n (2), ..., x n (T)} and downmix signal X M ={x M (1), x M (2), ..., x M If the sample values of {T} are not close enough to be considered as the same series, the weighted average (1-α n )×^x n (t)+α n ×^x M The signal obtained by (t) is the nth channel input sound signal X even if there is no quantization error. n ={x n (1), x n (2), ..., x n (T)}. Therefore, the n-th channel input sound signal X n ={x n (1), x n (2), ..., x n (T)} and downmix signal X M ={x M (1), x M (2), ..., x M (T)}, the weighted averaging process described above is not performed and the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} is directly used as the n-th channel refined decoded sound signal ~X n ={~x n (1), ~x n (2), ..., ~x n (T)} would maintain accuracy.
[0038] Therefore, the n-th channel input sound signal X n ={x n (1), x n(2), ..., x n (T)} and downmix signal X M ={x M (1), x M (2), ..., x M (T)} cannot be regarded as the same sequence, the n-th channel signal refinement unit 1121-n refines the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} and monaural decoded sound signal ^X M ={^x M (1), ^x M (2), ..., ^x M (T)}, the n-th channel refinement weight α n Weighted average based on (1-α n )×^x n (t)+α n ×^x M (t) nth channel refined decoded sound signal ~X n ={~x n (1), ~x n (2), ..., ~x n As the correlation, for example, the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} monaural decoded sound signal ^X M ={^x M (1), ^x M (2), ..., ^x M (T)}, the normalized dot product value r n can be used.
number
[0039] Therefore, the n-th channel refinement weight estimation unit 1111-n in the third example uses the normalized inner product value r n Using the n-th channel refinement weight α n is obtained by the following equation (7).
number
number
[0040] [[Example 4]] The fourth example shows the n-th channel refinement weight α obtained in the third example. n The nth channel refinement weight α has characteristics similar to n In the fourth example, the n-th channel refinement weight estimation unit 1111-n obtains the n-th channel decoded sound signal ^X n and the monaural decoded sound signal ^X M and the number of bits b corresponding to the nth channel of the stereo code CS. n and the number of bits of the monaural code CM, b M and , the n-th channel decoded sound signal ^X n and mono decoded sound signal ^X M The higher the correlation between the two, the closer to 1 the value is, and the lower the correlation, the closer to 0 the value is. n and b is a value greater than 0 and less than 1. n and b M is the same, it is 0.5, and b n B M The more, the closer to 0 than 0.5, the more n B M The smaller the correction coefficient c, the closer it is to 1 than 0.5 n The value c obtained by multiplying n ×r n The nth channel refinement weight α n Obtain as.
[0041] [[Example 5]] The fifth example is an example in which a value that takes into account the input value of the past frame is used instead of the normalized inner product value of the third example. nThe n-th channel refinement weight estimation unit 1111-n in the fifth example performs the following steps S1111-11-n to S1111-13-n, as well as steps S1111-2-n and S1111-3-n similar to those in the third example, as shown in FIG.
[0042] The n-th channel refinement weight estimation unit 1111-n first estimates the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} and the monaural decoded sound signal ^X M ={^x M (1), ^x M (2), ..., ^x M (T)} and the dot product value E used in the previous frame n (-1) and the inner product value E to be used in the current frame is calculated using the following equation (9). n (0) is obtained (step S1111-11-n).
number
[0043] The n-th channel refinement weight estimation unit 1111-n also estimates the monaural decoded sound signal ^X M ={^x M (1), ^x M (2), ..., ^x M (T)} and the energy E of the monaural decoded sound signal used in the previous frame M(-1) and the energy E of the monaural decoded sound signal used in the current frame is calculated by the following equation (10). M Obtain (0) (step 1111-12-n).
number
[0044] Next, the n-th channel refinement weight estimation unit 1111-n calculates the inner product value E n (0) and the energy E of the monaural decoded sound signal used in the current frame obtained in step S1111-12-n M (0) is used to normalize the dot product value r n is obtained using the following equation (11) (step S1111-13-n).
number
[0045] The n-th channel refinement weight estimation unit 1111-n also calculates a correction coefficient c n(step S1111-2-n). The n-th channel refinement weight estimation unit 1111-n then obtains the normalized inner product value r n and the correction coefficient c obtained in step S1111-2-n n The value c multiplied by n ×r n The nth channel refinement weight α n (step S1111-3-n).
[0046] That is, the n-th channel refinement weight estimation unit 1111-n in the fifth example estimates the n-th channel decoded sound signal ^X n Each sample value of ^x n (t) and monaural decoded sound signal ^X M Each sample value of ^x M (t) and the dot product value E of the previous frame n (-1) and the inner product value E obtained by equation (9) n (0) and monaural decoded sound signal ^X M Each sample value of ^x M (t) and the energy E of the monaural decoded sound signal of the previous frame M (-1) and the energy E of the monaural decoded sound signal obtained by equation (10) M (0) and the normalized inner product value r obtained by equation (11) using n and the number of samples per frame T and the number of bits of the stereo code CS corresponding to the n-th channel b n and the number of bits of the monaural code CM, b M The correction coefficient c obtained by using equation (8) n The value c obtained by multiplying n ×r n The nth channel refinement weight α n Obtain as.
[0047] In addition, the above ε n and ε M The closer to 1, the normalized inner product value r n is likely to include the influence of the n-th channel decoded sound signal and the monaural decoded sound signal of the past frame, and the normalized inner product value r n or the normalized dot product value rn The n-th channel refinement weight α obtained by n The frame-to-frame variation of is small.
[0048] [[Example 6]] For example, when a sound such as speech or music contained in the first channel input sound signal is different from a sound such as speech or music contained in the second channel input sound signal, the monaural decoded sound signal contains both a component of the first channel input sound signal and a component of the second channel input sound signal. For this reason, there is a problem that the larger the value used as the first channel refinement weight α1, the more the first channel refined decoded sound signal sounds as if it contains a sound originating from the input sound signal of the second channel that should not be heard in the first channel. Similarly, there is a problem that the larger the value used as the second channel refinement weight α2, the more the second channel refined decoded sound signal sounds as if it contains a sound originating from the input sound signal of the first channel that should not be heard in the second channel. Therefore, taking hearing quality into consideration, the n-th channel refinement weight estimation unit 1111-n of the sixth example estimates the n-th channel refinement weight α of each channel obtained by each of the above examples. n The smaller value is the n-th channel refinement weight α n For example, the n-th channel refinement weight estimation unit 1111-n in the sixth example based on the third or fifth example obtains the normalized inner product value r n and the correction factor c n , or the normalized dot product value r explained in the fifth example n and the correction factor c n , multiplied by λ, a predetermined value greater than 0 and less than 1, to obtain λ×c n ×r n The nth channel refinement weight α n Obtain as.
[0049] [[Example 7]] The problem of hearing quality described in the sixth example occurs when the correlation between the first channel input sound signal and the second channel input sound signal is small, and this problem does not occur so much when the correlation between the first channel input sound signal and the second channel input sound signal is large. Therefore, the n-th channel refinement weight estimation unit 1111-n in the seventh example uses an inter-channel correlation coefficient γ, which is a correlation coefficient between the first channel decoded sound signal and the second channel decoded sound signal, instead of the predetermined value in the sixth example, and prioritizes reducing the energy of the quantization error of the refined decoded sound signal as the correlation between the first channel decoded sound signal and the second channel decoded sound signal increases, and prioritizes suppressing deterioration of hearing quality as the correlation between the first channel decoded sound signal and the second channel decoded sound signal decreases. Hereinafter, the differences between the seventh example and the third and fifth examples will be described.
[0050] [[[Seventh example of inter-channel relationship information estimation unit 1131]]] 1, the sound signal refining device 1101 of the seventh example also includes an inter-channel relationship information estimation unit 1131. At least the first channel decoded sound signal input to the sound signal refining device 1101 and the second channel decoded sound signal input to the sound signal refining device 1101 are input to the inter-channel relationship information estimation unit 1131. The inter-channel relationship information estimation unit 1131 of the seventh example obtains and outputs an inter-channel correlation coefficient γ using at least the first channel decoded sound signal and the second channel decoded sound signal (step S1131). The inter-channel correlation coefficient γ is a correlation coefficient between the first channel decoded sound signal and the second channel decoded sound signal, and may be a correlation coefficient γ0 between a sample sequence {^x1(1), ^x1(2), ..., ^x1(T)} of the first channel decoded sound signal and a sample sequence {^x2(1), ^x2(2), ..., ^x2(T)} of the second channel decoded sound signal, or a correlation coefficient taking into consideration a time difference, for example, a correlation coefficient γ τ1. Note that the inter-channel relationship information estimation unit 1131 may obtain the inter-channel correlation coefficient γ by any known method, or may obtain the inter-channel correlation coefficient γ by a method described in the inter-channel relationship information estimation unit 1132 of a second embodiment to be described later. Note that depending on the method for obtaining the inter-channel correlation coefficient γ, the monaural decoded sound signal input to the sound signal refining device 1101 is also input to the inter-channel relationship information estimation unit 1131, as indicated by the two-dot chain line in FIG.
[0051] This τ is information corresponding to the difference (so-called arrival time difference) between the arrival time from a sound source that mainly emits sound in a space to a microphone for the first channel ^X1, which is a decoded sound signal corresponding to the first channel input sound signal X1, and the arrival time from the sound source to a microphone for the second channel, which is a decoded sound signal corresponding to the second channel input sound signal X2, when it is assumed that the sound signal obtained by AD converting the sound picked up by a microphone for the first channel arranged in the space is the first channel input sound signal X1, and the arrival time from the sound source to the microphone for the second channel is the second channel input sound signal X2. Hereinafter, this τ is referred to as an inter-channel time difference. The inter-channel relationship information estimation unit 1131 may obtain the inter-channel time difference τ from the first channel decoded sound signal ^X1, which is a decoded sound signal corresponding to the first channel input sound signal X1, and the second channel decoded sound signal ^X2, which is a decoded sound signal corresponding to the second channel input sound signal X2, by any well-known method, and may be obtained by the method described in the inter-channel relationship information estimation unit 1132 of the second embodiment. That is, the above-mentioned correlation coefficient γ τ is information equivalent to the correlation coefficient between a sound signal that arrives from a sound source at a microphone for a first channel and is picked up, and a sound signal that arrives from the sound source at a microphone for a second channel and is picked up.
[0052] [[[n-th channel refinement weight estimation unit 1111-n of the seventh example]]] The n-th channel refinement weight estimation unit 1111-n of the seventh example uses the normalized inner product value r obtained in step S1111-1-n of the third example or step S1111-13-n of the fifth example instead of step S1111-3-n of the third and fifth examples. n and the correction coefficient c obtained in step S1111-2-n nand the inter-channel correlation coefficient γ obtained in step S1131, n ×r n The nth channel refinement weight α n (step S1111-3′-n). That is, the n-th channel refinement weight estimation unit 1111-n in the seventh example obtains the normalized inner product value r n and the correction factor c n , or the normalized dot product value r explained in the fifth example n and the correction factor c n , and the inter-channel correlation coefficient γ, which is the correlation coefficient between the first channel decoded sound signal and the second channel decoded sound signal, n ×r n The nth channel refinement weight α n Obtain as.
[0053] In addition, the n-th channel refinement weight estimation unit 1111-n estimates the n-th channel refinement weight α n When obtaining the n-th channel decoded sound signal ^X n or mono decoded sound signal ^X M Instead of the n-th channel decoded sound signal ^X, a signal obtained by filtering each of these may be used. The filter may be, for example, a predetermined low-pass filter, or the n-th channel decoded sound signal ^X n or mono decoded sound signal ^X M Alternatively, a linear prediction filter using linear prediction coefficients obtained by analyzing the n-th channel decoded sound signal ^X n or mono decoded sound signal ^X M Each frequency component can be weighted, and the n-th channel refinement weight α n This makes it possible to increase the contribution of auditorily important frequency components when calculating
[0054] [Mono code CM bit number b M How to identify The number of bits b of the monaural code CM in the decoding method used by the monaural decoder 610 Mis the same for all frames (i.e., when the decoding method used by monaural decoding unit 610 is a fixed bit rate decoding method), the number of bits b of monaural code CM is stored in a storage unit (not shown) in n-th channel refinement weight estimation unit 1111-n. M The number of bits b of the monaural code CM in the decoding method used by the monaural decoding unit 610 may be stored in the memory. M may vary from frame to frame (i.e., when the decoding method used by monaural decoding unit 610 is a variable bit rate decoding method), monaural decoding unit 610 uses the number of bits b M Then, the number of bits b M is input to the n-th channel refinement weight estimation unit 1111-n.
[0055] [The number of bits b of the stereo code CS n How to identify The number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS in the decoding method used by the stereo decoding unit 620 is n is the same for all frames, the number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS is stored in a storage unit (not shown) in the n-th channel refinement weight estimation unit 1111-n. n The number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS in the decoding method used by the stereo decoding unit 620 may be stored in the memory. n may vary from frame to frame, the stereo decoding unit 620 may use the bit number b n Then, the number of bits b n The number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS in the decoding method used by the stereo decoding unit 620 may be input to the n-th channel refinement weight estimation unit 1111-n. n When is not explicitly determined, the n-th channel refinement weight estimation unit 1111-n uses a value obtained by, for example, the following first method or second method as b nIn either the first or second method, the number of bits b of the stereo code CS in the decoding method used by the stereo decoding unit 620 may be used as s is the same for all frames, the number of bits b of the stereo code CS is stored in a storage unit (not shown) in the n-th channel refinement weight estimation unit 1111-n. S The number of bits b of the stereo code CS in the decoding method used by the stereo decoding unit 620 is stored in the s may vary from frame to frame, the stereo decoding unit 620 may use the bit number b S Then, the number of bits b S is input to the n-th channel refinement weight estimation unit 1111-n.
[0056] [[The number of bits b of the stereo code CS n The first way to identify The n-th channel refinement weight estimation unit 1111-n estimates the number of bits b s by the number of channels (i.e., b for 2-channel stereo). s / 2, b s (half of b) n That is, the number of bits b of the stereo code CS in the decoding method used by the stereo decoding unit 620 is used as s is the same for all frames, the number of bits b of the stereo code CS is stored in a storage unit (not shown) in the n-th channel refinement weight estimation unit 1111-n. S Divide by the number of channels to get the number of bits b n The number of bits b of the stereo code CS in the decoding method used by the stereo decoding unit 620 may be stored as s may vary depending on the frame, the n-th channel refinement weight estimation unit 1111-n uses the bit number b s Divide by the number of channels and n We can obtain it as follows.
[0057] [[The number of bits b of the stereo code CS n Second method for identifying The n-th channel refining weight estimation unit 1111-n estimates the number of bits b of the stereo code CS by using the decoded sound signals of all channels input to the sound signal refining device 1101. s The value obtained by dividing by the number of channels and the decoded sound signal ^X n The value proportional to the logarithm of the ratio between the energy of and the geometric mean of the decoded sound signal energy of all channels is added to b n Generally, in stereo coding, efficient compression can be achieved by allocating a number of bits proportional to the logarithm of the energy of each signal to the input sound signal of each channel. For this reason, it is assumed that the above-mentioned bit number allocation is made in the stereo code CS in the coding method used by the stereo coding unit 530 and the decoding method used by the stereo decoding unit 620, and the bit number b n More specifically, for example, the n-th channel refinement weight estimation unit 1111-n estimates the number of bits b by the following equation (12) using the energy e1 of the first-channel decoded sound signal ^X1 and the energy e2 of the second-channel decoded sound signal ^X2: n All you need to do is obtain the following.
number
[0058] [Modification of the first embodiment] Even in a case where the sound signal refining device 1101 uses the inter-channel correlation coefficient γ, if the stereo decoding unit 620 of the decoding device 600 obtains the inter-channel correlation coefficient γ, the sound signal refining device 1101 may not be provided with an inter-channel relationship information estimation unit 1131, and the inter-channel correlation coefficient γ obtained by the stereo decoding unit 620 of the decoding device 600 may be input to the sound signal refining device 1101, and the sound signal refining device 1101 may use the input inter-channel correlation coefficient γ.
[0059] Furthermore, even when the sound signal refining device 1101 uses the inter-channel correlation coefficient γ, if the inter-channel relationship information code CC obtained and output by an inter-channel relationship information coding unit (not shown) provided in the above-mentioned coding device 500 contains a code representing the inter-channel correlation coefficient γ, the sound signal refining device 1101 may not be provided with an inter-channel relationship information estimation unit 1131, and the code representing the inter-channel correlation coefficient γ included in the inter-channel relationship information code CC may be input to the sound signal refining device 1101, and the sound signal refining device 1101 may be provided with an inter-channel relationship information decoding unit (not shown), which decodes the code representing the inter-channel correlation coefficient γ to obtain and output the inter-channel correlation coefficient γ.
[0060] <Second embodiment> Like the sound signal refining device of the first embodiment, the sound signal refining device of the second embodiment improves the decoded sound signals of each stereo channel by using a monaural decoded sound signal obtained from a code different from the code from which the decoded sound signal was obtained. The sound signal refining device of the second embodiment differs from the sound signal refining device of the first embodiment in that it uses a signal obtained by upmixing a monaural decoded sound signal for each channel, rather than the monaural decoded sound signal itself. Below, the sound signal refining device of the second embodiment will be described, focusing on the differences from the sound signal refining device of the first embodiment, using an example in which the number of stereo channels is two.
[0061] <Sound signal refining device 1102> The sound signal refining device 1102 of the second embodiment includes an inter-channel relationship information estimation unit 1132, a monaural decoded sound upmixing unit 1172, a first channel refinement weight estimation unit 1112-1, a first channel signal refinement unit 1122-1, a second channel refinement weight estimation unit 1112-2, and a second channel signal refinement unit 1122-2, as illustrated in Fig. 5. The sound signal refining device 1102 performs steps S1132 and S1172 for each frame, and steps S1112-n and S1122-n for each channel, as illustrated in Fig. 6.
[0062] [Inter-channel relationship information estimation unit 1132] The inter-channel relationship information estimation unit 1132 receives at least the first channel decoded sound signal ^X1 input to the sound signal refining device 1102 and the second channel decoded sound signal ^X2 input to the sound signal refining device 1102. The inter-channel relationship information estimation unit 1132 obtains and outputs inter-channel relationship information using at least the first channel decoded sound signal ^X1 and the second channel decoded sound signal ^X2 (step S1132). The inter-channel relationship information is information that indicates the relationship between stereo channels. Examples of the inter-channel relationship information are an inter-channel time difference τ and an inter-channel correlation coefficient γ. The inter-channel relationship information estimation unit 1132 may obtain multiple types of inter-channel relationship information, and may obtain, for example, an inter-channel time difference τ and an inter-channel correlation coefficient γ.
[0063] The inter-channel time difference τ is information corresponding to the difference between the arrival time from a sound source that mainly emits sound in a space to a microphone for the first channel and the arrival time from the sound source to a microphone for the second channel (so-called arrival time difference) when it is assumed that a sound signal obtained by AD converting a sound picked up by a microphone for the first channel arranged in a certain space is the first channel input sound signal X1, and a sound signal obtained by AD converting a sound picked up by a microphone for the second channel arranged in the space is the second channel input sound signal X2. Note that in order to include in the inter-channel time difference τ not only the arrival time difference but also information corresponding to which microphone the sound arrives at earlier, the inter-channel time difference τ can take both positive and negative values with respect to one of the sound signals. The inter-channel relationship information estimation unit 1132 obtains the inter-channel time difference τ from the first channel decoded sound signal ^X1, which is a decoded sound signal corresponding to the first channel input sound signal X1, and the second channel decoded sound signal ^X2, which is a decoded sound signal corresponding to the second channel input sound signal X2. In other words, the inter-channel time difference τ obtained by the inter-channel relation information estimation unit 1132 is information indicating how far ahead the same sound signal is included in either the first channel decoded sound signal ^X1 or the second channel decoded sound signal ^X2. Hereinafter, when the same sound signal is included in the first channel decoded sound signal ^X1 earlier than the second channel decoded sound signal ^X2, it is also referred to as the first channel being ahead, and when the same sound signal is included in the second channel decoded sound signal ^X2 earlier than the first channel decoded sound signal ^X1, it is also referred to as the second channel being ahead.
[0064] The inter-channel relationship information estimation unit 1132 may obtain the inter-channel time difference τ by any known method. For example, the inter-channel relationship information estimation unit 1132 may obtain the inter-channel time difference τ by using a predetermined max From τ min up to (e.g., τ max is a positive number, τ min (is a negative number) cand For the first channel decoded sound signal ^X1, the sample sequence and the number of candidate samples τ candA value (hereinafter referred to as a correlation value) γ cand Calculate the correlation value γ cand The number of candidate samples τ that maximizes cand is obtained as the inter-channel time difference τ. That is, in this example, when the first channel is ahead, the inter-channel time difference τ is a positive value, and when the second channel is ahead, the inter-channel time difference τ is a negative value. That is, the absolute value |τ| of the inter-channel time difference τ is the number of samples |τ| corresponding to the time difference between the first channel and the second channel, and is a value (the number of leading samples) indicating how far the leading channel is ahead of the other channel. Also, whether the inter-channel time difference τ is a positive value or a negative value is information indicating which of the first channel and the second channel is ahead. Therefore, the inter-channel relationship information estimation unit 1132 may obtain information indicating the number of samples |τ| corresponding to the time difference between the first channel and the second channel and information indicating which of the first channel and the second channel is ahead, instead of the inter-channel time difference τ.
[0065] For example, the inter-channel relationship information estimation unit 1132 calculates the correlation value γ using only samples in a frame. cand When calculating τ cand If is a positive value, the partial sample sequence of the second channel decoded sound signal ^X2 {^x2(1+τ cand ), ^x2(2+τ cand ), ..., ^x2(T)} and the number of candidate samples τ cand The partial sample sequence {^x1(1), ^x1(2), ..., ^x1(T-τ cand )} and the absolute value of the correlation coefficient of cand Calculate as τ cand If is a negative value, the partial sample sequence {^x1(1-τ cand ), ^x1(2-τ cand ), ..., ^x1(T)} and the number of candidate samples (-τcand ) from the partial sample sequence of the second channel decoded sound signal ^X2. cand )} and the absolute value of the correlation coefficient of cand Of course, the correlation value γ cand In order to calculate the above, one or more samples of the past decoded sound signal consecutive to the sample sequence of the decoded sound signal of the current frame may also be used. In this case, the inter-channel relationship information estimation unit 1132 may store the sample sequences of the decoded sound signals of the past frames for a predetermined number of frames in a storage unit (not shown) within the inter-channel relationship information estimation unit 1132.
[0066] Alternatively, instead of the absolute value of the correlation coefficient, the correlation value γ cand In this example, the inter-channel relationship information estimation unit 1132 first obtains a frequency spectrum f1(k) at each frequency k from 0 to T−1 by Fourier transforming the first channel decoded sound signal ^X1={^x1(1), ^x1(2), ..., ^x1(T)} according to the following equation (21).
number
number
number
number
[0067] The inter-channel relationship information estimation unit 1132 estimates the correlation value γ cand As the phase difference signal ψ(τ cand Instead of using the absolute value of each τ cand For the phase difference signal ψ(τ cand ) for the absolute value of τ cand Alternatively, a normalized value may be used, such as a relative difference between the average of the absolute values of the phase difference signals obtained for each of a plurality of candidate samples before and after the channel. cand For a predetermined positive number τ range Using the above, the average value is calculated using the following formula (25), and the average value ψ c (τ cand) and the phase difference signal ψ(τ cand ) to obtain the normalized correlation value obtained by the following equation (26): cand It may also be obtained as
number
number
[0068] The number of each candidate sample is determined in advance as τ max From τ min τ max From τ min It may contain fractional or decimal values between τ max From τ min In addition, it is not necessary to include any integer value between τ max =-τ min In addition, when a special decoded sound signal in which one of the channels always precedes the other is targeted, τ max Also τ min Let τ be a positive number. max Also τ min may also be a negative number.
[0069] In the seventh example described in the first embodiment, the sound signal refining device 1102 uses the n-th channel refining weight α n When obtaining the correlation value τ, the inter-channel relation information estimation unit 1132 further obtains a correlation value between a sample sequence of the first channel decoded sound signal and a sample sequence of the second channel decoded sound signal that is shifted backward from the sample sequence by the inter-channel time difference τ, that is, τ max From τ min The number of candidate samples up to τ candThe correlation value γ cand The maximum value among these is output as the inter-channel correlation coefficient γ.
[0070] Further, for example, the inter-channel relation information estimation unit 1132 may obtain the inter-channel correlation coefficient γ by also using the monaural decoded sound signal. In this case, as indicated by the two-dot chain line in Fig. 5, the monaural decoded sound signal input to the sound signal refining device 1102 is also input to the inter-channel relation information estimation unit 1132. The inter-channel relation information estimation unit 1132 obtains the inter-channel correlation coefficient γ by also using the monaural decoded sound signal. M ={^x M (1), ^x M (2), ..., ^x M (T)} to obtain the monaural decoded sound signal ^X M may be approximated by a weighted sum of the first channel decoded sound signal ^X1 and the second channel decoded sound signal ^X2, and the most appropriate weight may be obtained as the inter-channel correlation coefficient γ. cand The weight w that is the smallest value obtained by the following formula (27) is cand may be obtained as the inter-channel correlation coefficient γ.
number
[0071] [Mono decoded sound upmix section 1172] The monaural decoded sound upmix unit 1172 receives the monaural decoded sound signal ^X input to the sound signal refinement device 1102. M ={^x M (1), ^x M (2), ..., ^x M (T)} and the inter-channel relation information output by the inter-channel relation information estimation unit 1132. The monaural decoded sound upmixer 1172 receives the monaural decoded sound signal ^X M ={^x M (1), ^x M (2), ..., ^x M (T)} and the inter-channel relationship information, the n-th channel upmixed mono decoded sound signal ^X Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn(T)} and outputs it (step S1172). The inter-channel relationship information used by the monaural decoded sound upmixing unit 1172 is information indicating the relationship between stereo channels, and may be of one type or of multiple types. The monaural decoded sound upmixing unit 1172 may perform upmixing processing using information indicating the inter-channel time difference τ or the number of samples |τ| corresponding to the time difference between the first channel and the second channel, and information indicating which of the first channel and the second channel is leading, for example, as follows:
[0072] [[Example of upmix processing using inter-channel time difference τ]] When the first channel is leading (that is, when the inter-channel time difference τ is a positive value, or when the information indicating which of the first channel and the second channel is leading indicates that the first channel is leading), the monaural decoded sound upmixer 1172 upmixes the monaural decoded sound signal ^X M ={^x M (1), ^x M (2), ..., ^x M (T)} is the first channel upmixed mono decoded sound signal ^X M1 ={^x M1 (1), ^x M1 (2), ..., ^x M1 (T)}, and the monaural decoded signal is delayed by |τ| samples (the number of samples for the absolute value of the interchannel time difference τ, the number of samples for the magnitude represented by the interchannel time difference τ) to produce a signal {^x M (1-|τ|), ^x M (2-|τ|), ..., ^x M (T-|τ|)} is the second channel upmixed mono decoded sound signal ^X M2 ={^x M2 (1), ^x M2 (2), ..., ^x M2If the second channel is leading (i.e., if the inter-channel time difference τ is a negative value, or if the information indicating which of the first and second channels is leading indicates that the second channel is leading), the monaural decoded sound upmixer 1172 outputs a signal {^x M (1-|τ|), ^x M (2-|τ|), ..., ^x M (T-|τ|)} is the first channel upmixed mono decoded sound signal ^X M1 ={^x M1 (1), ^x M1 (2), ..., ^x M1 (T)} and output the monaural decoded sound signal ^X M ={^x M (1), ^x M (2), ..., ^x M (T)} is directly used as the second channel upmixed mono decoded sound signal ^X M2 ={^x M2 (1), ^x M2 (2), ..., ^x M2 If none of the channels are ahead (i.e., if the inter-channel time difference τ is 0, or if the information indicating which of the first channel and the second channel is ahead indicates that none of the channels are ahead), the monaural decoded sound upmixer 1172 outputs the monaural decoded sound signal ^X M ={^x M (1), ^x M (2), ..., ^x M (T)} is the first channel upmixed mono decoded sound signal ^X M1 ={^x M1 (1), ^x M1 (2), ..., ^x M1 (T)} and the second channel upmixed mono decoded sound signal ^X M2 ={^x M2 (1), ^x M2 (2), ..., ^x M2(T)}. That is, for the channel having the shorter arrival time out of the first channel and the second channel, the monaural decoded sound upmixing unit 1172 outputs the input monaural decoded sound signal as is as the upmixed monaural decoded sound signal of the channel, and for the channel having the longer arrival time out of the first channel and the second channel, the monaural decoded sound upmixing unit 1172 outputs a signal obtained by delaying the input monaural decoded sound signal by the absolute value |τ| of the inter-channel time difference τ as the upmixed monaural decoded sound signal of the channel. Note that, since the monaural decoded sound upmixing unit 1172 uses a monaural decoded sound signal of a past frame to obtain a signal obtained by delaying the monaural decoded sound signal, a storage unit (not shown) in the monaural decoded sound upmixing unit 1172 stores monaural decoded sound signals input in past frames for a predetermined number of frames.
[0073] [n-th channel refinement weight estimation unit 1112-n] The n-th channel refinement weight estimation unit 1112-n estimates the n-th channel refinement weight α n The n-th channel refinement weight estimation unit 1112-n obtains and outputs the n-th channel refinement weight α n The n-th channel refinement weight α obtained by the n-th channel refinement weight estimator 1112-n is obtained. n is a value between 0 and 1. Note that the n-th channel refinement weight estimation unit 1112-n estimates the n-th channel refinement weight α n Therefore, the n-th channel refinement weight α n never becomes 0 or 1. That is, the n-th channel refinement weight α n There are frames in which the n-th channel refinement weight α is greater than 0 and less than 1. In other words, in at least some of all frames, n is a value greater than 0 and less than 1.
[0074] Specifically, as in the following first to seventh examples, the n-th channel refinement weight estimation unit 1112-n estimates the monaural decoded sound signal ^X M The monaural decoded sound signal ^X is used in the places where M Instead of the n-th channel upmixed mono decoded sound signal ^X Mn Using the n-th channel refinement weight α n Naturally, the n-th channel refinement weight estimation unit 1112-n obtains the monaural decoded sound signal ^X in a method based on the principle of minimizing the quantization error described in the first embodiment. M The parts using the values obtained based on the monaural decoded sound signal ^X M Instead of the value obtained based on Mn For example, the n-th channel refinement weight estimation unit 1112-n uses a value obtained based on the energy E M Instead of (0), the energy E of the n-th channel upmixed mono decoded sound signal of the current frame is Mn (0), the energy E of the monaural decoded sound signal of the previous frame M Instead of (-1), the energy E of the n-th channel upmixed mono decoded sound signal of the previous frame is Mn Use (-1).
[0075] [[First Example]] The n-th channel refinement weight estimation unit 1112-n in the first example is based on the number of samples per frame T and the number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS. n and the number of bits of the monaural code CM, b M Using the above, the n-th channel refinement weight α n get.
number
[0076] [[Second Example]] The n-th channel refinement weight estimation unit 1112-n in the second example is a bit number b corresponding to the n-th channel among the number of bits of the stereo code CS. n and the number of bits of the monaural code CM, b M and b are at least 0 or more and less than 1. n and b M is equal to 0.5, and b n B M The more the value, the closer it is to 0 than 0.5, and b M B n The more the value, the closer to 1 than 0.5, the more the nth channel refinement weight α n Obtain as.
[0077] [[Example 3]] The n-th channel refinement weight estimation unit 1112-n in the third example is based on the number of samples per frame T and the number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS. n and the number of bits of the monaural code CM, b M Using
number
[0078] The n-th channel refinement weight estimation unit 1112-n of the third example performs, for example, steps S1112-31-n to S1112-33-n described below to estimate the n-th channel refinement weight α n The n-th channel refinement weight estimation unit 1112-n first obtains the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n(T)} and the n-th channel upmixed mono decoded sound signal ^X Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn (T)}, the n-th channel decoded sound signal ^X n The n-th channel upmixed mono decoded sound signal ^X Mn The normalized dot product value r n (step S1112-31-n).
number
[0079] [[Example 4]] The n-th channel refinement weight estimation unit 1112-n in the fourth example estimates the number of bits corresponding to the n-th channel among the number of bits of the stereo code CS as b n Let the number of bits of the monaural code CM be b M is a value between 0 and 1, and the n-th channel decoded sound signal ^X n and the n-th channel upmixed mono decoded sound signal ^X Mn The higher the correlation between the two, the closer to 1 the value is, and the lower the correlation, the closer to 0 the value is. n and b is a value greater than 0 and less than 1. n and bM is the same, it is 0.5, and b n B M The more, the closer to 0 than 0.5, the more n B M The smaller the correction coefficient c, the closer it is to 1 than 0.5 n The value c obtained by multiplying n ×r n The nth channel refinement weight α n Obtain as.
[0080] [[Example 5]] The n-th channel refinement weight estimation unit 1112-n in the fifth example performs, for example, steps S1112-51-n to S1112-55-n described below to estimate the n-th channel refinement weight α n get.
[0081] The n-th channel refinement weight estimation unit 1112-n first estimates the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} and the n-th channel upmixed mono decoded sound signal ^X Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn (T)} and the dot product value E used in the previous frame n (-1) and the inner product value E to be used in the current frame is calculated using the following equation (2-9). n (0) is obtained (step S1112-51-n).
number
[0082] The n-th channel refinement weight estimation unit 1112-n also estimates the n-th channel upmixed monaural decoded sound signal ^X Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn (T)} and the energy E Mn (-1), the energy E of the n-th channel upmixed monaural decoded sound signal used in the current frame is calculated by the following equation (2-10). Mn (0) is obtained (step S1112-52-n).
number
[0083] Next, the n-th channel refinement weight estimation unit 1112-n calculates the inner product value E n (0), and the energy E Mn (0) is used to normalize the dot product value r n is obtained using the following equation (2-11) (step S1112-53-n).
number
[0084] The n-th channel refinement weight estimation unit 1112-n also calculates a correction coefficient c M (step S1112-54-n). The n-th channel refinement weight estimation unit 1112-n then obtains the normalized inner product value r n and the correction coefficient c obtained in step S1112-54-n n The value c multiplied by n ×r n The nth channel refinement weight α n (step S1112-55-n).
[0085] That is, the n-th channel refinement weight estimation unit 1112-n in the fifth example estimates the n-th channel decoded sound signal ^X n Each sample value of ^x n (t) and the n-th channel upmixed mono decoded sound signal ^X Mn Each sample value of ^x Mn (t) and the dot product value E of the previous frame n (-1) and the inner product value E obtained by equation (2-9) n (0) and the n-th channel upmixed mono decoded sound signal ^X Mn Each sample value of ^x Mn (t) and the energy E of the n-th channel upmixed mono decoded sound signal of the previous frame Mn (-1) and the energy E of the n-th channel upmixed mono decoded sound signal obtained by equation (2-10) Mn (0) and the normalized inner product value r obtained by equation (2-11) using n and the number of samples per frame T and the number of bits of the stereo code CS corresponding to the n-th channel b n and the number of bits of the monaural code CM, b M The correction coefficient c obtained by using equation (2-8) n The value c obtained by multiplying n ×r n The nth channel refinement weight α n Obtain as.
[0086] [[Example 6]] The n-th channel refinement weight estimation unit 1112-n in the sixth example uses the normalized inner product value r n and the correction factor c n , or the normalized dot product value r explained in the fifth example n and the correction factor c n , and λ, a predetermined value greater than 0 and less than 1, multiplied by λ × c n ×r n The nth channel refinement weight α n Obtain as.
[0087] [[Example 7]] The n-th channel refinement weight estimation unit 1112-n in the seventh example uses the normalized inner product value r n and the correction factor c n , or the normalized dot product value r explained in the fifth example n and the correction factor c n , and the inter-channel correlation coefficient γ, which is the correlation coefficient between the first channel decoded sound signal and the second channel decoded sound signal, n ×r n The nth channel refinement weight α n Obtain as.
[0088] [nth channel signal purification unit 1122-n] The n-th channel signal refinement unit 1122-n receives the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)}, and the n-th channel upmixed monaural decoded sound signal ^X output by the monaural decoded sound upmix unit 1172. Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn (T)} and the n-th channel refinement weight α output by the n-th channel refinement weight estimation unit 1112-n. n The n-th channel signal refining unit 1122-n receives the n-th channel refining weight αn and the n-th channel upmixed mono decoded sound signal ^X Mn Sample value of ^x Mn (t) multiplied by α n ×^x Mn (t) and the nth channel refinement weight α n The value obtained by subtracting (1-α n ) and the n-th channel decoded sound signal ^X n Sample value of ^x n (t) multiplied by (1-α n )×^x n (t) and the sum of ~x n (t) is the n-th channel refined decoded sound signal ~X n ={~x n (1), ~x n (2), ..., ~x n (T)} and output it (step S1122-n). n (t)=(1-α n )×^x n (t)+α n ×^x Mn (t).
[0089] <Third embodiment> Like the sound signal refining devices of the first and second embodiments, the sound signal refining device of the third embodiment improves the decoded sound signals of each stereo channel by using a monaural decoded sound signal obtained from a code different from the code from which the decoded sound signal was obtained. The sound signal refining device of the third embodiment differs from the sound signal refining device of the second embodiment in that inter-channel relationship information is obtained from a code rather than from a decoded sound signal. Below, the sound signal refining device of the third embodiment will be described in terms of the differences from the sound signal refining device of the second embodiment using an example in which the number of stereo channels is two.
[0090] <Sound signal refining device 1103> As illustrated in Fig. 7, the sound signal refining device 1103 of the third embodiment includes an inter-channel relationship information decoding unit 1143, a monaural decoded sound upmixing unit 1172, a first channel refinement weight estimation unit 1112-1, a first channel signal refinement unit 1122-1, a second channel refinement weight estimation unit 1112-2, and a second channel signal refinement unit 1122-2. As illustrated in Fig. 8, the sound signal refining device 1103 performs steps S1143 and S1172 for each frame, and steps S1112-n and S1122-n for each channel. The sound signal refining device 1103 of the third embodiment differs from the sound signal refining device 1102 of the second embodiment in that it includes an inter-channel relationship information decoding unit 1143 instead of the inter-channel relationship information estimation unit 1132, and performs step S1143 instead of step S1132. An inter-channel relationship information code CC for each frame is also input to the sound signal refining device 1103 of the third embodiment. The inter-channel relationship information code CC may be a code obtained and output by an inter-channel relationship information encoding unit (not shown) included in the above-mentioned encoding device 500, or may be a code included in the stereo code CS obtained and output by the stereo encoding unit 530 of the above-mentioned encoding device 500. Below, differences between the sound signal refining device 1103 of the third embodiment and the sound signal refining device 1102 of the second embodiment will be described.
[0091] [Inter-channel relationship information decoding unit 1143] The inter-channel relationship information decoding unit 1143 receives the inter-channel relationship information code CC input to the sound signal refining device 1103. The inter-channel relationship information decoding unit 1143 decodes the inter-channel relationship information code CC to obtain and output inter-channel relationship information (step S1143). The inter-channel relationship information obtained by the inter-channel relationship information decoding unit 1143 is the same as the inter-channel relationship information obtained by the inter-channel relationship information estimation unit 1132 in the second embodiment.
[0092] [Modification of the third embodiment] When the inter-channel relationship information code CC is a code included in the stereo code CS, the same inter-channel relationship information as that obtained in step S1143 is obtained by decoding in the stereo decoding unit 620 of the decoding device 600. Therefore, when the inter-channel relationship information code CC is a code included in the stereo code CS, the inter-channel relationship information obtained by the stereo decoding unit 620 of the decoding device 600 may be input to the sound signal refining device 1103 of the third embodiment, and the sound signal refining device 1103 of the third embodiment may not include the inter-channel relationship information decoding unit 1143 and may not perform step S1143.
[0093] In addition, if only a portion of the inter-channel relationship information code CC is a code included in the stereo code CS, the inter-channel relationship information obtained by decoding the code included in the stereo code CS of the inter-channel relationship information code CC by the stereo decoding unit 620 of the decoding device 600 is input to the sound signal refining device 1103 of the third embodiment, and the inter-channel relationship information decoding unit 1143 of the sound signal refining device 1103 of the third embodiment decodes the code not included in the stereo code CS of the inter-channel relationship information code CC in step S1143, and obtains and outputs the inter-channel relationship information that was not input to the sound signal refining device 1103.
[0094] Furthermore, if a code corresponding to a part of the inter-channel relationship information used by each unit of the sound signal refining device 1103 is not included in the inter-channel relationship information code CC, the sound signal refining device 1103 of the third embodiment may also include an inter-channel relationship information estimation unit 1132, which may also perform step S1132. In this case, in step S1132, the inter-channel relationship information estimation unit 1132 may obtain and output inter-channel relationship information that cannot be obtained by decoding the inter-channel relationship information code CC out of the inter-channel relationship information used by each unit of the sound signal refining device 1103, in the same manner as in step S1132 of the second embodiment.
[0095] <Fourth embodiment> Like the sound signal refining devices of the first to third embodiments, the sound signal refining device of the fourth embodiment improves the decoded sound signals of each stereo channel by using a monaural decoded sound signal obtained from a code different from the code from which the decoded sound signals were obtained. Hereinafter, the sound signal refining device of the fourth embodiment will be described using an example in which the number of stereo channels is two, with appropriate reference to the sound signal refining devices of the above-mentioned embodiments.
[0096] 9, the sound signal refining device 1201 of the fourth embodiment includes a decoded sound common signal estimation unit 1251, a common signal refining weight estimation unit 1211, a common signal refining unit 1221, a first channel separation and combining weight estimation unit 1281-1, a first channel separation and combining weight estimation unit 1281-2, and a second channel separation and combining unit 1291-2. For a decoded sound common signal that is a signal common to all channels of stereo decoded sound, the sound signal refining device 1201 obtains a refined common signal that is a sound signal obtained by improving the decoded sound common signal from the decoded sound common signal and the monaural decoded sound signal, in frame units of a predetermined time length of, for example, 20 ms, and obtains and outputs a refined decoded sound signal that is a sound signal obtained by improving the decoded sound signal of the channel from the decoded sound common signal, the refined common signal, and the decoded sound signal of the channel. The decoded sound signal of each channel input to the sound signal refining device 1201 on a frame-by-frame basis is, for example, a code different from the monaural code CM, which is generated by the stereo decoding unit 620 of the above-mentioned decoding device 600 without using the information obtained by decoding the monaural code CM or the monaural code CM. S The first channel decoded sound signal ^X1={^x1(1), ^x1(2), ..., ^x1(T)} of T samples obtained by decoding the 1-bit stereo code CS and the second channel decoded sound signal ^X2={^x2(1), ^x2(2), ..., ^x2(T)} of T samples are obtained. The monaural decoded sound signal input to the sound signal refining device 1201 on a frame-by-frame basis is, for example, a monaural decoding unit 610 of the above-described decoding device 600 that decodes the stereo code CS using neither the information obtained by decoding the stereo code CS nor the stereo code CS, but uses a code different from the stereo code CS, b MA monaural decoded sound signal ^X of T samples obtained by decoding the 1-bit monaural code CM. M ={^x M (1), ^x M (2), ..., ^x M 10, the sound signal refining device 1201 performs steps S1251, S1211, and S1221 for each frame, and steps S1281-n and S1291-n for each channel. The monaural code CM is derived from the same sound signal as the sound signal from which the stereo code CS is derived (i.e., the first channel input sound signal X1 and the second channel input sound signal X2 input to the encoding device 500), but is a different code from the code from which the first channel decoded sound signal ^X1 and the second channel decoded sound signal ^X2 are obtained (i.e., the stereo code CS). If the channel number n of the first channel is 1 and the channel number n of the second channel is 2, the sound signal refining device 1201 performs steps S1251, S1211, and S1221 for each frame, and steps S1281-n and S1291-n for each channel, as illustrated in FIG.
[0097] [Decoded sound common signal estimation unit 1251] At least the first channel decoded sound signal ^X1={^x1(1), ^x1(2), ..., ^x1(T)} and the second channel decoded sound signal ^X2={^x2(1), ^x2(2), ..., ^x2(T)} input to the sound signal refining device 1201 are input to the decoded sound common signal estimation unit 1251. Using at least the first channel decoded sound signal ^X1 and the second channel decoded sound signal ^X2, the decoded sound common signal estimation unit 1251 derives the decoded sound common signal ^Y M ={^y M (1), ^y M (2), ..., ^y M (T)} and outputs it (step S1251). The decoded sound common signal estimation unit 1251 may use, for example, any of the following methods.
[0098] [[The first method to obtain the decoded common signal]] In the first method, the decoded sound common signal estimation unit 1251 estimates the monaural decoded sound signal ^X M Also, the decoded common signal ^Y MThat is, when the first method is used, the decoded sound common signal estimation unit 1251 obtains and outputs the first channel decoded sound signal ^X1={^x1(1), ^x1(2), ..., ^x1(T)}, the second channel decoded sound signal ^X2={^x2(1), ^x2(2), ..., ^x2(T)}, and the monaural decoded sound signal ^X M ={^x M (1), ^x M (2), ..., ^x M Decoded sound common signal estimation unit 1251 first receives the weighted average of the decoded sound signals of all stereo channels (decoded sound signals ^X1, ..., ^X N For example, the decoded sound common signal estimation unit 1251 obtains a weighting coefficient that minimizes the difference between the weighted average of w and the monaural decoded sound signal (step S1251A-1). cand The value obtained by the following formula (41) is the smallest w cand is obtained as the weighting coefficient w.
number
number
[0099] [[Second method for obtaining the decoded common signal]] The second method corresponds to the case where the downmixing unit 510 of the encoding device 500 obtains a downmix signal by the second method for obtaining a downmix signal. In the second method, the decoded sound common signal estimation unit 1251 performs step S1251B described later to obtain the decoded sound common signal ^Y M When the second method is used, sound signal refining device 1201 also includes inter-channel relationship information estimation unit 1231 as indicated by dashed lines in Fig. 9 in order to obtain inter-channel correlation coefficient γ and preceding channel information used in step S1251B described later, and before decoded sound common signal estimation unit 1251 performs step S1251B, inter-channel relationship information estimation unit 1231 performs the following step S1231.
[0100] [[[Inter-channel relationship information estimation unit 1231]]] The inter-channel relationship information estimation unit 1231 receives at least the first channel decoded sound signal ^X1 input to the sound signal refining device 1201 and the second channel decoded sound signal ^X2 input to the sound signal refining device 1201. The inter-channel relationship information estimation unit 1231 obtains and outputs an inter-channel correlation coefficient γ and preceding channel information as inter-channel relationship information using at least the first channel decoded sound signal ^X1 and the second channel decoded sound signal ^X2 (step S1231). The inter-channel correlation coefficient γ is a correlation coefficient between the first channel decoded sound signal and the second channel decoded sound signal. The preceding channel information is information indicating which of the first channel and the second channel is preceding. For example, the inter-channel relationship information estimation unit 1231 performs the following steps S1231-1 to S1231-3.
[0101] The inter-channel relationship information estimation unit 1231 first obtains the inter-channel time difference τ by the method exemplified in the description of the inter-channel relationship information estimation unit 1132 of the second embodiment (step S1231-1). Next, the inter-channel relationship information estimation unit 1231 obtains the correlation value between the first channel decoded sound signal and a sample sequence of the second channel decoded sound signal that is shifted backward from the sample sequence by the inter-channel time difference τ, i.e., τ max From τ min The number of candidate samples up to τ candThe correlation value γ cand The inter-channel relationship information estimation unit 1231 obtains and outputs the maximum value of the inter-channel correlation coefficient γ as the inter-channel correlation coefficient γ (step S1231-2). When the inter-channel time difference τ is a positive value, the inter-channel relationship information estimation unit 1231 obtains and outputs information indicating that the first channel is leading as leading channel information, and when the inter-channel time difference τ is a negative value, the inter-channel relationship information estimation unit 1231 obtains and outputs information indicating that the second channel is leading as leading channel information (step S1231-3). When the inter-channel time difference τ is 0, the inter-channel relationship information estimation unit 1231 may obtain and output information indicating that the first channel is leading as leading channel information, or may obtain and output information indicating that the second channel is leading as leading channel information, but it is preferable to obtain and output information indicating that neither channel is leading as leading channel information.
[0102] [[[Decoded sound common signal estimation unit 1251]]] The decoded sound common signal estimation unit 1251 receives the first channel decoded sound signal ^X1 input to the sound signal refining device 1201, the second channel decoded sound signal ^X2 input to the sound signal refining device 1201, the inter-channel correlation coefficient γ output by the inter-channel relationship information estimation unit 1231, and the preceding channel information output by the inter-channel relationship information estimation unit 1231. The decoded sound common signal estimation unit 1251 estimates the decoded sound common signal ^Y M The first channel decoded sound signal ^X1 and the second channel decoded sound signal ^X2 are weighted and averaged to obtain the decoded sound common signal ^Y M is obtained and output (S1251B).
[0103] For example, the decoded sound common signal estimation unit 1251 estimates, for each corresponding sample number t, the decoded sound common signal ^y MSpecifically, when the preceding channel information is information indicating that the first channel is preceding, that is, when the first channel is preceding, the decoded sound common signal estimation unit 1251 may set ^y M (t)=((1+γ) / 2)×^x1(t)+((1-γ) / 2)×^x2(t) is the decoded common signal ^y M That is, when the first channel precedes the decoded sound common signal estimation unit 1251, ^y M (t)=((1+γ) / 2)×^x1(t)+((1-γ) / 2)×^x2(t) is decoded as a common signal ^Y M When the preceding channel information is information indicating that the second channel is preceding, that is, when the second channel is preceding, the decoded sound common signal estimation unit 1251 obtains, for each sample number t, ^y M (t) = ((1-γ) / 2) × ^x1(t) + ((1+γ) / 2) × ^x2(t) is the decoded common signal ^y M That is, when the second channel precedes the decoded sound common signal estimation unit 1251, ^y M The sequence of (t)=((1-γ) / 2)×^x1(t)+((1+γ) / 2)×^x2(t) is decoded into the common signal ^Y M In addition, when the preceding channel information indicates that no channel is preceding, the decoded sound common signal estimation unit 1251 calculates, for each sample number t, an average ^y M (t) = (^x1(t) + ^x2(t)) / 2 is decoded as the common signal ^y M That is, when no channel is ahead, the decoded sound common signal estimation unit 1251 obtains ^y M The sequence by (t)=(^x1(t)+^x2(t)) / 2 is decoded as the common signal ^Y M It is sufficient to obtain it as:
[0104] [Common signal refinement weight estimation unit 1211] The common signal refinement weight estimation unit 1211 estimates the common signal refinement weight α M The common signal refinement weight estimation unit 1211 obtains and outputs the common signal refinement weight α M The common signal refinement weight α obtained by the common signal refinement weight estimation unit 1211 is obtained. M is a value between 0 and 1. However, the common signal refinement weight estimation unit 1211 estimates the common signal refinement weight α M Therefore, the common signal refinement weight α M can never be 0 or 1. That is, the common signal refinement weight α M There are frames where the value is greater than 0 and less than 1. In other words, in at least some of all frames, the common signal refinement weight α M is a value greater than 0 and less than 1.
[0105] Specifically, as in the following first to seventh examples, the common signal refining weight estimator 1211 estimates the n-th channel decoded sound signal ^X n The n-th channel decoded sound signal ^X n Instead of the decoded common signal ^Y M In the method based on the principle of minimizing the quantization error described in the first embodiment, the number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS is calculated using the above formula. n The places where n Instead of the number of bits of the stereo code CS, the number of bits corresponding to the common signal is b m Using the common component signal weight α M That is, in the first to seventh examples below, the number of bits of the monaural code CM is b M and the number of bits corresponding to the common signal among the number of bits of the stereo code CS, b m The number of bits of the monaural code CM is b M The method of identifying the common signal is the same as that of the first embodiment, so the number of bits b corresponding to the common signal among the number of bits of the stereo code CS is mA method for identifying the decoded sound common signal ^Y output from decoded sound common signal estimation unit 1251 will be described before describing the first to seventh examples. M ={^y M (1), ^y M (2), ..., ^y M (T)} and the monaural decoded sound signal ^X input to the sound signal refinement device 1101 M ={^x M (1), ^x M (2), ..., ^x M (T)} is entered.
[0106] [The number of bits b of the stereo code CS m How to identify [[The number of bits b of the stereo code CS m The first way to identify The common signal refining weight estimation unit 1211 estimates the number of bits b s The value obtained by multiplying this by a predetermined value that is greater than 0 and less than 1 is called b m That is, the number of bits b of the stereo code CS in the decoding method used by the stereo decoding unit 620 is used as s is the same for all frames, the number of bits b of the stereo code CS is stored in a storage unit (not shown) in the common signal refining weight estimation unit 1211. S The value obtained by multiplying this by a predetermined value greater than 0 and less than 1 is expressed as the number of bits b m The number of bits b of the stereo code CS in the decoding method used by the stereo decoding unit 620 may be stored as s may vary depending on the frame, the common signal refining weight estimator 1211 uses the number of bits b s The value obtained by multiplying this by a predetermined value that is greater than 0 and less than 1 is called b m For example, the common signal refining weight estimation unit 1211 may use the reciprocal of the number of channels as a predetermined value greater than 0 and less than 1. That is, the common signal refining weight estimation unit 1211 may use the number of bits b s Divide by the number of channels andm It may also be used as.
[0107] [[The number of bits b of the stereo code CS m Second method for identifying The common signal refining weight estimation unit 1211 calculates b for each frame using the inter-channel correlation coefficient γ. m If the correlation between channels is high, the number of bits of the stereo code CS, b S Most of the bits are used to express signal components common to the channels, and when the correlation between the channels is low, it is expected that the number of bits used is nearly equal to the number of channels. Therefore, in the second method, the common signal refining weight estimator 1211 increases the number of bits b as the inter-channel correlation coefficient γ approaches 1. s Values close to b m The closer the inter-channel correlation coefficient γ is to 0, the s Divide by the number of channels and set the value close to b m Note that when the second method is used, the sound signal refining device 1201 also includes an inter-channel relationship information estimation unit 1231 in order to obtain the inter-channel correlation coefficient γ, as indicated by a dashed line in Fig. 9, and the inter-channel relationship information estimation unit 1231 obtains the inter-channel correlation coefficient γ as described above in the description of [[Second method for obtaining decoded sound common component signal]] and the description of the inter-channel relationship information estimation unit 1132 in the second embodiment.
[0108] [[First Example]] The common signal refining weight estimation unit 1211 of the first example estimates the number of samples per frame T and the number of bits b corresponding to the common signal among the number of bits of the stereo code CS. m and the number of bits of the monaural code CM, b M Using these, the common signal refinement weight α is calculated using the following equation (4-5). M get.
number
[0109] [[Second Example]] The common signal refining weight estimation unit 1211 in the second example estimates the number of bits b corresponding to the common signal among the number of bits of the stereo code CS. m and the number of bits of the monaural code CM, b M and b are at least 0 or more and less than 1. m and b M is equal to 0.5, and b m B M The more the value, the closer it is to 0 than 0.5, and b M B m The more the value is closer to 1 than 0.5, the more the common signal refinement weight α M Obtain as.
[0110] [[Example 3]] The common signal refining weight estimation unit 1211 of the third example estimates the common signal by dividing the number of samples per frame T and the number of bits b corresponding to the common signal among the number of bits of the stereo code CS. m and the number of bits of the monaural code CM, b M Using
number
[0111] The common signal refinement weight estimation unit 1211 of the third example performs, for example, the following steps S1211-31-n to S1211-33-n to estimate the common signal refinement weight α M The common signal refinement weight estimation unit 1211 first obtains the decoded sound common signal ^Y M ={^y M (1), ^y M (2), ..., ^y M (T)} and monaural decoded sound signal ^X M ={^x M (1), ^xM (2), ..., ^x M (T)}, the decoded common signal ^Y M Mono decoded sound signal ^X M The normalized dot product value r M (step S1211-31-n).
number
[0112] [[Example 4]] The common signal refining weight estimation unit 1211 of the fourth example sets the number of bits corresponding to the common signal among the number of bits of the stereo code CS as b m Let the number of bits of the monaural code CM be b M , the value is between 0 and 1, and the decoded common signal ^Y M and mono decoded sound signal ^X M The higher the correlation between the two, the closer to 1 the value is, and the lower the correlation, the closer to 0 the value is. M and b is a value greater than 0 and less than 1. m and b M is the same, it is 0.5, and b m B M The more, the closer to 0 than 0.5, the more m B MThe smaller the correction coefficient c, the closer it is to 1 than 0.5 M The value c obtained by multiplying M ×r M The common signal refinement weight α M Obtain as.
[0113] [[Example 5]] The common signal refinement weight estimation unit 1211 of the fifth example performs the following steps S1211-51 to S1211-55 to estimate the common signal refinement weight α M get.
[0114] First, the common signal refining weight estimation unit 1211 estimates the decoded sound common signal ^Y M ={^y M (1), ^y M (2), ..., ^y M (T)} and the monaural decoded sound signal ^X M ={^x M (1), ^x M (2), ..., ^x M (T)} and the dot product value E used in the previous frame m (-1) and the inner product value E to be used in the current frame is calculated using the following equation (4-9). m (0) is obtained (step S1211-51).
number
[0115] The common signal refining weight estimation unit 1211 also estimates the monaural decoded sound signal ^X M ={^x M (1), ^x M (2), ..., ^x M(T)} and the energy E of the monaural decoded sound signal used in the previous frame M (-1) and the energy E of the monaural decoded sound signal used in the current frame is calculated by the following equation (4-10). M (0) is obtained (step S1211-52).
number
[0116] Next, the common signal refining weight estimation unit 1211 calculates the inner product value E m (0) and the energy E of the monaural decoded sound signal used in the current frame obtained in step S1211-52. M (0) is used to normalize the dot product value r M is obtained using the following equation (4-11) (step S1211-53).
number
[0117] The common signal refining weight estimator 1211 also calculates the correction coefficient c M (step S1211-54). The common signal refinement weight estimation unit 1211 then obtains the normalized inner product value r obtained in step S1211-53. M and the correction coefficient c obtained in step S1211-54 M The value c multiplied by M ×r M The common signal refinement weight α M (step S1211-55).
[0118] That is, the common signal refining weight estimation unit 1211 of the fifth example estimates the decoded sound common signal ^Y M Each sample value of ^y M (t) and monaural decoded sound signal ^X M Each sample value of ^x M (t) and the dot product value E of the previous frame m (-1) and the inner product value E obtained by equation (4-9) m (0) and monaural decoded sound signal ^X M Each sample value of ^x M (t) and the energy E of the monaural decoded sound signal of the previous frame M (-1) and the energy E of the monaural decoded sound signal obtained by equation (4-10) M (0) and the normalized inner product value r obtained by equation (4-11) using M and the number of samples per frame T and the number of bits corresponding to the common signal among the number of bits of the stereo code CS, b m and the number of bits of the monaural code CM, b M The correction coefficient c obtained by using equation (4-8) M The value c obtained by multiplying M ×r M The common signal refinement weight α M Obtain as.
[0119] [[Example 6]] The common signal refining weight estimator 1211 in the sixth example uses the normalized inner product value r M and the correction factor c M , or the normalized dot product value r explained in the fifth example M and the correction factor c M , and λ, a predetermined value greater than 0 and less than 1, multiplied by λ × c M ×r M The common signal refinement weight α M Obtain as.
[0120] [[Example 7]] The common signal refining weight estimator 1211 in the seventh example uses the normalized inner product value r M and the correction factor c M, or the normalized dot product value r explained in the fifth example M and the correction factor c M , and the inter-channel correlation coefficient γ, which is the correlation coefficient between the first channel decoded sound signal and the second channel decoded sound signal, M ×r M The common signal refinement weight α M The sound signal refining device 1201 of the seventh example also includes an inter-channel relationship information estimation unit 1231 as indicated by a dashed line in Fig. 9 in order to obtain the inter-channel correlation coefficient γ, and the inter-channel relationship information estimation unit 1231 obtains the inter-channel correlation coefficient γ as described above in the description of [[Second method for obtaining a decoded sound common component signal]] and the description of the inter-channel relationship information estimation unit 1132 of the second embodiment.
[0121] [Common Signal Refining Unit 1221] The common signal refining unit 1221 receives the decoded sound common signal ^Y M ={^y M (1), ^y M (2), ..., ^y M (T)} and the monaural decoded sound signal ^X input to the sound signal refinement device 1201 M ={^x M (1), ^x M (2), ..., ^x M (T)} and the common signal refinement weight α output by the common signal refinement weight estimation unit 1211. M The common signal refinement unit 1221 receives the common signal refinement weight α M and mono decoded sound signal ^X M Sample value of ^x M (t) multiplied by α M ×^x M (t) and the common signal refinement weight α M The value obtained by subtracting (1-α M ) and the decoded common signal ^Y M Sample value of ^y M (t) multiplied by (1-α M )×^y M (t) and the sum of ~y M (t) is the refined common signal ~YM ={~y M (1), ~y M (2), ..., ~y M (T)} and output it (step S1221). M (t)=(1-α M )×^y M (t)+α M ×^x M (t).
[0122] [n-th channel separation and coupling weight estimation unit 1281-n] The n-th channel separation and coupling weight estimation unit 1281-n receives the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} and the decoded sound common signal ^Y M ={^y M (1), ^y M (2), ..., ^y M (T)} is input to the n-th channel separation and combining weight estimation unit 1281-n. n and the decoded common signal ^Y M From this, the n-th channel decoded sound signal ^X n Decoded common signal ^Y M The normalized inner product value for the n-th channel separation coupling weight β n (Step S1281-n). The n-th channel separation combining weight β n Specifically, it is as shown in equation (43).
number
[0123] [nth channel separation and coupling unit 1291-n] The n-th channel separation and combination unit 1291-n receives the n-th channel decoded sound signal ^X n ={^x n (1), ^x n(2), ..., ^x n (T)} and the decoded sound common signal ^Y M ={^y M (1), ^y M (2), ..., ^y M (T)} and the refined common signal ∼Y output by the common signal refinement unit 1221. M ={~y M (1), ~y M (2), ..., ~y M (T)} and the n-th channel separation coupling weight β output by the n-th channel separation coupling weight estimator 1281-n. n The n-th channel separation and combination unit 1291-n receives the n-th channel decoded sound signal ^X n Sample value of ^x n From (t), the n-th channel separation weight β n and the decoded common signal ^Y M Sample value of ^y M (t) multiplied by β n ×^y M (t) is subtracted, and the n-th channel separation weight β n and the refined common signal ~Y M Sample value of ~y M (t) multiplied by β n ×~y M The value obtained by adding (t) is ~x n (t) is the n-th channel refined decoded sound signal ~X n ={~x n (1), ~x n (2), ..., ~x n (T)} and output it (step S1291-n). n (t)=^x n (t)-β n ×^y M (t)+β n ×~y M (t).
[0124] [Modification of the fourth embodiment] In a case where the sound signal refining device 1201 uses inter-channel relationship information and the stereo decoding unit 620 of the decoding device 600 has obtained at least any of the inter-channel relationship information used by the sound signal refining device 1201, the inter-channel relationship information obtained by the stereo decoding unit 620 of the decoding device 600 may be input to the sound signal refining device 1201, and the sound signal refining device 1201 may use the input inter-channel relationship information.
[0125] In addition, in the case where the sound signal refining device 1201 uses inter-channel relationship information, and the inter-channel relationship information code CC obtained and output by an inter-channel relationship information encoding unit (not shown) provided in the encoding device 500 described above contains at least any of the inter-channel relationship information used by the sound signal refining device 1201, a code representing the inter-channel relationship information used by the sound signal refining device 1201 contained in the inter-channel relationship information code CC may be input to the sound signal refining device 1201, and the sound signal refining device 1201 may be provided with an inter-channel relationship information decoding unit (not shown), which decodes the code representing the inter-channel relationship information to obtain and output the inter-channel relationship information.
[0126] In other words, if all of the inter-channel relationship information used by the sound signal refining device 1201 is input to the sound signal refining device 1201 or obtained by an inter-channel relationship information decoding unit, the sound signal refining device 1201 does not need to be equipped with an inter-channel relationship information estimation unit 1231.
[0127] <Fifth embodiment> The sound signal refining device of the fifth embodiment, like the sound signal refining device of the fourth embodiment, improves the decoded sound signals of each stereo channel by using a monaural decoded sound signal obtained from a code different from the code from which the decoded sound signal was obtained. The sound signal refining device of the fifth embodiment differs from the sound signal refining device of the fourth embodiment in that the sound signal refining device uses a signal obtained by upmixing a monaural decoded sound signal for each channel, rather than the monaural decoded sound signal itself, and uses a signal obtained by upmixing a decoded sound common signal for each channel, rather than the decoded sound common signal itself. The sound signal refining device of the fifth embodiment will be described below using an example in which the number of stereo channels is two, focusing on the differences from the sound signal refining device of the fourth embodiment, with appropriate reference to the sound signal refining devices of the above-mentioned embodiments.
[0128] <Sound signal refining device 1202> The sound signal refining device 1202 of the fifth embodiment includes an inter-channel relationship information estimation unit 1232, a decoded sound common signal estimation unit 1251, a common signal refinement weight estimation unit 1211, a common signal refinement unit 1221, a decoded sound common signal upmixing unit 1262, a refined common signal upmixing unit 1272, a first channel separation and combining weight estimation unit 1282-1, a first channel separation and combining unit 1292-1, a second channel separation and combining weight estimation unit 1282-2, and a second channel separation and combining unit 1292-2, as illustrated in FIG 11. The sound signal refining device 1202 performs steps S1232, S1251, S1211, S1221, S1262, and S1272 for each frame, and steps S1282-n and S1292-n for each channel, as illustrated in FIG 12.
[0129] [Inter-channel relationship information estimation unit 1232] The inter-channel relationship information estimation unit 1232 receives at least the first channel decoded sound signal ^X1 input to the sound signal refining device 1202 and the second channel decoded sound signal ^X2 input to the sound signal refining device 1202. The inter-channel relationship information estimation unit 1232 obtains and outputs inter-channel relationship information using at least the first channel decoded sound signal ^X1 and the second channel decoded sound signal ^X2 (step S1232). The inter-channel relationship information is information that indicates a relationship between stereo channels. Examples of the inter-channel relationship information are an inter-channel time difference τ, an inter-channel correlation coefficient γ, and preceding channel information. The inter-channel relationship information estimation unit 1232 may obtain multiple types of inter-channel relationship information, for example, the inter-channel time difference τ, the inter-channel correlation coefficient γ, and preceding channel information. As a method for the inter-channel relationship information estimation unit 1232 to obtain the inter-channel time difference τ and the inter-channel correlation coefficient γ, for example, the method described above in the description of the inter-channel relationship information estimation unit 1132 of the second embodiment may be used. When the decoded sound common signal estimation unit 1251 uses the preceding channel information, the inter-channel relationship information estimation unit 1232 obtains the preceding channel information. As a method for the inter-channel relationship information estimation unit 1232 to obtain the preceding channel information, for example, the method described above in the description of the inter-channel relationship information estimation unit 1231 of the fourth embodiment may be used. Note that the inter-channel time difference τ obtained by the method described above in the description of the inter-channel relationship information estimation unit 1132 includes information indicating the number of samples |τ| corresponding to the time difference between the first channel and the second channel and information indicating which of the first channel and the second channel is preceding, so when the inter-channel relationship information estimation unit 1232 obtains and outputs the preceding channel information, it may obtain and output information indicating the number of samples |τ| corresponding to the time difference between the first channel and the second channel instead of the inter-channel time difference τ.
[0130] [Decoded sound common signal estimation unit 1251] The decoded sound common signal estimation unit 1251, like the decoded sound common signal estimation unit 1251 of the fourth embodiment, estimates the decoded sound common component signal ^Y M is obtained and output (step S1251).
[0131] [Common signal refinement weight estimation unit 1211] The common signal refinement weight estimator 1211 estimates the common signal refinement weight α M is obtained and output (step 1211).
[0132] [Common Signal Refining Unit 1221] The common signal refining unit 1221, like the common signal refining unit 1221 in the fourth embodiment, M is obtained and output (step S1221).
[0133] [Decoded audio common signal upmix unit 1262] The decoded sound common signal upmixer 1262 receives the decoded sound common signal ^Y M ={^y M (1), ^y M (2), ..., ^y M (T)} and the inter-channel relation information output by the inter-channel relation information estimation unit 1232. The decoded sound common signal upmixer 1262 upmixes the decoded sound common signal ^Y M ={^y M (1), ^y M (2), ..., ^y M (T)} and the inter-channel relationship information, the decoded sound common signal is upmixed for each channel to perform an upmix process to obtain the n-th channel upmixed common signal ^Y Mn ={^y Mn (1), ^y Mn (2), ..., ^y Mn The decoded sound common signal upmixing unit 1262 obtains and outputs the n-th channel upmixed common signal ^Y Mn All you need to do is obtain the following.
[0134] [[First method for obtaining an n-th channel upmixed common signal] The decoded sound common signal upmix unit 1262 performs the same process as the monaural decoded sound upmix unit 1172 of the second embodiment on the monaural decoded sound signal ^X M Decode the common audio signal ^Y M and the n-th channel upmixed mono decoded sound signal ^X Mn nth channel upmixed common signal ^Y Mn By replacing this with the n-th channel upmixed common signal ^Y Mn That is, when the first channel is preceding, the decoded sound common signal upmix unit 1262 obtains the decoded sound common signal ^Y M ={^y M (1), ^y M (2), ..., ^y M (T)} is directly mixed with the first channel common signal ^Y M1 ={^y M1 (1), ^y M1 (2), ..., ^y M1 (T)}, and the decoded common signal is delayed by |τ| samples to produce a signal {^y M (1-|τ|), ^y M (2-|τ|), ..., ^y M (T-|τ|)} to the second channel upmixed common signal ^Y M2 ={^y M2 (1), ^y M2 (2), ..., ^y M2 When the second channel is leading, the decoded sound common signal upmixer 1262 outputs a signal {^y M (1-|τ|), ^y M (2-|τ|), ..., ^y M (T-|τ|)} to the first channel upmixed common signal ^Y M1 ={^y M1 (1), ^y M1 (2), ..., ^y M1 (T)} and the decoded common signal ^Y M ={^y M (1), ^y M (2), ..., ^yM (T)} is directly upmixed to the second channel common signal ^Y M2 ={^y M2 (1), ^y M2 (2), ..., ^y M2 When no channel is ahead, the decoded sound common signal upmixer 1262 outputs the decoded sound common signal ^Y M ={^y M (1), ^y M (2), ..., ^y M (T)} is directly mixed with the first channel common signal ^Y M1 ={^y M1 (1), ^y M1 (2), ..., ^y M1 (T)} and the second channel upmixed common signal ^Y M2 ={^y M2 (1), ^y M2 (2), ..., ^y M2 (T)}.
[0135] [[Second method for obtaining n-th channel upmixed common signal] When the correlation between channels is small, the decoded common signal ^Y M A good n-th channel upmixed common signal ^Y Mn Therefore, the decoded sound common signal upmixer 1262 may not be able to obtain the decoded sound common signal ^Y M and the decoded sound signal for each channel ^X n The weighted average of the n-th channel upmixed common signal ^Y Mn In the second method, the decoded sound common signal upmixer 1262 obtains the n-th channel upmixed common signal ^Y Mn ={^y Mn (1), ^y Mn (2), ..., ^y Mn (T)} are each converted into a provisional n-th channel upmixed common signal Y' Mn ={y' Mn(1), y' Mn (2), ..., y' Mn (T)} (i.e., the same processing as in the first method is performed on the n-th channel upmixed common signal ^Y Mn The provisional n-th channel upmixed common signal Y' Mn By replacing this with the above, the provisional n-th channel upmixed common signal Y' Mn ={y' Mn (1), y' Mn (2), ..., y' Mn (T)}, and for each corresponding sample t, n (t) and the provisional n-th channel upmixed common signal y' Mn Using (t) and the inter-channel correlation coefficient γ, ^y Mn The sequence by (n) is the nth channel upmixed common signal ^Y Mn ={^y Mn (1), ^y Mn (2), ..., ^y Mn (T)}.
number
[0136] [Refined common signal upmix section 1272] The refined common signal upmix unit 1272 receives the refined common signal ∼Y output from the common signal refinement unit 1221. M ={~y M (1), ~y M (2), ..., ~y M (T)} and the inter-channel relationship information output by the inter-channel relationship information estimation unit 1232. The refined common signal upmixer 1272 receives the refined common signal ∼Y M ={~yM (1), ~y M (2), ..., ~y M (T)} and the inter-channel relationship information, the refined common signal is upmixed for each channel to produce an n-th channel upmixed refined signal ∼Y Mn ={~y Mn (1), ~y Mn (2), ..., ~y Mn (T)} and outputs it (step S1272). The refined common signal upmixer 1272 performs the same process as the monaural decoded sound upmixer 1172 of the second embodiment on the monaural decoded sound signal ^X M The refined common signal ~Y M and the n-th channel upmixed mono decoded sound signal ^X Mn nth channel upmixed refined signal ~Y Mn This can be read as follows.
[0137] [n-th channel separation and coupling weight estimation unit 1282-n] The n-th channel separation and coupling weight estimation unit 1282-n receives the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)}, and the n-th channel upmixed common signal ^Y Mn ={^y Mn (1), ^y Mn (2), ..., ^y Mn (T)} is input to the n-th channel separation and combining weight estimation unit 1282-n. n and the nth channel upmixed common signal ^Y Mn From this, the n-th channel decoded sound signal ^X n n-th channel upmixed common signal ^Y Mn The normalized inner product value for the n-th channel separation coupling weight β n and output (step S1282-n).n Specifically, it is expressed as equation (52).
number
[0138] [nth channel separation and coupling unit 1292-n] The n-th channel separation and combination unit 1292-n receives the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)}, and the n-th channel upmixed common signal ^Y Mn ={^y Mn (1), ^y Mn (2), ..., ^y Mn (T)}, and the n-th channel upmixed refined signal ∼Y output by the refined common signal upmix unit 1272. Mn ={~y Mn (1), ~y Mn (2), ..., ~y Mn (T)} and the n-th channel separation coupling weight β output by the n-th channel separation coupling weight estimator 1282-n. n The n-th channel separation and combination unit 1292-n receives the n-th channel decoded sound signal ^X n Sample value of ^x n From (t), the n-th channel separation weight β n and the nth channel upmixed common signal ^Y Mn Sample value of ^y Mn (t) multiplied by β n ×^y Mm (t) is subtracted, and the n-th channel separation weight β n and the nth channel upmixed refined signal ~Y Mn Sample value of ~y Mn (t) multiplied by β n ×~y Mn The value obtained by adding (t) is ~x n (t) is the n-th channel refined decoded sound signal ~Xn ={~x n (1), ~x n (2), ..., ~x n (T)} and output it (step S1292-n). n (t)=^x n (t)-β n ×^y Mn (t)+β n ×~y Mn (t).
[0139] Sixth embodiment Like the sound signal refining devices of the fourth and fifth embodiments, the sound signal refining device of the sixth embodiment improves the decoded sound signals of each stereo channel by using a monaural decoded sound signal obtained from a code different from the code from which the decoded sound signal was obtained. The sound signal refining device of the sixth embodiment differs from the sound signal refining device of the fifth embodiment in that inter-channel relationship information is obtained from a code rather than from a decoded sound signal. Below, the sound signal refining device of the sixth embodiment will be described in terms of the differences from the sound signal refining device of the fifth embodiment, using an example in which the number of stereo channels is two.
[0140] <Sound signal refining device 1203> The sound signal refining device 1203 of the sixth embodiment includes an inter-channel relationship information decoding unit 1243, a decoded sound common signal estimation unit 1251, a common signal refinement weight estimation unit 1211, a common signal refinement unit 1221, a decoded sound common signal upmixing unit 1262, a refined common signal upmixing unit 1272, a first channel separation and combining weight estimation unit 1282-1, a first channel separation and combining unit 1292-1, a second channel separation and combining weight estimation unit 1282-2, and a second channel separation and combining unit 1292-2, as illustrated in FIG 13. The sound signal refining device 1203 performs steps S1243, S1251, S1211, S1221, S1262, and S1272 for each frame, and steps S1282-n and S1292-n for each channel, as illustrated in FIG 14. The sound signal refining device 1203 of the sixth embodiment differs from the sound signal refining device 1202 of the fifth embodiment in that an inter-channel relationship information decoding unit 1243 is provided instead of the inter-channel relationship information estimation unit 1232, and step S1243 is performed instead of step S1232. In addition, an inter-channel relationship information code CC of each frame is also input to the sound signal refining device 1203 of the sixth embodiment. The inter-channel relationship information code CC may be a code obtained and output by an inter-channel relationship information encoding unit (not shown) provided in the encoding device 500 described above, or may be a code included in the stereo code CS obtained and output by the stereo encoding unit 530 of the encoding device 500 described above. The differences between the sound signal refining device 1203 of the sixth embodiment and the sound signal refining device 1202 of the fifth embodiment will be described below.
[0141] [Inter-channel relationship information decoding unit 1243] The inter-channel relationship information code CC input to the sound signal refining device 1203 is input to the inter-channel relationship information decoding unit 1243. The inter-channel relationship information decoding unit 1243 decodes the inter-channel relationship information code CC to obtain and output inter-channel relationship information (step S1243). The inter-channel relationship information obtained by the inter-channel relationship information decoding unit 1243 is the same as the inter-channel relationship information obtained by the inter-channel relationship information estimation unit 1232 in the fifth embodiment.
[0142] [Modification of the sixth embodiment] When the inter-channel relationship information code CC is a code included in the stereo code CS, the same inter-channel relationship information as that obtained in step S1243 is obtained by decoding in the stereo decoding unit 620 of the decoding device 600. Therefore, when the inter-channel relationship information code CC is a code included in the stereo code CS, the inter-channel relationship information obtained by the stereo decoding unit 620 of the decoding device 600 may be input to the sound signal refining device 1203 of the sixth embodiment, and the sound signal refining device 1203 of the sixth embodiment may not include the inter-channel relationship information decoding unit 1243 and may not perform step S1243.
[0143] Furthermore, in the case where only a portion of the inter-channel relationship information code CC is a code included in the stereo code CS, the inter-channel relationship information obtained by the stereo decoding unit 620 of the decoding device 600 decoding the code included in the stereo code CS of the inter-channel relationship information code CC is input to the sound signal refining device 1203 of the sixth embodiment, and the inter-channel relationship information decoding unit 1243 of the sound signal refining device 1203 of the sixth embodiment decodes the code not included in the stereo code CS of the inter-channel relationship information code CC in step S1243, and obtains and outputs the inter-channel relationship information that was not input to the sound signal refining device 1203.
[0144] Furthermore, if a code corresponding to a part of the inter-channel relationship information used by each unit of the sound signal refining device 1203 is not included in the inter-channel relationship information code CC, the sound signal refining device 1203 of the sixth embodiment may also include an inter-channel relationship information estimation unit 1232, which may also perform step S1232. In this case, the inter-channel relationship information estimation unit 1232 may obtain and output inter-channel relationship information that cannot be obtained by decoding the inter-channel relationship information code CC, among the inter-channel relationship information used by each unit of the sound signal refining device 1203, in the same manner as in step S1232 of the fifth embodiment.
[0145] Seventh embodiment Like the sound signal refining devices of the first to sixth embodiments, the sound signal refining device of the seventh embodiment improves the decoded sound signals of each stereo channel by using a monaural decoded sound signal obtained from a code different from the code from which the decoded sound signals were obtained. Hereinafter, the sound signal refining device of the seventh embodiment will be described using an example in which the number of stereo channels is two, with appropriate reference to the sound signal refining devices of the above-mentioned embodiments.
[0146] As shown in FIG. 15 , the sound signal refining device 1301 of the seventh embodiment includes an inter-channel relationship information estimation unit 1331, a decoded sound common signal estimation unit 1351, a decoded sound common signal upmixing unit 1361, a monaural decoded sound upmixing unit 1371, a first channel refinement weight estimation unit 1311-1, a first channel signal refinement unit 1321-1, a first channel separation and combining weight estimation unit 1381-1, a first channel separation and combining unit 1391-1, a second channel refinement weight estimation unit 1311-2, a second channel signal refinement unit 1321-2, a second channel separation and combining weight estimation unit 1381-2, and a second channel separation and combining unit 1391-2. The sound signal refining device 1301 obtains, for each stereo channel, a refined upmixed signal that is an improved sound signal from an upmixed common signal obtained by upmixing a decoded sound common signal that is a signal common to all channels of stereo decoded sound, and an upmixed monaural decoded sound signal obtained by upmixing a monaural decoded sound signal, in units of frames having a predetermined time length of, for example, 20 ms, and obtains and outputs a refined decoded sound signal that is an improved sound signal from the decoded sound signal, the upmixed common signal, and the refined upmixed signal. The decoded sound signal of each channel input to the sound signal refining device 1301 in units of frames is, for example, a refined decoded sound signal obtained by improving the decoded sound signal from the decoded sound signal, the upmixed common signal, and the refined upmixed signal, without using information obtained by decoding the monaural code CM by the stereo decoding unit 620 of the above-mentioned decoding device 600 or the monaural code CM. SThe first channel decoded sound signal ^X1={^x1(1), ^x1(2), ..., ^x1(T)} of T samples obtained by decoding the 1-bit stereo code CS and the second channel decoded sound signal ^X2={^x2(1), ^x2(2), ..., ^x2(T)} of T samples are obtained. The monaural decoded sound signal input to the sound signal refining device 1301 on a frame-by-frame basis is, for example, a monaural decoding unit 610 of the above-described decoding device 600 that decodes the stereo code CS by decoding a code b different from the stereo code CS without using the stereo code CS or the information obtained by decoding the stereo code CS. M A monaural decoded sound signal ^X of T samples obtained by decoding the 1-bit monaural code CM. M ={^x M (1), ^x M (2), ..., ^x M 16, the sound signal refining device 1301 performs steps S1331, S1351, S1361, and S1371 for each frame, and steps S1311-n, S1321-n, S1381-n, and S1391-n for each channel. The monaural code CM is derived from the same sound signal as the sound signal from which the stereo code CS is derived (i.e., the first channel input sound signal X1 and the second channel input sound signal X2 input to the encoding device 500), but is a different code from the code from which the first channel decoded sound signal ^X1 and the second channel decoded sound signal ^X2 are obtained (i.e., the stereo code CS). If the channel number n of the first channel is 1 and the channel number n of the second channel is 2, the sound signal refining device 1301 performs steps S1331, S1351, S1361, and S1371 for each frame, and steps S1311-n, S1321-n, S1381-n, and S1391-n for each channel, as shown in FIG.
[0147] [Inter-channel relationship information estimation unit 1331] The inter-channel relationship information estimation unit 1331 receives at least the first channel decoded sound signal ^X1 input to the sound signal refining device 1301 and the second channel decoded sound signal ^X2 input to the sound signal refining device 1301. The inter-channel relationship information estimation unit 1331 obtains and outputs inter-channel relationship information using at least the first channel decoded sound signal ^X1 and the second channel decoded sound signal ^X2 (step S1331). The inter-channel relationship information is information that indicates a relationship between stereo channels. Examples of the inter-channel relationship information are an inter-channel time difference τ, an inter-channel correlation coefficient γ, and preceding channel information. The inter-channel relationship information estimation unit 1331 may obtain multiple types of inter-channel relationship information, for example, the inter-channel time difference τ, the inter-channel correlation coefficient γ, and preceding channel information. As a method for the inter-channel relationship information estimation unit 1331 to obtain the inter-channel time difference τ and the inter-channel correlation coefficient γ, for example, the method described above in the description of the inter-channel relationship information estimation unit 1132 of the second embodiment may be used. When the decoded sound common signal estimation unit 1351 uses the preceding channel information, the inter-channel relationship information estimation unit 1331 obtains the preceding channel information. As a method for the inter-channel relationship information estimation unit 1331 to obtain the preceding channel information, for example, the method described above in the description of the inter-channel relationship information estimation unit 1231 of the fourth embodiment may be used. Note that the inter-channel time difference τ obtained by the method described above in the description of the inter-channel relationship information estimation unit 1132 includes information indicating the number of samples |τ| corresponding to the time difference between the first channel and the second channel and information indicating which of the first channel and the second channel is preceding, so when the inter-channel relationship information estimation unit 1331 obtains and outputs the preceding channel information, it may obtain and output information indicating the number of samples |τ| corresponding to the time difference between the first channel and the second channel instead of the inter-channel time difference τ.
[0148] [Decoded sound common signal estimation unit 1351] At least the first channel decoded sound signal ^X1={^x1(1), ^x1(2), ..., ^x1(T)} and the second channel decoded sound signal ^X2={^x2(1), ^x2(2), ..., ^x2(T)} input to the sound signal refining device 1301 are input to the decoded sound common signal estimation unit 1351. Using at least the first channel decoded sound signal ^X1 and the second channel decoded sound signal ^X2, the decoded sound common signal estimation unit 1351 derives the decoded sound common signal ^Y M ={^y M (1), ^y M (2), ..., ^y M (T)} and outputs it (step S1351). M To obtain this, for example, the method described above in the explanation of decoded sound common signal estimation unit 1251 in the fourth embodiment may be used.
[0149] [Decoded audio common signal upmix unit 1361] The decoded sound common signal upmixer 1361 receives the decoded sound common component signal ^Y M ={^y M (1), ^y M (2), ..., ^y M (T)} and the inter-channel relation information output by the inter-channel relation information estimation unit 1331. The decoded sound common signal upmixer 1361 upmixes the decoded sound common signal ^Y M ={^y M (1), ^y M (2), ..., ^y M (T)} and the inter-channel relationship information, the decoded sound common signal is upmixed for each channel to perform an upmix process to obtain the n-th channel upmixed common signal ^Y Mn ={^y Mn (1), ^y Mn (2), ..., ^y Mn15 , the first channel decoded sound signal input to the sound signal refining device 1301 and the second channel decoded sound signal input to the sound signal refining device 1301 are also input to the decoded sound common signal upmixing unit 1361. The decoded sound common signal upmixing unit 1361 may perform the same processing as the decoded sound common signal upmixing unit 1262 of the fifth embodiment. That is, for example, the first method or the second method described above in the description of the decoded sound common signal upmixing unit 1262 of the fifth embodiment may be performed. Note that when the decoded sound common signal upmixing unit 1262 performs the second method, the first channel decoded sound signal input to the sound signal refining device 1301 and the second channel decoded sound signal input to the sound signal refining device 1301 are also input to the decoded sound common signal upmixing unit 1361, as shown by the dashed lines in FIG. 15 .
[0150] [Mono decoded sound upmix section 1371] The monaural decoded sound upmix unit 1371 receives the monaural decoded sound signal ^X input to the sound signal refinement device 1301. M ={^x M (1), ^x M (2), ..., ^x M (T)} and the inter-channel relation information output by the inter-channel relation information estimation unit 1331. The monaural decoded sound upmixer 1371 receives the monaural decoded sound signal ^X M ={^x M (1), ^x M (2), ..., ^x M (T)} and the inter-channel relationship information, the n-th channel upmixed mono decoded sound signal ^X Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn (T)} and outputs it (step S1371). The monaural decoded sound upmixing unit 1371 may perform the same processing as the monaural decoded sound upmixing unit 1172 in the second embodiment.
[0151] [n-th channel refinement weight estimation unit 1311-n] The n-th channel refinement weight estimation unit 1311-n estimates the n-th channel refinement weight α MnThe n-th channel refinement weight estimation unit 1311-n obtains and outputs the n-th channel refinement weight α Mn The n-th channel refinement weight α obtained by the n-th channel refinement weight estimator 1311-n is obtained. Mn is a value between 0 and 1. Note that the n-th channel refinement weight estimation unit 1311-n estimates the n-th channel refinement weight α Mn Therefore, the n-th channel refinement weight α Mn never becomes 0 or 1. That is, the n-th channel refinement weight α Mn There are frames in which the n-th channel refinement weight α is greater than 0 and less than 1. In other words, in at least some of all frames, Mn is a value greater than 0 and less than 1.
[0152] Specifically, as in the following first to seventh examples, the n-th channel refinement weight estimation unit 1311-n estimates the n-th channel decoded sound signal ^X n The n-th channel decoded sound signal ^X n Instead of the n-th channel upmixed common signal ^Y Mn Using the above, the monaural decoded sound signal ^X M The monaural decoded sound signal ^X is used in the places where M Instead of the n-th channel upmixed mono decoded sound signal ^X Mn In the method based on the principle of minimizing the quantization error described in the first embodiment, the number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS is calculated using the above formula. n The places where n Instead of the number of bits of the stereo code CS, the number of bits corresponding to the common signal is b m Using the n-th channel refinement weight α Mn That is, in the first to seventh examples below, the number of bits of the monaural code CM is b Mand the number of bits corresponding to the common signal among the number of bits of the stereo code CS, b m The number of bits of the monaural code CM is b M The method of determining the number of bits b corresponding to the common signal among the number of bits of the stereo code CS is the same as that of the first embodiment. m The method of identifying the n-th channel refinement weight estimation unit 1311-n is the same as that of the fourth embodiment. As shown by the dashed line in FIG. 15, the n-th channel refinement weight estimation unit 1311-n may, if necessary, identify the n-th channel upmixed common signal ^Y Mn ={^y Mn (1), ^y Mn (2), ..., ^y Mn (T)}, and the n-th channel upmixed monaural decoded sound signal ^X output by the monaural decoded sound upmix unit 1371. Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn (T)} is entered.
[0153] [[First Example]] The n-th channel refinement weight estimation unit 1311-n in the first example is a unit that estimates the number of samples per frame T and the number of bits b corresponding to the common signal among the number of bits of the stereo code CS. m and the number of bits of the monaural code CM, b M Using the above, the n-th channel refinement weight α Mn get.
number
[0154] [[Second Example]] The n-th channel refinement weight estimation unit 1311-n in the second example is a bit number b corresponding to a common signal among the number of bits of the stereo code CS. m and the number of bits of the monaural code CM, b M and b are at least 0 or more and less than 1. m and b M is equal to 0.5, and b m B M The more the value, the closer it is to 0 than 0.5, and b M B m The more the value, the closer to 1 than 0.5, the more the nth channel refinement weight α Mn The n-th channel refinement weight α Mn may be the same value for all channels, so that the sound signal refining device 1301 includes a refinement weight estimator 1311 common to all channels, instead of the n-th channel refinement weight estimator 1311-n of each channel, and the refinement weight estimator 1311 determines the n-th channel refinement weight α common to all channels that satisfies the above-mentioned condition. Mn may be obtained.
[0155] [[Example 3]] The n-th channel refinement weight estimation unit 1311-n in the third example is a filter that estimates the number of samples per frame T and the number of bits b corresponding to the common signal among the number of bits of the stereo code CS. m and the number of bits of the monaural code CM, b M Using
number
[0156] The n-th channel refinement weight estimation unit 1311-n of the third example performs, for example, steps S1311-31-n to S1311-33-n described below to estimate the n-th channel refinement weight α Mn The n-th channel refinement weight estimation unit 1311-n first obtains the n-th channel upmixed common signal ^Y Mn ={^y Mn (1), ^y Mn (2), ..., ^y Mn (T)} and the n-th channel upmixed mono decoded sound signal ^X Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn (T)}, the n-th channel upmixed common signal ^Y Mn The n-th channel upmixed mono decoded sound signal ^X Mn The normalized dot product value r n (step S1311-31-n).
number
[0157] [[Example 4]] The n-th channel refinement weight estimation unit 1311-n in the fourth example determines the number of bits corresponding to the common signal among the number of bits of the stereo code CS as b m Let the number of bits of the monaural code CM be b M , the value of which is between 0 and 1, and the n-th channel upmixed common signal ^Y Mn and the n-th channel upmixed mono decoded sound signal ^X Mn The higher the correlation between the two, the closer to 1 the value is, and the lower the correlation, the closer to 0 the value is. n and b is a value greater than 0 and less than 1. m and b M is the same, it is 0.5, and b m B M The more, the closer to 0 than 0.5, the more m B M The smaller the correction coefficient c, the closer it is to 1 than 0.5 n The value c obtained by multiplying n ×r n The nth channel refinement weight α Mn Obtain as.
[0158] [[Example 5]] The n-th channel refinement weight estimation unit 1311-n in the fifth example performs the following steps S1311-51-n to S1311-55-n to estimate the n-th channel refinement weight α Mn get.
[0159] The n-th channel refinement weight estimation unit 1311-n first estimates the n-th channel upmixed common signal ^Y Mn ={^y Mn (1), ^y Mn (2), ..., ^y Mn (T)} and the n-th channel upmixed mono decoded sound signal ^X Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn (T)} and the dot product value E used in the previous frame n (-1), and the inner product value E to be used in the current frame is calculated using the following equation (7-9). n(0) is obtained (step S1311-51-n).
number
[0160] The n-th channel refinement weight estimation unit 1311-n also estimates the n-th channel upmixed monaural decoded sound signal ^X Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn (T)} and the energy E Mn (-1), the energy E of the n-th channel upmixed monaural decoded sound signal used in the current frame is calculated by the following equation (7-10). Mn (0) is obtained (step S1311-52-n).
number
[0161] Next, the n-th channel refinement weight estimation unit 1311-n calculates the inner product value E n (0), and the energy E Mn (0) is used to normalize the dot product value r n is obtained using the following equation (7-11) (step S1311-53-n).
number
[0162] The n-th channel refinement weight estimation unit 1311-n also calculates a correction coefficient c n (step S1311-54-n). The n-th channel refinement weight estimation unit 1311-n then obtains the normalized inner product value r n and the correction coefficient c obtained in step S1311-54-n n The value c multiplied by n ×r n The nth channel refinement weight α Mn (step S1311-55-n).
[0163] That is, the n-th channel refinement weight estimation unit 1311-n in the fifth example estimates the n-th channel upmixed common signal ^Y Mn Each sample value of ^y Mn (t) and the n-th channel upmixed mono decoded sound signal ^X Mn Each sample value of ^x Mn (t) and the dot product value E of the previous frame n (-1) and the inner product value E obtained by equation (7-9) n (0) and the n-th channel upmixed mono decoded sound signal ^X Mn Each sample value of ^x Mn (t) and the energy E of the n-th channel upmixed mono decoded sound signal of the previous frame Mn (-1) and the energy E of the n-th channel upmixed mono decoded sound signal obtained by equation (7-10)Mn (0) and the normalized inner product value r obtained by equation (7-11) using n and the number of samples per frame T and the number of bits corresponding to the common signal among the number of bits of the stereo code CS, b m and the number of bits of the monaural code CM, b M The correction coefficient c obtained by using equation (7-8) n The value c obtained by multiplying n ×r n The nth channel refinement weight α Mn Obtain as.
[0164] [[Example 6]] The n-th channel refinement weight estimation unit 1311-n in the sixth example uses the normalized inner product value r n and the correction factor c n , or the normalized dot product value r explained in the fifth example n and the correction factor c n , and λ, a predetermined value greater than 0 and less than 1, multiplied by λ × c n ×r n The nth channel refinement weight α Mn Obtain as.
[0165] [[Example 7]] The n-th channel refinement weight estimation unit 1311-n in the seventh example uses the normalized inner product value r n and the correction factor c n , or the normalized dot product value r explained in the fifth example n and the correction factor c n , and the inter-channel correlation coefficient γ obtained by the inter-channel relationship information estimation unit 1331, n ×r n The nth channel refinement weight α Mn Obtain as.
[0166] [nth channel signal purification unit 1321-n] The n-th channel signal refinement unit 1321-n receives the n-th channel upmixed common signal ^Y Mn ={^y Mn (1), ^yMn (2), ..., ^y Mn (T)}, and the n-th channel upmixed monaural decoded sound signal ^X output by the monaural decoded sound upmix unit 1371. Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn (T)} and the n-th channel refinement weight α output by the n-th channel refinement weight estimation unit 1311-n. Mn The n-th channel signal refining unit 1321-n receives the n-th channel refining weight α Mn and the n-th channel upmixed mono decoded sound signal ^X Mn Sample value of ^x Mn (t) multiplied by α Mn ×^x Mn (t) and the nth channel refinement weight α Mn The value obtained by subtracting (1-α Mn ) and the nth channel upmixed common signal ^Y Mn Sample value of ^y Mn (t) multiplied by (1-α Mn )×^y Mn (t) and the sum of ~y Mn (t) is converted into the n-th channel refined upmixed signal ~Y Mn ={~y Mn (1), ~y Mn (2), ..., ~y Mn (T)} and output it (step S1321-n). Mn (t)=(1-α Mn )×^y Mn (t)+α Mn ×^x Mn (t).
[0167] [n-th channel separation and coupling weight estimation unit 1381-n] The n-th channel separation and coupling weight estimation unit 1381-n receives the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n(T)}, and the n-th channel upmixed common signal ^Y Mn ={^y Mn (1), ^y Mn (2), ..., ^y Mn (T)} is input to the n-th channel separation and combining weight estimation unit 1381-n. n and the nth channel upmixed common signal ^Y Mn From this, the n-th channel decoded sound signal ^X n n-th channel upmixed common signal ^Y Mn The normalized inner product value for the n-th channel separation coupling weight β n and output (step S1381-n). n Specifically, it is as shown in equation (71).
number
[0168] [nth channel separation and coupling unit 1391-n] The n-th channel separation and combination unit 1391-n receives the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)}, and the n-th channel upmixed common signal ^Y Mn ={^y Mn (1), ^y Mn (2), ..., ^y Mn (T)}, and the n-th channel refined upmixed signal ∼Y Mn ={~y Mn (1), ~y Mn (2), ..., ~y Mn (T)} and the n-th channel separation coupling weight β output by the n-th channel separation coupling weight estimator 1381-n. nThe n-th channel separation and combination unit 1391-n receives the n-th channel decoded sound signal ^X n Sample value of ^x n From (t), the n-th channel separation weight β n and the nth channel upmixed common signal ^Y Mn Sample value of ^y Mn (t) multiplied by β n ×^y Mm (t) is subtracted, and the n-th channel separation weight β n and the nth channel refined upmixed signal ~Y Mn Sample value of ~y Mn (t) multiplied by β n ×~y Mn The value obtained by adding (t) is ~x n (t) is the n-th channel refined decoded sound signal ~X n ={~x n (1), ~x n (2), ..., ~x n (T)} and output it (step S1391-n). n (t)=^x n (t)-β n ×^y Mn (t)+β n ×~y Mn (t).
[0169] Eighth embodiment Like the sound signal refining device of the seventh embodiment, the sound signal refining device of the eighth embodiment improves the decoded sound signals of each stereo channel by using a monaural decoded sound signal obtained from a code different from the code from which the decoded sound signal was obtained. The sound signal refining device of the eighth embodiment differs from the sound signal refining device of the seventh embodiment in that inter-channel relationship information is obtained from a code rather than from a decoded sound signal. Below, the sound signal refining device of the eighth embodiment will be described in terms of the differences from the sound signal refining device of the seventh embodiment, using an example in which the number of stereo channels is two.
[0170] <Sound signal refining device 1302> As shown in FIG. 17 , the sound signal refining device 1302 of the eighth embodiment includes an inter-channel relationship information decoding unit 1342, a decoded sound common signal estimating unit 1351, a decoded sound common signal upmixing unit 1361, a monaural decoded sound upmixing unit 1371, a first channel refinement weight estimating unit 1311-1, a first channel signal refining unit 1321-1, a first channel separation and combining weight estimating unit 1381-1, a first channel separation and combining unit 1391-1, a second channel refinement weight estimating unit 1311-2, a second channel signal refining unit 1321-2, a second channel separation and combining weight estimating unit 1381-2, and a second channel separation and combining unit 1391-2. The sound signal refining device 1302 performs steps S1342, S1351, S1361, and S1371 for each frame, and steps S1311-n, S1321-n, S1381-n, and S1391-n for each channel, as illustrated in Fig. 18. The sound signal refining device 1302 of the eighth embodiment differs from the sound signal refining device 1301 of the seventh embodiment in that it includes an inter-channel relationship information decoding unit 1342 instead of the inter-channel relationship information estimation unit 1331, and performs step S1342 instead of step S1331. In addition, an inter-channel relationship information code CC for each frame is also input to the sound signal refining device 1302 of the eighth embodiment. The inter-channel relationship information code CC may be a code obtained and output by an inter-channel relationship information coding unit (not shown) included in the above-mentioned coding device 500, or may be a code included in the stereo code CS obtained and output by the stereo coding unit 530 of the above-mentioned coding device 500. Hereinafter, differences between the sound signal refining device 1302 of the eighth embodiment and the sound signal refining device 1301 of the seventh embodiment will be described.
[0171] [Inter-channel relationship information decoding unit 1342] The inter-channel relationship information code CC input to the sound signal refining device 1302 is input to the inter-channel relationship information decoding unit 1342. The inter-channel relationship information decoding unit 1342 decodes the inter-channel relationship information code CC to obtain and output inter-channel relationship information (step S1342). The inter-channel relationship information obtained by the inter-channel relationship information decoding unit 1342 is the same as the inter-channel relationship information obtained by the inter-channel relationship information estimation unit 1331 in the seventh embodiment.
[0172] [Modification of the eighth embodiment] When the inter-channel relationship information code CC is a code included in the stereo code CS, the same inter-channel relationship information as that obtained in step S1342 is obtained by decoding in the stereo decoding unit 620 of the decoding device 600. Therefore, when the inter-channel relationship information code CC is a code included in the stereo code CS, the inter-channel relationship information obtained by the stereo decoding unit 620 of the decoding device 600 may be input to the sound signal refining device 1302 of the eighth embodiment, and the sound signal refining device 1302 of the eighth embodiment may not include the inter-channel relationship information decoding unit 1342 and may not perform step S1342.
[0173] Furthermore, in the case where only a portion of the inter-channel relationship information code CC is a code included in the stereo code CS, the inter-channel relationship information obtained by the stereo decoding unit 620 of the decoding device 600 decoding the code included in the stereo code CS of the inter-channel relationship information code CC is input to the sound signal refining device 1302 of the eighth embodiment, and the inter-channel relationship information decoding unit 1342 of the sound signal refining device 1302 of the eighth embodiment decodes the code not included in the stereo code CS of the inter-channel relationship information code CC in step S1342, to obtain and output the inter-channel relationship information that was not input to the sound signal refining device 1302.
[0174] Furthermore, if a code corresponding to a part of the inter-channel relationship information used by each unit of the sound signal refining device 1302 is not included in the inter-channel relationship information code CC, the sound signal refining device 1302 of the eighth embodiment may also include an inter-channel relationship information estimation unit 1331, which may also perform step S1331. In this case, in step S1331, the inter-channel relationship information estimation unit 1331 may obtain and output inter-channel relationship information that cannot be obtained by decoding the inter-channel relationship information code CC, among the inter-channel relationship information used by each unit of the sound signal refining device 1302, in the same manner as in step S1331 of the seventh embodiment.
[0175] <Ninth embodiment> In the decoded sound signal obtained by encoding and decoding the input sound signal, the phase of high frequency components is rotated with respect to the input sound signal due to distortion caused by the encoding process. Since the encoding / decoding method for obtaining the monaural decoded sound signal and the encoding / decoding method for obtaining the decoded sound signals of each stereo channel are different and independent from each other, the correlation between the high frequency components of the monaural decoded sound signal obtained by the monaural decoding unit 610 and the decoded sound signals of each stereo channel obtained by the stereo decoding unit 620 is small, and the energy of the high frequency components may be reduced by the weighted addition process in the time domain in the signal refining unit of the sound signal refining device described above and the separation and combination unit of each channel (hereinafter referred to as "signal refining process in the time domain" for convenience), which may cause the refined decoded sound signals of each channel to sound muffled. The sound signal high frequency compensation device of the ninth embodiment eliminates this muffled sound by compensating for the high frequency energy using the high frequency components of the signal before the signal refining process.
[0176] Note that cases in which a sound signal sounds muffled due to a reduction in the energy of high-frequency components are not limited to the refined decoded sound signal obtained by performing signal refinement processing in the time domain by the above-mentioned sound signal refinement device on the decoded sound signal of each channel, but sound signals obtained by performing signal processing in the time domain other than the signal refinement processing by the above-mentioned sound signal refinement device on the decoded sound signal of each channel may also sound muffled. In the sound signal high-frequency compensation device of the ninth embodiment, regardless of whether the signal refinement processing in the time domain by the above-mentioned sound signal refinement device is performed, the muffled sound can be eliminated by compensating for the high-frequency energy using the high-frequency components of the signal before signal processing in the time domain.
[0177] In the following, for convenience, the term "refinement decoded sound signal" will not only refer to a refinement decoded sound signal obtained by performing signal refinement processing by the above-described sound signal refinement device on a decoded sound signal of each channel, but also to a sound signal obtained by performing signal processing in the time domain on a decoded sound signal of each channel, and the sound signal high-frequency compensation device of the ninth embodiment will be described using an example in which the number of stereo channels is two.
[0178] <Sound signal high frequency compensation device 201> 19, the sound signal high-frequency compensation device 201 of the ninth embodiment includes a first channel high-frequency compensation gain estimation unit 211-1, a first channel high-frequency compensation unit 221-1, a second channel high-frequency compensation gain estimation unit 211-2, and a second channel high-frequency compensation unit 221-2. The sound signal high-frequency compensation device 201 receives as input a first channel refined decoded sound signal ~X1 and a second channel refined decoded sound signal ~X2 output by any of the sound signal refinement devices described above, and a first channel decoded sound signal ^X1 and a second channel decoded sound signal ^X2 output by a stereo decoding unit 620 of a decoding device 600. The sound signal high-frequency compensation device 201 obtains and outputs a compensated decoded sound signal of a channel, which is a sound signal obtained by compensating for high-frequency energy of the refined decoded sound signal of the channel, by using the refined decoded sound signal of the channel and the decoded sound signal of the channel, for each stereo channel, in frame units of a predetermined time length of, for example, 20 ms. Assuming that the channel number n (channel index n) of the first channel is 1 and the channel number n of the second channel is 2, the sound signal high frequency compensation device 201 performs step S211-n and step S221-n illustrated in FIG. 20 for each frame for each channel. Note that the high frequency band here refers to a band that is not a low frequency band (so-called "low frequency band") in which the phase is maintained to some extent even by the encoding process. Compared to the low frequency band, the high frequency band is less audibly perceptible even if the phase of the input sound signal and the decoded sound signal differs, so that the phase of components of about 2 kHz or higher is often rotated by the encoding process. Therefore, the sound signal high frequency compensation device 201 may treat components with a frequency of about 2 kHz or higher as the high frequency band. However, it is not essential to treat about 2 kHz or higher as the high frequency band, and the sound signal high frequency compensation device 201 may treat components with a predetermined frequency or higher that divides the frequency band that may be included in each signal into two as the high frequency band. This is the same in the following embodiments and modified examples.Note that it is not essential that the first channel refined decoded sound signal ~X1 and the second channel refined decoded sound signal ~X2 input to sound signal high frequency compensation device 201 are signals output by any of the sound signal refinement devices described above, but rather they may be the first channel refined decoded sound signal ~X1 and the second channel refined decoded sound signal ~X2 which are sound signals obtained by performing time domain signal processing on the first channel decoded sound signal ^X1 and the second channel decoded sound signal ^X2 output by stereo decoding unit 620 of decoding device 600. This also applies to the following embodiments and modified examples.
[0179] [n-th channel high-frequency compensation gain estimation unit 211-n] The n-th channel high-frequency compensation gain estimation unit 211-n estimates the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} and the n-th channel refined decoded sound signal ∼X input to the sound signal high frequency compensation device 201. n ={~x n (1), ~x n (2), ..., ~x n (T)} is input to the n-th channel high-frequency compensation gain estimation unit 211-n. n and the n-th channel refined decoded sound signal ~X n to the nth channel high-frequency compensation gain ρ n The n-th channel high-frequency compensation gain ρ n is the n-th channel compensated decoded sound signal ∼X′ obtained by the n-th channel high frequency compensation unit 221-n described later. n The high frequency energy of the n-th channel decoded sound signal ^X n The n-th channel high-frequency compensation gain estimator 211-n estimates the n-th channel high-frequency compensation gain ρ n The method for obtaining this will be described later.
[0180] [n-th channel high frequency compensation unit 221-n] The n-th channel high frequency compensation unit 221-n receives the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} and the n-th channel refined decoded sound signal ∼X input to the sound signal high frequency compensation device 201. n ={~x n (1), ~x n (2), ..., ~x n (T)} and the n-th channel high-frequency compensation gain ρ n The n-th channel high frequency compensation unit 221-n receives the n-th channel refined decoded sound signal ∼X n and the n-th channel decoded sound signal ^X n The nth channel high-frequency compensation gain ρ n The signal multiplied by and the signal added by are treated as the n-th channel concealed decoded sound signal ∼X' n ={~x' n (1), ~x' n (2), ..., ~x' n (T)} and output (step S221-n).
[0181] For example, the n-th channel high frequency compensation unit 221-n converts the n-th channel decoded sound signal ^X n is passed through a high-pass filter to obtain the n-th channel compensation signal ^X' n ={^x' n (1), ^x' n (2), ..., ^x' n (T)}, and for each corresponding sample t, the n-th channel refined decoded sound signal ∼X n Sample value of ~x n (t) and the nth channel high-frequency compensation gain ρ n and the n-th channel compensation signal ^X' n Sample value of ^x' n (t) multiplied by ρ n x' n (t) and the sum of ~x' n The sequence by (t) is converted into the n-th channel concealed decoded signal ~X' n={~x' n (1), ~x' n (2), ..., ~x' n (T)} and output it. That is, ~x' n (t)=~x n (t)+ρ n ×^x' n As the high-pass filter, a high-pass filter having a pass band equal to or higher than a predetermined frequency that divides the frequency band that may be included in each signal into two may be used. For example, when treating frequency components of 2 kHz or higher as high frequencies, a high-pass filter having a pass band equal to or higher than 2 kHz may be used.
[0182] [The n-th channel high-frequency compensation gain estimator 211-n estimates the n-th channel high-frequency compensation gain ρ n How to get The n-th channel high-frequency compensation gain estimation unit 211-n estimates the n-th channel high-frequency compensation gain ρ n get.
[0183] [[nth channel high-frequency compensation gain ρ n The first way to obtain In the first method, the n-th channel high-frequency compensation gain estimation unit 211-n estimates the n-th channel refined decoded sound signal ∼X n The high frequency energy of the nth channel decoded sound signal ^X n The nth channel high-frequency compensation gain ρ n For example, the n-th channel high-frequency compensation gain estimation unit 211-n obtains the n-th channel refined decoded sound signal ∼X n High-frequency energy ~EX n The nth channel decoded sound signal ^X n High frequency energy of ^EX n The value obtained by dividing by and subtracting it from 1 (1-~EX n / ^EX n ) is the square root of the nth channel high-frequency compensation gain ρ n That is, the n-th channel high-frequency compensation gain estimation unit 211-n obtains the n-th channel refined decoded sound signal ∼X n High-frequency energy ~EXn and the n-th channel decoded sound signal ^X n High frequency energy of ^EX n Using the above, the n-th channel high-frequency compensation gain ρ n get.
number
[0184] [[nth channel high-frequency compensation gain ρ n Second way to get When a signal is passed through a high-pass filter, the phase of each frequency component of the signal rotates. Therefore, the n-th channel compensation signal ^X' n and the n-th channel refined decoded sound signal ~X n In the first method, the phase of the high-frequency components is not matched, and the n-th channel high-frequency compensation gain ρ n The n-th channel high frequency compensation unit 221-n uses ∼x' for each sample t. n (t)=~x n (t)+ρ n ×^x' n (t) to obtain the n-th channel concealed decoded signal ~X' n Even if we obtain the n-th channel compensation signal ^X' n The high frequency components of and the n-th channel refined decoded sound signal ~X n The high-frequency components of the n-th channel concealed decoded sound signal ∼X' are cancelled out. n The high frequency energy of the nth channel decoded sound signal ^X n Therefore, even if the high-frequency components cancel each other out in the above-described addition, the n-th channel concealed decoded sound signal ∼X' may not be as close as expected. n The high frequency energy of the nth channel decoded sound signal ^X n In the second method, the n-th channel high-frequency compensation gain estimation unit 211-n performs steps S211-21-n to S211-23-n described below to estimate the n-th channel high-frequency compensation gain ρ n get.
[0185] The n-th channel high-frequency compensation gain estimation unit 211-n first estimates the n-th channel decoded sound signal ^X n is passed through a high-pass filter having the same characteristics as that used by the n-th channel high-frequency compensation unit 221-n to obtain the n-th channel compensation signal ^X' n ={^x' n (1), ^x' n (2), ..., ^x' n Next, the n-th channel high-frequency compensation gain estimation unit 211-n obtains the n-th channel refined decoded sound signal ∼X for each corresponding sample t (step S211-21-n). n Sample value of ~x n (t) and the n-th channel compensation signal ^X' n Sample value of ^x' n (t) and the sum of ~x" n The series by (t) is the nth channel provisional addition signal ~X" n ={~x" n (1), ~x" n (2), ..., ~x" n (T)} (step S211-22-n). That is, 〜x" n (t)=~x n (t)+^x' n Next, the n-th channel high-frequency compensation gain estimation unit 211-n estimates the n-th channel refined decoded sound signal ∼X n High-frequency energy ~EX n is the n-th channel decoded sound signal ^X n High frequency energy of ^EX n The smaller the value, the larger the value is, and the n-th channel refined decoded sound signal ∼X n The high frequency energy of the nth channel provisional addition signal ~X" n The difference between the high frequency energy of the nth channel decoded sound signal ^X n High frequency energy of ^EX n The n-th channel high-frequency compensation gain ρ n (step S211-23-n). For example, the n-th channel high-frequency compensation gain estimation unit 211-n obtains the n-th channel decoded sound signal ^X n High frequency energy of ^EX nand the n-th channel refined decoded sound signal ~X n High-frequency energy ~EX n and the nth channel provisional addition signal ~X" n High-frequency energy ~EX" n From the nth channel refined decoded sound signal ~X n High-frequency energy ~EX n The value subtracted from (~EX" n -~EX n ) and the n-th channel high-frequency compensation gain ρ n get.
number
number
number
[0186] If the n-th channel compensation signal ^X' n The high frequency components of and the n-th channel refined decoded sound signal ~X n If the high-frequency components of the nth channel provisional addition signal ~X" do not cancel out the energy by addition, n High-frequency energy ~EX" n n-th channel refined decoded sound signal ~X n High-frequency energy ~EX n The value subtracted from (~EX" n -~EX n ) is the n-th channel decoded sound signal ^X n High frequency energy of ^EX n Since it is equal to μ n becomes 0, and the n-th channel high-frequency compensation gain ρ n is the nth channel high-frequency compensation gain ρ nThe first method to obtain the n-th channel high-frequency compensation gain ρ n In addition, the n-th channel compensation signal ^X' is n The high frequency components of and the n-th channel refined decoded sound signal ~X n The higher the high frequency components of μ, the more their energy is cancelled out by addition. n becomes greater than 0, and the n-th channel high-frequency compensation gain ρ n is the nth channel high-frequency compensation gain ρ n The first method to obtain the n-th channel high-frequency compensation gain ρ n Therefore, the n-th channel compensation signal ^X' n The high frequency components of and the n-th channel refined decoded sound signal ~X n Since it is assumed that some energy cancellation occurs due to the addition of the high-frequency components of n It can also be said that this is what is gained.
[0187] The n-th channel high-frequency compensation gain estimator 211-n derives the n-th channel high-frequency compensation gain ρ n In equation (94), A is a predetermined positive value, and is preferably a value close to 1.
number
number
[0188] In the above-mentioned example of the second method, the n-th channel compensation signal ^X' used by the n-th channel high frequency compensation unit 221-n is n The n-th channel high-frequency compensation gain estimator 211-n obtains the n-th channel compensation signal ^X' obtained by the n-th channel high-frequency compensation gain estimator 211-n in step S211-21-n.n The n-th channel high frequency compensation unit 221-n outputs the n-th channel decoded sound signal ^X n Instead, the n-th channel compensation signal ^X' output by the n-th channel high-frequency compensation gain estimation unit 211-n n In this case, the n-th channel high frequency compensation unit 221-n receives the n-th channel compensation signal ^X' n Conversely, the n-th channel high frequency compensation unit 221-n does not need to perform high pass filter processing to obtain the n-th channel compensation signal ^X' n The n-th channel high frequency compensation gain estimation unit 211-n receives the n-th channel compensation signal ^X' output by the n-th channel high frequency compensation unit 221-n. n In this case, the n-th channel high-frequency compensation gain estimation unit 211-n receives the n-th channel compensation signal ^X' n Of course, the signal high frequency compensation device 201 may be provided with a high pass filter unit (not shown), and the high pass filter unit may filter the n-th channel decoded sound signal ^X n is passed through a high-pass filter to obtain the n-th channel compensation signal ^X' n and outputs the n-th channel compensation signal ^X' to the n-th channel high frequency compensation gain estimation unit 211-n and the n-th channel high frequency compensation unit 221-n. n is input, the n-th channel high frequency compensation gain estimation unit 211-n and the n-th channel high frequency compensation unit 221-n calculate the n-th channel compensation signal ^X' n That is, the signal high frequency compensation device 201 may not perform high pass filtering to obtain the n-th channel decoded sound signal ^X n The signal passed through a high-pass filter is the n-th channel compensation signal ^X' n Any configuration may be adopted as long as it is possible to use the n-th channel high-frequency compensation gain estimation unit 211-n and the n-th channel high-frequency compensation unit 221-n as the high-frequency compensation unit.
[0189] Tenth embodiment When the monaural encoding unit 520 of the encoding device 500 performs encoding at a bit rate higher than each channel of the stereo encoding unit 530, the monaural decoded sound signal ^X obtained by the monaural decoding unit 610 of the decoding device 600 is M The n-th channel mono decoded upmix signal ^X based on Mn The n-th channel decoded sound signal ^X obtained by the stereo decoding unit 620 of the decoding device 600 is n Therefore, the n-th channel decoded sound signal ^X used for high frequency compensation by the sound signal high frequency compensation device of the ninth embodiment may have a higher sound quality than the n-th channel decoded sound signal ^X n Instead, the n-th channel mono decoded sound upmix signal ^X Mn The sound signal high-frequency compensation device of the tenth embodiment uses this for high-frequency compensation. Below, the sound signal high-frequency compensation device of the tenth embodiment will be described, focusing on the differences from the sound signal high-frequency compensation device of the ninth embodiment, using an example in which the number of stereo channels is two.
[0190] <Sound signal high frequency compensation device 202> 21, the sound signal high-frequency compensation device 202 of the tenth embodiment includes a first channel high-frequency compensation gain estimation unit 212-1, a first channel high-frequency compensation unit 222-1, a second channel high-frequency compensation gain estimation unit 212-2, and a second channel high-frequency compensation unit 222-2. The sound signal high-frequency compensation device 202 receives a first channel refined decoded sound signal ~X1 and a second channel refined decoded sound signal ~X2 output by any of the sound signal refinement devices described above, a first channel decoded sound signal ^X1 and a second channel decoded sound signal ^X2 output by the stereo decoding unit 620 of the decoding device 600, and a first channel upmixed monaural decoded sound signal ^X2 output by any of the sound signal refinement devices described above. M1 and the second channel upmixed mono decoded sound signal ^X M2 and is input.
[0191] That is, the sound signal refining device includes a monaural decoded sound upmix unit and generates the upmixed monaural decoded sound signal ^X MnWhen the mono decoded sound upmix unit obtains the upmixed mono decoded sound signal ^X Mn is output from the sound signal refining device and input to the sound signal high-frequency compensation device 202. Note that a case in which the sound signal refining device does not include a monaural decoded sound upmix unit will be described later in a modified example of the tenth embodiment.
[0192] The sound signal high frequency compensation device 202 obtains and outputs, for each stereo channel, a compensated decoded sound signal of the channel, which is a sound signal obtained by compensating for high frequency energy of the purified decoded sound signal of the channel, using the purified decoded sound signal of the channel, the decoded sound signal of the channel, and the upmixed monaural decoded sound signal of the channel, in frame units of a predetermined time length of, for example, 20 ms. If the channel number n (channel index n) of the first channel is 1 and the channel number n of the second channel is 2, the sound signal high frequency compensation device 202 performs step S212-n and step S222-n illustrated in FIG. 20 for each frame for each channel.
[0193] [n-th channel high-frequency compensation gain estimation unit 212-n] The n-th channel high-frequency compensation gain estimation unit 212-n estimates the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} and the n-th channel refined decoded sound signal ∼X input to the sound signal high frequency compensation device 202. n ={~x n (1), ~x n (2), ..., ~x n (T)} is input to the n-th channel high-frequency compensation gain estimation unit 212-n. n and the n-th channel refined decoded sound signal ~X n At least the nth channel high-frequency compensation gain ρ nThe n-th channel high-frequency compensation gain estimation unit 212-n estimates the n-th channel high-frequency compensation gain ρ n get.
[0194] [[nth channel high-frequency compensation gain ρ n Second way to get The second method is the second method of the ninth embodiment, in which the n-th channel decoded sound signal ^X n to n-th channel compensation signal ^X' n Instead of the process of obtaining the n-th channel upmixed mono decoded sound signal ^X Mn to n-th channel compensation signal ^X' n Therefore, when the second method is used, as shown by the dashed line in FIG. 21, the n-th channel high-frequency compensation gain estimation unit 212-n receives the n-th channel upmixed monaural decoded sound signal ^X Mn In the second method, the n-th channel high-frequency compensation gain estimation unit 212-n performs the following step S212-21-n instead of step S211-21-n of the second method of the ninth embodiment, and then performs steps S211-22-n and S211-23-n that are the same as those in the second method of the ninth embodiment, thereby estimating the n-th channel high-frequency compensation gain ρ n That is, the n-th channel high-frequency compensation gain estimation unit 212-n first obtains the n-th channel upmixed monaural decoded sound signal ^X Mn is passed through a high-pass filter having the same characteristics as that used by the n-th channel high-frequency compensation unit 222-n to obtain the n-th channel compensation signal ^X' n ={^x' n (1), ^x' n (2), ..., ^x' n (T)} is obtained (step S212-21-n), and then steps S211-22-n and S211-23-n described above in the explanation of the second method of the ninth embodiment are performed.
[0195] [n-th channel high frequency compensation unit 222-n] The n-th channel high-frequency compensation unit 222-n uses the n-th channel decoded sound signal ^X n Instead, the n-th channel upmixed mono decoded sound signal ^X Mn Using the n-th channel concealed decoded sound signal ~X' n The n-th channel high frequency compensation unit 222-n obtains the n-th channel upmixed monaural decoded sound signal ^X input to the signal high frequency compensation device 202. Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn (T)} and the n-th channel refined decoded sound signal ∼X input to the sound signal high frequency compensation device 202. n ={~x n (1), ~x n (2), ..., ~x n (T)} and the n-th channel high-frequency compensation gain ρ n The n-th channel high frequency compensation unit 222-n receives the n-th channel refined decoded sound signal ∼X n and the n-th channel upmixed mono decoded sound signal ^X Mn The nth channel high-frequency compensation gain ρ n The signal multiplied by and the signal added by are treated as the n-th channel concealed decoded sound signal ∼X' n ={~x' n (1), ~x n ' (2), ..., ~x' n (T)} and output (step S222-n).
[0196] For example, the n-th channel high-frequency compensation unit 222-n converts the n-th channel upmixed monaural decoded sound signal ^X Mn is passed through a high-pass filter to obtain the n-th channel compensation signal ^X' n ={^x' n (1), ^x' n (2), ..., ^x' n (T)}, and for each corresponding sample t, the n-th channel refined decoded sound signal ∼X n Sample value of ~x n(t) and the nth channel high-frequency compensation gain ρ n and the n-th channel compensation signal ^X' n Sample value of ^x' n (t) multiplied by ρ n x' n (t) and the sum of ~x' n The sequence by (t) is converted into the n-th channel concealed decoded signal ~X' n ={~x' n (1), ~x' n (2), ..., ~x' n (T)} and output it. That is, ~x' n (t)=~x n (t)+ρ n ×^x' n (t).
[0197] As in the ninth embodiment, the n-th channel high-frequency compensation gain estimator 212-n estimates the n-th channel high-frequency compensation gain ρ n When the method exemplified in the second method for obtaining the n-th channel upmixed monaural decoded sound signal ^X is used, either the n-th channel high-frequency compensation gain estimation unit 212-n or the n-th channel high-frequency compensation unit 222-n obtains the n-th channel upmixed monaural decoded sound signal ^X Mn is passed through a high-pass filter to obtain the n-th channel compensation signal ^X' n On the other hand, the n-th channel compensation signal ^X' is obtained and output. n Without performing high-pass filtering to obtain the n-th channel compensation signal ^X' obtained by the other n Alternatively, the signal high-frequency compensation device 202 may be provided with a high-pass filter unit (not shown), which may filter the n-th channel upmixed monaural decoded sound signal ^X Mn is passed through a high-pass filter to obtain the n-th channel compensation signal ^X' n The n-th channel high frequency compensation gain estimation unit 212-n and the n-th channel high frequency compensation unit 222-n obtain and output the n-th channel compensation signal ^X' n Without performing high-pass filter processing to obtain the n-th channel compensation signal ^X' obtained by the high-pass filter section nThat is, the signal high frequency compensation device 202 may use the n-th channel upmixed monaural decoded sound signal ^X Mn The signal passed through a high-pass filter is the n-th channel compensation signal ^X' n Any configuration may be adopted as long as it is possible to use the n-th channel high-frequency compensation gain estimation unit 212-n and the n-th channel high-frequency compensation unit 222-n as the high-frequency compensation unit.
[0198] [Modification of the tenth embodiment] In the tenth embodiment, the sound signal refining device includes a monaural decoded sound upmix unit and generates an upmixed monaural decoded sound signal ^X Mn However, the case where the sound signal refining device does not include a monaural decoded sound upmix unit and obtains the upmixed monaural decoded sound signal ^X Mn If not obtained, the sound signal refining device 202 uses the upmixed monaural decoded sound signal ^X Mn Instead, the monaural decoded sound signal ^X output by the monaural decoding unit 610 of the decoding device 600 M In addition, the sound signal refining device may include a monaural decoded sound upmixing unit to generate the upmixed monaural decoded sound signal ^X Mn Even if the upmixed monaural decoded sound signal ^X of each channel used in the tenth embodiment is obtained, the sound signal refining device 202 Mn Instead, the monaural decoded sound signal ^X output by the monaural decoding unit 610 of the decoding device 600 M may also be used.
[0199] <Eleventh embodiment> n-th channel decoded sound signal ^X n and the n-th channel upmixed mono decoded sound signal ^X Mn Which of the above is used for high frequency compensation may be selected depending on the bit rate. This embodiment will be referred to as the eleventh embodiment, and an explanation will be given of the case where the number of stereo channels is two, focusing on the differences from the sound signal high frequency compensation device of the ninth embodiment and the sound signal high frequency compensation device of the tenth embodiment.
[0200] <Sound signal high frequency compensation device 203> 22, the sound signal high-frequency compensation device 203 of the eleventh embodiment includes a first channel signal selection unit 233-1, a first channel high-frequency compensation gain estimation unit 213-1, a first channel high-frequency compensation unit 223-1, a second channel signal selection unit 233-2, a second channel high-frequency compensation gain estimation unit 213-2, and a second channel high-frequency compensation unit 223-2. The sound signal high-frequency compensation device 203 receives a first channel refined decoded sound signal ~X1 and a second channel refined decoded sound signal ~X2 output by any of the sound signal refinement devices described above, a first channel decoded sound signal ^X1 and a second channel decoded sound signal ^X2 output by the stereo decoding unit 620 of the decoding device 600, and a first channel upmixed monaural decoded sound signal ^X2 output by any of the sound signal refinement devices described above. M1 and the second channel upmixed mono decoded sound signal ^X M2 and bit rate information are input.
[0201] The bit rate information is information corresponding to the bit rate of monaural encoding unit 520 and monaural decoding unit 610 for each frame, and information corresponding to the bit rate per channel of stereo encoding unit 530 and stereo decoding unit 620. The information corresponding to the bit rate of monaural encoding unit 520 and monaural decoding unit 610 for each frame is, for example, the number of bits b M The information corresponding to the bit rate of the stereo encoding unit 530 and the stereo decoding unit 620 for each frame is, for example, the number of bits b s The number of bits for each channel is b n Note that the number of bits b M or number of bits b n is the same for all frames, there is no need to input bit rate information to the sound signal high-frequency compensation device 203, and the bit rate information can be stored in advance in a storage unit (not shown) in the first channel signal selection unit 233-1 and a storage unit (not shown) in the second channel signal selection unit 233-2.
[0202] The sound signal high frequency compensation device 203 obtains and outputs, for each stereo channel, a compensated decoded sound signal of the channel, which is a sound signal obtained by compensating for high frequency energy of the purified decoded sound signal of the channel, by using the purified decoded sound signal of the channel, the decoded sound signal of the channel, the upmixed monaural decoded sound signal of the channel, and bit rate information, in frame units of a predetermined time length of, for example, 20 ms. If the channel number n (channel index n) of the first channel is 1 and the channel number n of the second channel is 2, the sound signal high frequency compensation device 203 performs steps S233-n, S213-n, and S223-n illustrated in FIG. 23 for each frame for each channel.
[0203] [n-th channel signal selection unit 233-n] The n-th channel signal selection unit 233-n receives the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} and the n-th channel upmixed monaural decoded sound signal ^X input to the sound signal high frequency compensation device 203. Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn (T)} and the bit rate information input to sound signal high frequency compensation device 203 are input. However, if the bit rate information is pre-stored in a storage unit (not shown) in n-th channel signal selection unit 233-n, the bit rate information does not need to be input. If the bit rate per channel of stereo encoding unit 530 and stereo decoding unit 620 is higher than the bit rate of monaural encoding unit 520 and monaural decoding unit 610, that is, b n B M If it is larger, the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} to select the nth channel selection signal ^X Sn={^x Sn (1), ^x Sn (2), ..., ^x Sn (T)}, and when the bit rate per channel of stereo encoding unit 530 and stereo decoding unit 620 is lower than the bit rate of monaural encoding unit 520 and monaural decoding unit 610, i.e., b n B M If it is smaller, the n-th channel upmixed mono decoded sound signal ^X Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn (T)} to select the nth channel selection signal ^X Sn ={^x Sn (1), ^x Sn (2), ..., ^x Sn (T)} (step S233-n). When the bit rate of the monaural encoding unit 520 and the monaural decoding unit 610 is the same as the bit rate per channel of the stereo encoding unit 530 and the stereo decoding unit 620, that is, when the n-th channel signal selection unit 233-n selects M and b n If the n-th channel decoded sound signal ^X n ={^x n (1), ^x n (2), ..., ^x n (T)} and the n-th channel upmixed mono decoded sound signal ^X Mn ={^x Mn (1), ^x Mn (2), ..., ^x Mn (T)} to select the n-th channel selection signal ^X Sn ={^x Sn (1), ^x Sn (2), ..., ^x Sn (T)}.
[0204] [n-th channel high-frequency compensation gain estimation unit 213-n] The n-th channel high-frequency compensation gain estimation unit 213-n estimates the n-th channel decoded sound signal ^X n={^x n (1), ^x n (2), ..., ^x n (T)} and the n-th channel refined decoded sound signal ∼X input to the sound signal high frequency compensation device 203. n ={~x n (1), ~x n (2), ..., ~x n (T)} is input to the n-th channel high-frequency compensation gain estimation unit 213-n. n and the n-th channel refined decoded sound signal ~X n At least the nth channel high-frequency compensation gain ρ n The n-th channel high-frequency compensation gain estimation unit 213-n estimates the n-th channel high-frequency compensation gain ρ n get.
[0205] [[nth channel high-frequency compensation gain ρ n Second way to get When the second method is used, as shown by the dashed line in FIG. 22, the n-th channel high-frequency compensation gain estimation unit 213-n receives the n-th channel selection signal ^X obtained by the n-th channel signal selection unit 233-n. Sn ={^x Sn (1), ^x Sn (2), ..., ^x Sn In the second method, the n-th channel high-frequency compensation gain estimation unit 213-n performs the following step S213-21-n instead of step S211-21-n in the second method of the ninth embodiment, and then performs steps S211-22-n and S211-23-n that are the same as those in the second method of the ninth embodiment, thereby estimating the n-th channel high-frequency compensation gain ρ n That is, the n-th channel high-frequency compensation gain estimation unit 213-n first obtains the n-th channel selection signal ^X Sn ={^x Sn (1), ^x Sn (2), ..., ^x Sn(T)} is passed through a high-pass filter with the same characteristics as that used by the n-th channel high-frequency compensation unit 223-n to obtain the n-th channel compensation signal ^X' n ={^x' n (1), ^x' n (2), ..., ^x' n (T)} is obtained (step S213-21-n), and then steps S211-22-n and S211-23-n described above in the explanation of the second method of the ninth embodiment are performed.
[0206] [n-th channel high frequency compensation unit 223-n] The n-th channel high frequency compensation unit 223-n receives the n-th channel selection signal ^X Sn Using the n-th channel concealed decoded sound signal ~X' n The n-th channel high frequency compensation unit 223-n receives the n-th channel selection signal ^X obtained by the n-th channel signal selection unit 233-n. Sn ={^x Sn (1), ^x Sn (2), ..., ^x Sn (T)} and the n-th channel refined decoded sound signal ∼X input to the sound signal high frequency compensation device 203. n ={~x n (1), ~x n (2), ..., ~x n (T)} and the n-th channel high-frequency compensation gain ρ n The n-th channel high frequency compensation unit 223-n receives the n-th channel refined decoded sound signal ~X n and the nth channel selection signal ^X Sn The nth channel high-frequency compensation gain ρ n The signal multiplied by and the signal added by are treated as the n-th channel concealed decoded sound signal ∼X' n ={~x' n (1), ~x n ' (2), ..., ~x' n (T)} and output (step S223-n).
[0207] For example, the n-th channel high frequency compensation unit 223-n receives the n-th channel selection signal ^X Snis passed through a high-pass filter to obtain the n-th channel compensation signal ^X' n ={^x' n (1), ^x' n (2), ..., ^x' n (T)}, and for each corresponding sample t, the n-th channel refined decoded sound signal ∼X n Sample value of ~x n (t) and the nth channel high-frequency compensation gain ρ n and the n-th channel compensation signal ^X' n Sample value of ^x' n (t) multiplied by ρ n x' n (t) and the sum of ~x' n The sequence by (t) is converted into the n-th channel concealed decoded signal ~X' n ={~x' n (1), ~x' n (2), ..., ~x' n (T)} and output it. That is, ~x' n (t)=~x n (t)+ρ n ×^x' n (t).
[0208] As in the ninth and tenth embodiments, the n-th channel high-frequency compensation gain estimator 213-n estimates the n-th channel high-frequency compensation gain ρ n When the method exemplified in the second method for obtaining the n-th channel selection signal ^X is used, either the n-th channel high-frequency compensation gain estimation unit 213-n or the n-th channel high-frequency compensation unit 223-n obtains the n-th channel selection signal ^X Sn is passed through a high-pass filter to obtain the n-th channel compensation signal ^X' n On the other hand, the n-th channel compensation signal ^X' is obtained and output. n Without performing high-pass filtering to obtain the n-th channel compensation signal ^X' obtained by the other n Alternatively, the signal high-frequency compensation device 203 may be provided with a high-pass filter unit (not shown), and the high-pass filter unit may use the n-th channel selection signal ^X Sn is passed through a high-pass filter to obtain the n-th channel compensation signal ^X' nThe n-th channel high frequency compensation gain estimation unit 213-n and the n-th channel high frequency compensation unit 223-n obtain and output the n-th channel compensation signal ^X' n Without performing high-pass filter processing to obtain the n-th channel compensation signal ^X' obtained by the high-pass filter section n That is, the signal high frequency compensation device 203 may use the n-th channel selection signal ^X Sn The signal passed through a high-pass filter is the n-th channel compensation signal ^X' n Any configuration may be adopted as long as it is possible to use the n-th channel high-frequency compensation gain estimation unit 213-n and the n-th channel high-frequency compensation unit 223-n as the high-frequency compensation unit.
[0209] [Modification of the eleventh embodiment] In the eleventh embodiment, the sound signal refining device includes a monaural decoded sound upmix unit and generates an upmixed monaural decoded sound signal ^X Mn However, the case where the sound signal refining device does not include a monaural decoded sound upmix unit and obtains the upmixed monaural decoded sound signal ^X Mn If the upmixed monaural decoded sound signal ^X of each channel used in the eleventh embodiment is not obtained, the sound signal refining device 203 Mn Instead, the monaural decoded sound signal ^X output by the monaural decoding unit 610 of the decoding device 600 M In addition, the sound signal refining device may include a monaural decoded sound upmixing unit to generate the upmixed monaural decoded sound signal ^X Mn Even if the above-mentioned signal is not obtained, the sound signal refining device 203 still uses the upmixed monaural decoded sound signal ^X Mn Instead, the monaural decoded sound signal ^X output by the monaural decoding unit 610 of the decoding device 600 M may also be used.
[0210] <Twelfth embodiment> As a twelfth embodiment, various configurations based on the above-described embodiments and modifications will be described.
[0211] [Number of channels] In the above-mentioned embodiments and modifications, an example in which two channels are handled has been described in order to simplify the description. However, the number of channels is not limited to this and may be two or more. If the number of channels is N (N is an integer of two or more), the above-mentioned embodiments and modifications can be implemented by replacing the number of channels, 2, with N. Specifically, in the above-mentioned embodiments and modifications, each unit / step with "-n" attached includes N units corresponding to each channel from 1 to N, and each unit / step with "n" attached as a subscript or the like includes N units corresponding to each channel number from 1 to N, thereby making it possible to realize a sound signal refining device with N channels or a sound signal high-frequency compensation device with N channels. However, the part including the process exemplified using the inter-channel time difference τ and the inter-channel correlation coefficient γ in the above-mentioned embodiments and modifications of the sound signal refining device may be limited to two channels.
[0212] [Sound signal post-processing device] Since the sound signal refining device of any of the first embodiment to the eighth embodiment and each modified example processes a sound signal obtained by decoding, it can be said to be a sound signal post-processing device. That is, as illustrated in Fig. 24, it can be said that any of the sound signal refining devices 1101, 1102, 1103, 1201, 1202, 1203, 1301, and 1302 of the first embodiment to the eighth embodiment and each modified example is the sound signal post-processing device 301 (also see Fig. 25). Also, as illustrated in Fig. 24, it can be said that a device including any of the sound signal refining devices 1101, 1102, 1103, 1201, 1202, 1203, 1301, and 1302 of the first embodiment to the eighth embodiment and each modified example as a sound signal refining unit is the sound signal post-processing device 301.
[0213] Similarly, a device that combines any one of the sound signal refining devices of the first embodiment to the eighth embodiment and each of the modifications with any one of the sound signal high-frequency compensation devices of the ninth embodiment to the eleventh embodiment and each of the modifications is also a device that processes a sound signal obtained by decoding, and can therefore be said to be a sound signal post-processing device. That is, as illustrated in Fig. 26, a device that combines any one of the sound signal refining devices 1101, 1102, 1103, 1201, 1202, 1203, 1301, 1302 of the first embodiment to the eighth embodiment and each of the modifications with any one of the sound signal high-frequency compensation devices 201, 202, 203 of the ninth embodiment to the eleventh embodiment and each of the modifications can also be said to be a sound signal post-processing device 302 (also see Fig. 27). Furthermore, as illustrated in FIG. 26 , an apparatus that includes any one of the sound signal refining devices 1101, 1102, 1103, 1201, 1202, 1203, 1301, 1302 of the first to eighth embodiments and each of the modified examples as a sound signal refining unit, and any one of the sound signal high-frequency compensation devices 201, 202, 203 of the ninth to eleventh embodiments and each of the modified examples as a sound signal high-frequency compensation unit can also be said to be the sound signal post-processing device 302.
[0214] [Audio signal decoding device] The sound signal refining device according to any one of the first to eighth embodiments and each of the modifications can be included in the sound signal decoding device together with the monaural decoding unit 610 and the stereo decoding unit 620. That is, as illustrated in Fig. 28, the sound signal decoding device 601 may be configured to include the monaural decoding unit 610, the stereo decoding unit 620, and any one of the sound signal refining devices 1101, 1102, 1103, 1201, 1202, 1203, 1301, and 1302 according to the first to eighth embodiments and each of the modifications (also see Fig. 29). Furthermore, as illustrated in FIG. 28 , in addition to a monaural decoding unit 610 and a stereo decoding unit 620, the sound signal decoding device 601 may be configured to include any one of the sound signal refining devices 1101, 1102, 1103, 1201, 1202, 1203, 1301, and 1302 of the first to eighth embodiments and their respective modifications as a sound signal refining unit.
[0215] Similarly, a combination of the sound signal refining device of any one of the first to eighth embodiments and their respective modifications and the sound signal high-frequency compensation device of any one of the ninth to eleventh embodiments and their respective modifications may be included in the sound signal decoding device together with the monaural decoding unit 610 and the stereo decoding unit 620. That is, as illustrated in Fig. 30, the sound signal decoding device 602 may be configured to include the monaural decoding unit 610, the stereo decoding unit 620, any one of the sound signal refining devices 1101, 1102, 1103, 1201, 1202, 1203, 1301, or 1302 of the first to eighth embodiments and their respective modifications, and any one of the sound signal high-frequency compensation devices 201, 202, or 203 of the ninth to eleventh embodiments and their respective modifications (also see Fig. 31). Furthermore, as illustrated in FIG. 30 , in addition to a monaural decoding unit 610 and a stereo decoding unit 620, the sound signal decoding device 602 may be configured to include any one of the sound signal refining devices 1101, 1102, 1103, 1201, 1202, 1203, 1301, and 1302 of the first to eighth embodiments and their respective modifications as a sound signal refining unit, and any one of the sound signal high-frequency compensation devices 201, 202, and 203 of the ninth to eleventh embodiments and their respective modifications as a sound signal high-frequency compensation unit.
[0216] [Programs and recording media] The processing of each unit of each of the above-mentioned devices may be realized by a computer, in which case the processing contents of the functions that each device should have are described by a program. Then, by loading this program into a storage unit 5020 of a computer 5000 shown in Fig. 33 and operating an arithmetic processing unit 5010, an input unit 5030, an output unit 5040, etc., various processing functions of each of the above-mentioned devices are realized on the computer.
[0217] The program describing the processing contents can be recorded on a computer-readable recording medium. The computer-readable recording medium is, for example, a non-transitory recording medium, specifically, a magnetic recording device, an optical disk, etc.
[0218] The program may be distributed, for example, by selling, transferring, lending, etc. portable recording media such as DVDs and CD-ROMs on which the program is recorded. Furthermore, the program may be distributed by storing the program in a storage device of a server computer and transferring the program from the server computer to other computers via a network.
[0219] A computer that executes such a program, for example, first stores a program recorded on a portable recording medium or a program transferred from a server computer in the auxiliary recording unit 5050, which is a non-transient storage device of the computer. Then, when executing a process, the computer reads the program stored in the auxiliary recording unit 5050, which is a non-transient storage device of the computer, into the storage unit 5020, and executes a process according to the read program. As another execution form of the program, the computer may directly read the program from the portable recording medium into the storage unit 5020 and execute a process according to the program, or may execute a process according to the received program each time a program is transferred from the server computer to the computer. Alternatively, the server computer may not transfer the program to the computer, but may execute the above-mentioned process by a so-called ASP (Application Service Provider) type service that realizes a processing function only by issuing an execution instruction and obtaining a result. Note that the program in this embodiment includes information used for processing by an electronic computer and equivalent to a program (data that is not a direct instruction to a computer but has a nature that specifies the processing of the computer, etc.).
[0220] In addition, in this embodiment, the present device is configured by executing a specific program on a computer, but at least a part of the processing contents may be realized by hardware.
[0221] Needless to say, other suitable modifications are possible without departing from the spirit of the present invention. Furthermore, the processes described in the above embodiments are not only executed chronologically in the order described, but may also be executed in parallel or individually depending on the processing capacity of the device executing the processes or as necessary. Furthermore, the processes described in the above embodiments are not only executed chronologically in the order described, but may also be executed chronologically in the reverse order to the order described when the order of execution may be changed.
Claims
1. For each frame, the stereo code CS is decoded to obtain an n-th channel decoded sound signal ^X n (n is an integer between 1 and N) and the n-th channel refined decoded sound signal ~X obtained by performing time domain signal processing on n The n-th channel compensated decoded sound signal ∼X' is a signal obtained by compensating for the high frequency range of n A method for compensating a high frequency range of a sound signal, comprising the steps of: For each channel, for each frame, The number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS is n However, the number of bits of the mono code CM, which is a code different from the stereo code CS, is b M If it is greater than n Select The number of bits b n is the number of bits b M If it is smaller than , the monaural decoded sound signal ^X obtained by decoding the monaural code CM is M The n-th channel upmixed monaural decoded sound signal ^X Mn a n-th channel signal selection step of selecting For each channel, the n-th channel concealed decoded sound signal .about.X' is n The high frequency energy of the n-channel decoded sound signal ^X n The n-th channel high-frequency compensation gain ρ n A high-frequency compensation gain estimation step of obtaining the n-th channel For each channel, the n-th channel refined decoded sound signal ≠X n and the n-th channel selection signal ^X, which is the signal selected in the n-th channel signal selection step. Sn The n-th channel high-frequency compensation gain ρ n The signal obtained by multiplying and adding is the n-channel concealed decoded sound signal ∼X' n and outputting the n-th channel high frequency compensation step.
13. A method for compensating high frequencies of a sound signal, comprising:
2. For each frame, the stereo code CS is decoded to obtain an n-th channel decoded sound signal ^X n (n is an integer between 1 and N) and the n-th channel refined decoded sound signal ~X obtained by performing time domain signal processing on n The n-th channel compensated decoded sound signal ∼X' is a signal obtained by compensating for the high frequency range of n A method for compensating a high frequency range of a sound signal, comprising the steps of: For each channel, for each frame, The number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS is n However, the number of bits of the mono code CM, which is a code different from the stereo code CS, is b M If it is greater than n Select The number of bits b n is the number of bits b M If it is smaller than , the monaural decoded sound signal ^X obtained by decoding the monaural code CM is M a n-th channel signal selection step of selecting For each channel, the n-th channel concealed decoded sound signal .about.X' is n The high frequency energy of the n-channel decoded sound signal ^X n The n-th channel high-frequency compensation gain ρ n A high-frequency compensation gain estimation step of obtaining the n-th channel For each channel, the n-th channel refined decoded sound signal ≠X n and the n-th channel selection signal ^X, which is the signal selected in the n-th channel signal selection step. Sn The n-th channel high-frequency compensation gain ρ n The signal obtained by multiplying and adding is the n-channel concealed decoded sound signal ∼X' n and outputting the n-th channel high frequency compensation step.
13. A method for compensating high frequencies of a sound signal, comprising:
3. 3. A method for compensating a high frequency range of a sound signal according to claim 1, further comprising the steps of: The n-th channel selection signal ^X Sn The signal passed through a high-pass filter is the n-th channel compensation signal ^X' n As, The n-th channel high frequency compensation step includes: For each corresponding sample t, the n-channel refined decoded sound signal ≠X n Sample value of ~x n (t), and the n-th channel high-frequency compensation gain ρ n and the n-th channel compensation signal ^X' n Sample value of ^x' n (t) multiplied by ρ n x' n (t) and the sum of ~x' n (t)=~x n (t)+ρ n ×^x' n The sequence according to (t) is converted into the n-channel concealed decoded sound signal ∼X' n This is what you get as a The n-th channel high frequency compensation gain estimation step includes: For each corresponding sample t, the n-channel refined decoded sound signal ≠X n Sample value of ~x n (t) and the n-th channel compensation signal ^X' n Sample value of ^x' n (t) and the sum of ~x" n (t)=~x n (t)+^x' n The series by (t) is the nth channel provisional sum signal ~X" n We obtain The n-th channel refined decoded sound signal .about.X n High-frequency energy ~EX n is the n-th channel decoded sound signal ^X n High frequency energy of ^EX n The smaller the value, the larger the n-channel refined decoded sound signal ∼X n The high frequency energy of the nth channel provisional addition signal ~X" n The difference between the high frequency energy of the n-channel decoded sound signal ^X n High frequency energy of ^EX n The n-th channel high-frequency compensation gain ρ n Get A method for compensating high frequencies of a sound signal.
4. 4. A method for compensating a high frequency range of a sound signal according to claim 3, comprising the steps of: The n-th channel high frequency compensation gain estimation step includes: [Number 50] and [0051] Using [0052] or [0,53] or [0,54] where A is a predetermined positive value. The n-th channel high-frequency compensation gain ρ n Get A method for compensating high frequencies of a sound signal.
5. 3. A method for compensating a high frequency range of a sound signal according to claim 1, further comprising the steps of: The n-th channel high frequency compensation gain estimation step includes: The n-th channel refined decoded sound signal .about.X n The high frequency energy of the n-channel decoded sound signal ^X n The n-th channel high-frequency compensation gain ρ is increased as the n-th channel high-frequency energy is smaller than the n-th channel high-frequency energy. n Get A method for compensating high frequencies of a sound signal.
6. 3. A method for compensating a high frequency range of a sound signal according to claim 1, further comprising the steps of: The n-th channel high frequency compensation gain estimation step includes: The n-th channel refined decoded sound signal .about.X nHigh-frequency energy ~EX n and the n-th channel decoded sound signal ^X n High frequency energy of ^EX n Using [0.55] The n-th channel high-frequency compensation gain ρ n Get A method for compensating high frequencies of a sound signal.
7. A sound signal post-processing method including the sound signal high-frequency compensation method according to claim 2 as a sound signal high-frequency compensation step, The method further includes a step of refining a sound signal by performing signal processing in the time domain, The sound signal refining step includes: For each frame, the n-th channel decoded sound signal ^X n and the monaural decoded sound signal ^X M and, using at least the above, the n-channel refined decoded sound signal ∼X, which is a sound signal of each channel of the stereo, is generated. n This is what we obtain. The n-th channel decoded sound signal ^X n is obtained by decoding the stereo code CS without using information obtained by decoding the mono code CM or the mono code CM, For each channel n, for each corresponding sample t, for each frame, an n-th channel refinement weight α n and the monaural decoded sound signal ^X M Sample value of ^x M (t) multiplied by α n ×^x M (t) and the n-th channel refinement weight α n The value obtained by subtracting (1-α n ) and the n-th channel decoded sound signal ^X n Sample value of ^x n (t) multiplied by (1-α n )×^x n (t) and the sum of ~x n (t)=(1-α n )×^x n (t) + α n ×^x M (t) is converted into the n-channel refined decoded sound signal ∼X n The n-th channel signal purification step is obtained as A method for post-processing a sound signal, comprising:
8. 7. A sound signal post-processing method including the sound signal high-frequency compensation method according to claim 1 as a sound signal high-frequency compensation step, comprising: The method further includes a step of refining a sound signal by performing signal processing in the time domain, The sound signal refining step includes: For each frame, the n-th channel decoded sound signal ^X n and the monaural decoded sound signal ^X M and, using at least the above, the n-channel refined decoded sound signal ∼X, which is a sound signal of each channel of the stereo, is generated. n This is what we obtain. The n-th channel decoded sound signal ^X n is obtained by decoding the stereo code CS without using information obtained by decoding the mono code CM or the mono code CM, For each frame, the monaural decoded sound signal ^X M and inter-channel relation information, which is information representing the relation between stereo channels, are used to perform upmix processing to obtain the monaural decoded sound signal ^X M The n-th channel upmixed monaural decoded sound signal ^X Mn and an upmix step to get a mono decoded sound, For each channel n, for each corresponding sample t, for each frame, an n-th channel refinement weight α n and the n-th channel upmixed mono decoded sound signal ^X Mn Sample value of ^x Mn (t) multiplied by α n ×^x Mn (t) and the n-th channel refinement weight α n The value obtained by subtracting (1-α n ) and the n-th channel decoded sound signal ^X n Sample value of ^x n (t) multiplied by (1-α n )×^x n (t) and the sum of ~x n (t)=(1-α n )×^x n (t) + α n ×^x Mn (t) is converted into the n-channel refined decoded sound signal ∼X n and a n-th channel signal refining step of obtaining the n-th channel signal as A method for post-processing a sound signal, comprising:
9. A sound signal post-processing method including the sound signal high-frequency compensation method according to claim 2 as a sound signal high-frequency compensation step, The method further includes a step of refining a sound signal by performing signal processing in the time domain, The sound signal refining step includes: For each frame, the n-th channel decoded sound signal ^X n and the monaural decoded sound signal ^X M and, using at least the above, the n-channel refined decoded sound signal ∼X, which is a sound signal of each channel of the stereo, is generated. n This is what we obtain. The n-th channel decoded sound signal ^X n is obtained by decoding the stereo code CS without using information obtained by decoding the mono code CM or the mono code CM, For each frame, all n-th channel decoded sound signals ^X from 1 to N are n A decoded sound common signal ^Y M A decoded sound common signal estimation step to obtain For each frame, for each corresponding sample t, a common signal refinement weight α M and the monaural decoded sound signal ^X M Sample value of ^x M (t) multiplied by α M ×^x M (t) and the common signal refinement weight α M The value obtained by subtracting (1-α M ) and the decoded sound common signal ^Y M Sample value of ^y M (t) multiplied by (1-α M )×^y M (t) and the sum of ~y M (t)=(1-α M )×^y M (t) + α M ×^x M (t) is the refined common signal ~Y M and a common signal refinement step of obtaining a common signal as For each channel n, the n-channel decoded sound signal ^X n The decoded common signal ^Y M The normalized inner product value for the n-th channel separation coupling weight β n and an n-th channel separation combining weight estimation step, For each channel n, for each frame and for each corresponding sample t, the n-channel decoded sound signal ^X n Sample value of ^x n (t), the n-th channel separation combining weight β n and the decoded sound common signal ^Y M Sample value of ^y M (t) multiplied by β n ×^y M (t) and subtract the n-th channel separation combining weight β n and the refined common signal ~Y M Sample value of ~y M (t) multiplied by β n ×~y M The value obtained by adding (t) is ~x n (t)=^x n (t)-β n ×^y M (t) + β n ×~y M (t) is converted into the n-channel refined decoded sound signal ∼X n and a n-th channel separation and combination step of obtaining A method for post-processing a sound signal, comprising:
10. A sound signal post-processing method including the sound signal high-frequency compensation method according to claim 2 as a sound signal high-frequency compensation step, The method further includes a step of refining a sound signal by performing signal processing in the time domain, The sound signal refining step includes: For each frame, the n-th channel decoded sound signal ^X n and the monaural decoded sound signal ^X M and, using at least the above, the n-channel refined decoded sound signal ∼X, which is a sound signal of each channel of the stereo, is generated. n This is what we obtain. The n-th channel decoded sound signal ^X n is obtained by decoding the stereo code CS without using information obtained by decoding the mono code CM or the mono code CM, For each frame, all n-th channel decoded sound signals ^X from 1 to N are n A decoded sound common signal ^Y M A decoded sound common signal estimation step to obtain For each frame, for each corresponding sample t, a common signal refinement weight α M and the monaural decoded sound signal ^X M Sample value of ^x M (t) multiplied by α M ×^x M (t) and the common signal refinement weight α M The value obtained by subtracting (1-α M ) and the decoded sound common signal ^Y M Sample value of ^y M (t) multiplied by (1-α M )×^y M (t) and the sum of ~y M (t)=(1-α M )×^y M (t) + α M ×^x M (t) is the refined common signal ~Y M and a common signal refinement step of obtaining a common signal as For each frame, the decoded common signal ^Y Mand the information representing the relationship between the stereo channels, the decoded common signal ^Y M The n-th channel upmixed common signal ^Y Mn a decoded common signal upmix step to obtain For each frame, the refined common signal ∼Y M and the information representing the relationship between the stereo channels, and the refined common signal ∼Y M The n-th channel upmixed refined signal ~Y Mn a refined common signal upmix step to obtain For each channel n, the n-channel decoded sound signal ^X n The n-th channel upmixed common signal ^Y Mn The normalized inner product value for the n-th channel separation coupling weight β n and an n-th channel separation combining weight estimation step, For each channel n, for each frame and for each corresponding sample t, the n-channel decoded sound signal ^X n Sample value of ^x n (t), the n-th channel separation combining weight β n and the n-th channel upmixed common signal ^Y Mn Sample value of ^y Mn (t) multiplied by β n ×^y Mn (t) and subtract the n-th channel separation combining weight β n and the n-th channel upmixed refined signal ̂Y Mn Sample value of ~y Mn (t) multiplied by β n ×~y Mn The value obtained by adding (t) is ~x n (t)=^x n (t)-β n ×^y Mn (t) + β n ×~y Mn (t) is converted into the n-channel refined decoded sound signal ∼X n and a n-th channel separation and combination step of obtaining A method for post-processing a sound signal, comprising:
11. 7. A sound signal post-processing method including the sound signal high-frequency compensation method according to claim 1 as a sound signal high-frequency compensation step, comprising: The method further includes a step of refining a sound signal by performing signal processing in the time domain, The sound signal refining step includes: For each frame, the n-th channel decoded sound signal ^X n and the monaural decoded sound signal ^X M and, using at least the above, the n-channel refined decoded sound signal ∼X, which is a sound signal of each channel of the stereo, is generated. n This is what we obtain. The n-th channel decoded sound signal ^X n is obtained by decoding the stereo code CS without using information obtained by decoding the mono code CM or the mono code CM, For each frame, all n-th channel decoded sound signals ^X from 1 to N are n A decoded sound common signal ^Y M A decoded sound common signal estimation step to obtain For each frame, the decoded common signal ^Y M and the information representing the relationship between the stereo channels, the decoded common signal ^Y M The n-th channel upmixed common signal ^Y Mn a decoded common signal upmix step to obtain For each frame, the monaural decoded sound signal ^X M and the information representing the relationship between the stereo channels, the mono decoded sound signal ^X M The n-th channel upmixed monaural decoded sound signal ^X Mn and an upmix step to get a mono decoded sound, For each channel n, for each corresponding sample t, for each frame, an n-th channel refinement weight α Mn and the n-th channel upmixed mono decoded sound signal ^X Mn Sample value of ^x Mn (t) multiplied by α Mn ×^x Mn (t) and the n-th channel refinement weight α Mn The value obtained by subtracting (1-α Mn ) and the n-th channel upmixed common signal ^Y Mn Sample value of ^y Mn (t) multiplied by (1-α Mn )×^y Mn (t) and the sum of ~y Mn (t)=(1-α Mn )×^y Mn (t) + α Mn ×^x Mn The sequence by (t) is converted into the n-th channel refined upmixed signal ~Y Mn and a n-th channel signal refining step of obtaining the n-th channel signal as For each channel n, the n-channel decoded sound signal ^X n The n-th channel upmixed common signal ^Y Mn The normalized inner product value for the n-th channel separation coupling weight β n and an n-th channel separation combining weight estimation step, For each channel n, for each frame and for each corresponding sample t, the n-channel decoded sound signal ^X n Sample value of ^x n (t), the n-th channel separation combining weight β n and the n-th channel upmixed common signal ^Y Mn Sample value of ^y Mn (t) multiplied by β n ×^y Mn (t) and subtract the n-th channel separation combining weight β n and the n-th channel refined upmixed signal .about.Y Mn Sample value of ~y Mn (t) multiplied by β n×~y Mn The value obtained by adding (t) is ~x n (t)=^x n (t)-β n ×^y Mn (t) + β n ×~y Mn (t) is converted into the n-channel refined decoded sound signal ∼X n and a n-th channel separation and combination step of obtaining A method for post-processing a sound signal, comprising:
12. A sound signal decoding method including a sound signal high-frequency compensation step and a sound signal refinement step of the sound signal post-processing method according to any one of claims 7 to 11, The stereo code CS is decoded to obtain the n-channel decoded sound signal ^X of each channel n without using the information obtained by decoding the monaural code CM or the monaural code CM. n a stereo decoding step to obtain The monaural code CM is decoded to produce the monaural decoded sound signal ^X M a mono decoding step to obtain The sound signal decoding method further comprising:
13. For each frame, the stereo code CS is decoded to obtain an n-th channel decoded sound signal ^X n (n is an integer between 1 and N) and the n-th channel refined decoded sound signal ~X obtained by performing time domain signal processing on n The n-th channel compensated decoded sound signal ∼X' is a signal obtained by compensating for the high frequency range of n A sound signal high frequency compensation device for obtaining For each channel, for each frame, The number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS is n However, the number of bits of the mono code CM, which is a code different from the stereo code CS, is b M If it is greater than n Select The number of bits b n is the number of bits b M If it is smaller than , the monaural decoded sound signal ^X obtained by decoding the monaural code CM is M The n-th channel upmixed monaural decoded sound signal ^X Mn an n-th channel signal selection unit that selects For each channel, the n-th channel concealed decoded sound signal .about.X' is n The high frequency energy of the n-channel decoded sound signal ^X n The n-th channel high-frequency compensation gain ρ n An n-th channel high-frequency compensation gain estimation unit that obtains For each channel, the n-th channel refined decoded sound signal ≠X n and the n-th channel selection signal ^X, which is the signal selected by the n-th channel signal selection unit. Sn The n-th channel high-frequency compensation gain ρ n The signal obtained by multiplying and adding is the n-channel concealed decoded sound signal ∼X' n and an n-th channel high frequency compensation unit that obtains and outputs 1. A sound signal high frequency compensation device comprising:
14. For each frame, the stereo code CS is decoded to obtain an n-th channel decoded sound signal ^X n (n is an integer between 1 and N) and the n-th channel refined decoded sound signal ~X obtained by performing time domain signal processing on n The n-th channel compensated decoded sound signal ∼X' is a signal obtained by compensating for the high frequency range of n A sound signal high frequency compensation device for obtaining For each channel, for each frame, The number of bits b corresponding to the n-th channel among the number of bits of the stereo code CS is n However, the number of bits of the mono code CM, which is a code different from the stereo code CS, is b M If it is greater than n Select The number of bits b n is the number of bits b M If it is smaller than , the monaural decoded sound signal ^X obtained by decoding the monaural code CM is M an n-th channel signal selection unit that selects For each channel, the n-th channel concealed decoded sound signal .about.X' is n The high frequency energy of the n-channel decoded sound signal ^X n The n-th channel high-frequency compensation gain ρ n An n-th channel high-frequency compensation gain estimation unit that obtains For each channel, the n-th channel refined decoded sound signal ≠X n and the n-th channel selection signal ^X, which is the signal selected by the n-th channel signal selection unit. Sn The n-th channel high-frequency compensation gain ρ n The signal obtained by multiplying and adding is the n-channel concealed decoded sound signal ∼X' n and an n-th channel high frequency compensation unit that obtains and outputs 1. A sound signal high frequency compensation device comprising:
15. A sound signal post-processing device including the sound signal high-frequency compensation device according to claim 14 as a sound signal high-frequency compensation unit, Further comprising a sound signal refining unit that performs signal processing in the time domain, The sound signal refining unit includes: For each frame, the n-th channel decoded sound signal ^X n and the monaural decoded sound signal ^X M and, using at least the above, the n-channel refined decoded sound signal ∼X, which is a sound signal of each channel of the stereo, is generated. n This is what we obtain. The n-th channel decoded sound signal ^X n is obtained by decoding the stereo code CS without using information obtained by decoding the mono code CM or the mono code CM, For each channel n, for each corresponding sample t, for each frame, an n-th channel refinement weight α nand the monaural decoded sound signal ^X M Sample value of ^x M (t) multiplied by α n ×^x M (t) and the n-th channel refinement weight α n The value obtained by subtracting (1-α n ) and the n-th channel decoded sound signal ^X n Sample value of ^x n (t) multiplied by (1-α n )×^x n (t) and the sum of ~x n (t)=(1-α n )×^x n (t) + α n ×^x M (t) is converted into the n-channel refined decoded sound signal ∼X n The n-th channel signal purifying unit 13. A sound signal post-processing device comprising:
16. A sound signal post-processing device including the sound signal high-frequency compensation device according to claim 13 or 14 as a sound signal high-frequency compensation unit, Further comprising a sound signal refining unit that performs signal processing in the time domain, The sound signal refining unit includes: For each frame, the n-th channel decoded sound signal ^X n and the monaural decoded sound signal ^X M and, using at least the above, the n-channel refined decoded sound signal ∼X, which is a sound signal of each channel of the stereo, is generated. n This is what we obtain. The n-th channel decoded sound signal ^X n is obtained by decoding the stereo code CS without using information obtained by decoding the mono code CM or the mono code CM, For each frame, the monaural decoded sound signal ^X M and inter-channel relation information, which is information representing the relation between stereo channels, are used to perform upmix processing to obtain the monaural decoded sound signal ^X MThe n-th channel upmixed monaural decoded sound signal ^X Mn A mono decoded sound upmix unit for obtaining the mono decoded sound; For each channel n, for each corresponding sample t, for each frame, an n-th channel refinement weight α n and the n-th channel upmixed mono decoded sound signal ^X Mn Sample value of ^x Mn (t) multiplied by α n ×^x Mn (t) and the n-th channel refinement weight α n The value obtained by subtracting (1-α n ) and the n-th channel decoded sound signal ^X n Sample value of ^x n (t) multiplied by (1-α n )×^x n (t) and the sum of ~x n (t)=(1-α n )×^x n (t) + α n ×^x Mn (t) is converted into the n-channel refined decoded sound signal ∼X n and an n-th channel signal refining unit for obtaining the n-th channel signal 13. A sound signal post-processing device comprising:
17. A sound signal post-processing device including the sound signal high-frequency compensation device according to claim 14 as a sound signal high-frequency compensation unit, Further comprising a sound signal refining unit that performs signal processing in the time domain, The sound signal refining unit includes: For each frame, the n-th channel decoded sound signal ^X n and the monaural decoded sound signal ^X M and, using at least the above, the n-channel refined decoded sound signal ∼X, which is a sound signal of each channel of the stereo, is generated. n This is what we obtain. The n-th channel decoded sound signal ^X n is obtained by decoding the stereo code CS without using information obtained by decoding the mono code CM or the mono code CM, For each frame, all n-th channel decoded sound signals ^X from 1 to N are n A decoded sound common signal ^Y M a decoded sound common signal estimation unit for obtaining a signal For each frame, for each corresponding sample t, a common signal refinement weight α M and the monaural decoded sound signal ^X M Sample value of ^x M (t) multiplied by α M ×^x M (t) and the common signal refinement weight α M The value obtained by subtracting (1-α M ) and the decoded sound common signal ^Y M Sample value of ^y M (t) multiplied by (1-α M )×^y M (t) and the sum of ~y M (t)=(1-α M )×^y M (t) + α M ×^x M (t) is the refined common signal ~Y M A common signal refining unit obtains the signal For each channel n, the n-channel decoded sound signal ^X n The decoded common signal ^Y M The normalized inner product value for the n-th channel separation coupling weight β n and an n-th channel separation and coupling weight estimation unit that obtains the n-th channel separation and coupling weight estimation unit For each channel n, for each frame and for each corresponding sample t, the n-channel decoded sound signal ^X n Sample value of ^x n (t), the n-th channel separation combining weight β n and the decoded sound common signal ^Y M Sample value of ^y M (t) multiplied by β n ×^y M (t) and subtract the n-th channel separation combining weight β n and the refined common signal ~Y M Sample value of ~y M (t) multiplied by β n ×~y M The value obtained by adding (t) is ~x n (t)=^x n (t)-β n ×^y M (t) + β n ×~y M (t) is converted into the n-channel refined decoded sound signal ∼X n and an n-th channel separation and combination part obtained as follows:
13. A sound signal post-processing device comprising:
18. A sound signal post-processing device including the sound signal high-frequency compensation device according to claim 14 as a sound signal high-frequency compensation unit, Further comprising a sound signal refining unit that performs signal processing in the time domain, The sound signal refining unit includes: For each frame, the n-th channel decoded sound signal ^X n and the monaural decoded sound signal ^X M and, using at least the above, the n-channel refined decoded sound signal ∼X, which is a sound signal of each channel of the stereo, is generated. n This is what we obtain. The n-th channel decoded sound signal ^X n is obtained by decoding the stereo code CS without using information obtained by decoding the mono code CM or the mono code CM, For each frame, all n-th channel decoded sound signals ^X from 1 to N are n A decoded sound common signal ^Y M a decoded sound common signal estimation unit for obtaining a signal For each frame, for each corresponding sample t, a common signal refinement weight α M and the monaural decoded sound signal ^X M Sample value of ^x M (t) multiplied by α M ×^x M (t) and the common signal refinement weight α M The value obtained by subtracting (1-α M ) and the decoded sound common signal ^Y M Sample value of ^y M (t) multiplied by (1-α M )×^y M (t) and the sum of ~y M (t)=(1-α M )×^y M (t) + α M ×^x M (t) is the refined common signal ~Y M A common signal refining unit obtains the signal For each frame, the decoded common signal ^Y M and the information representing the relationship between the stereo channels, the decoded common signal ^Y M The n-th channel upmixed common signal ^Y Mn A decoded sound common signal upmix unit for obtaining the decoded sound common signal; For each frame, the refined common signal ∼Y M and the information representing the relationship between the stereo channels, and the refined common signal ∼Y M The n-th channel upmixed refined signal ~Y Mn a refined common signal upmix unit for obtaining a refined common signal; For each channel n, the n-channel decoded sound signal ^X n The n-th channel upmixed common signal ^Y Mn The normalized inner product value for the n-th channel separation coupling weight β n and an n-th channel separation and coupling weight estimation unit that obtains the n-th channel separation and coupling weight estimation unit For each channel n, for each frame and for each corresponding sample t, the n-channel decoded sound signal ^X n Sample value of ^x n (t), the n-th channel separation combining weight β n and the n-th channel upmixed common signal ^Y Mn Sample value of ^y Mn (t) multiplied by β n ×^y Mn (t) and subtract the n-th channel separation combining weight β n and the n-th channel upmixed refined signal ̂Y Mn Sample value of ~y Mn (t) multiplied by β n ×~y Mn The value obtained by adding (t) is ~x n (t)=^x n (t)-β n ×^y Mn (t) + β n ×~y Mn (t) is converted into the n-channel refined decoded sound signal ∼X n and an n-th channel separation and combination part obtained as follows:
13. A sound signal post-processing device comprising:
19. A sound signal post-processing device including the sound signal high-frequency compensation device according to claim 13 or 14 as a sound signal high-frequency compensation unit, Further comprising a sound signal refining unit that performs signal processing in the time domain, The sound signal refining unit includes: For each frame, the n-th channel decoded sound signal ^X n and the monaural decoded sound signal ^X M and, using at least the above, the n-channel refined decoded sound signal ∼X, which is a sound signal of each channel of the stereo, is generated. n This is what we obtain. The n-th channel decoded sound signal ^X n is obtained by decoding the stereo code CS without using information obtained by decoding the mono code CM or the mono code CM, For each frame, all n-th channel decoded sound signals ^X from 1 to N are n A decoded sound common signal ^Y M a decoded sound common signal estimation unit for obtaining a signal For each frame, the decoded common signal ^Y M and the information representing the relationship between the stereo channels, the decoded common signal ^Y M The n-th channel upmixed common signal ^Y Mn A decoded sound common signal upmix unit for obtaining the decoded sound common signal; For each frame, the monaural decoded sound signal ^X M and the information representing the relationship between the stereo channels, the mono decoded sound signal ^X M The n-th channel upmixed monaural decoded sound signal ^X Mn A mono decoded sound upmix unit for obtaining the mono decoded sound; For each channel n, for each corresponding sample t, for each frame, an n-th channel refinement weight α Mn and the n-th channel upmixed mono decoded sound signal ^X Mn Sample value of ^x Mn (t) multiplied by α Mn ×^x Mn (t) and the n-th channel refinement weight α Mn The value obtained by subtracting (1-α Mn ) and the n-th channel upmixed common signal ^Y Mn Sample value of ^y Mn (t) multiplied by (1-α Mn )×^y Mn (t) and the sum of ~y Mn (t)=(1-α Mn )×^y Mn (t) + α Mn ×^x Mn The sequence by (t) is converted into the n-th channel refined upmixed signal ~Y Mn and an n-th channel signal refining unit for obtaining the n-th channel signal For each channel n, the n-channel decoded sound signal ^X n The n-th channel upmixed common signal ^Y Mn The normalized inner product value for the n-th channel separation coupling weight β n and an n-th channel separation and coupling weight estimation unit that obtains the n-th channel separation and coupling weight estimation unit For each channel n, for each frame and for each corresponding sample t, the n-channel decoded sound signal ^X n Sample value of ^x n (t), the n-th channel separation combining weight β n and the n-th channel upmixed common signal ^Y Mn Sample value of ^y Mn (t) multiplied by β n ×^y Mn (t) and subtract the n-th channel separation combining weight β n and the n-th channel refined upmixed signal .about.Y Mn Sample value of ~y Mn (t) multiplied by β n ×~y Mn The value obtained by adding (t) is ~x n (t)=^x n (t)-β n ×^y Mn (t) + β n ×~y Mn (t) is converted into the n-channel refined decoded sound signal ∼X n and an n-th channel separation and combination part obtained as follows:
13. A sound signal post-processing device comprising:
20. A sound signal decoding device including a sound signal high-frequency compensation unit and a sound signal refinement unit of a sound signal post-processing device according to any one of claims 15 to 19, The stereo code CS is decoded to obtain the n-channel decoded sound signal ^X of each channel n without using the information obtained by decoding the monaural code CM or the monaural code CM. n a stereo decoder for obtaining The monaural code CM is decoded to produce the monaural decoded sound signal ^X M A monaural decoding unit for obtaining The sound signal decoding device further comprising:
21. A program for causing a computer to execute the steps of the method according to any one of claims 1 to 12.
22. A computer-readable recording medium having recorded thereon a program for causing a computer to execute the steps of the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Audio signal packet communication method, audio signal packet transmission method and reception method, apparatus for the same, program thereof and recording medium
JP2005117132A
Sound coding device and sound coding method
WO2006070751A1
Audio playback device and audio playback method
WO2010058518A1
