Time domain ultra wide band bandwidth extension for crosstalk scenarios
By calculating the high-frequency band residual signal and time envelope in the encoding/decoding process of the crosstalk sound signal, and mixing the low-frequency band excitation signal and random noise, the problem of crosstalk sound quality degradation in traditional technology is solved, and a more natural speech is achieved synthesis.
Patent Information
- Application Number
- CN202380020248.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-03
- Filing Date
- 2023-01-27
- Publication Date
- 2024-10-01
AI Technical Summary
Traditional speech coding technology has a "click-click noise" problem when dealing with crosstalk sounds. Especially at the low bit rate of the 3GPP EVS codec, the high-frequency band excitation signal is not directly encoded, resulting in a decrease in the quality of the synthesized sound.
During the encoding/decoding of the crosstalk sound signal, the high-frequency band voicing factor is calculated by calculating the high-frequency band residual signal and the time envelope, and the high-frequency band mixing factor is used to mix the low-frequency band excitation signal and the random noise excitation signal, resulting in The excitation signal with extended domain bandwidth improves the encoding and decoding process of the excitation signal.
It effectively eliminates "click noise" and improves the quality of crosstalk speech signals. Through time domain bandwidth expansion technology, the excitation signal is improved in the encoder and decoder, and the naturalness and quality of the sound are enhanced.
Smart Images

Figure CN118742956A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a method and apparatus for time-domain bandwidth extension of an excitation signal during encoding / decoding of a cross-talk sound signal.
[0002] In this disclosure and the appended claims:
[0003] - The term "crosstalk" is generally intended to mean a sound segment in which a first sound element is superimposed on a second sound element, such as, but not exclusively, a speech segment when a first person speaks over a second person's speech.
[0004] - The term "low-band" is intended to mean a lower frequency range. Although 0kHz to 6.4kHz and 0kHz to 8kHz frequency ranges are given as examples of "low-band" in this disclosure, the frequency boundaries of the low-band frequency range may obviously be modified / adapted to the bit rate of the codec and / or to achieve specific goals such as compliance with application, system, network and design / business related constraints.
[0005] - The term "high-band" is intended to denote a higher frequency range. Although 6.4kHz to 14kHz and 8kHz to 16kHz frequency ranges are given as examples of "high-band" in this disclosure, the frequency boundaries of the high-band frequency range may obviously be modified / adapted to the bit rate of the codec and / or to achieve specific goals such as compliance with application, system, network and design / business related constraints. Background Art
[0006] In many conversational applications, it is common for one person to speak above another person. As mentioned above, this situation is often referred to as "crosstalk". Crosstalk speech segments may be problematic in modern speech coding / decoding systems. Since traditional speech coding techniques are primarily designed and optimized for single-speech content (only one person is speaking), the quality of crosstalk speech may be severely affected by the coding / decoding operation. As an example, one of the most serious problems in crosstalk speech coding / decoding in the 3GPP EVS codec (reference [1] or its entire contents are incorporated herein by reference) is the occasional presence of "clicking noise". "Clicking noise" is a strong, annoying sound produced at a frequency of 8kHz to 14kHz (i.e., within the high-frequency band frequency range example defined above in this article).
[0007] At low bit rates of the 3GPP EVS codec, the high-band frequency content is encoded / decoded using the ultra-wideband bandwidth extension (SWB TBE) tool as described in reference [1]. Due to the limited number of bits available to the SWB TBE tool, the high-band excitation signal within the high-band frequency range is not encoded directly. Instead, the low-band excitation signal within the low-band frequency range is calculated using an ACELP (Algebraic Code Excited Linear Prediction) encoder (reference [2], the entire contents of which are incorporated herein by reference), then upsampled and extended to 14kHz or 16kHz, depending on the high-band frequency range, and used as a substitute for the high-band excitation signal. If there is a mismatch between the low-band excitation signal and the high-band excitation signal, the synthesized sound may sound different compared to the original sound. When the low-band excitation signal is voiced but the high-band excitation signal is unvoiced, the synthesized sound will be perceived as a click-click noise as defined above. Figure 1 The spectrum plot of shows the problem of click-and-pop noise in the crosstalk content.
[0008] Figure 1 The figure in shows the relationship between the power spectrum P of an exemplary crosstalk sound and the frequency f, in which two speakers emit different types of sounds. Although the sound from the first speaker (speaker 1) mainly includes vocal content, the sound from the second speaker (speaker 2) contains silent segments. Assuming a mono capture device (such as a smart phone or an omnidirectional microphone), the sounds from the two speakers will be mixed together within the capture device. As a result, as seen by the encoder, the spectral content of the input sound signal will be similar to a superset of the two spectra. Similar situations occur in multi-channel capture devices such as stereo microphones or surround microphones. If the encoder includes a downmix module, the resulting mono input signal may contain different types of sounds that are clearly distinguishable in the spectral domain. Summary of the invention
[0009] The present disclosure relates to the following aspects:
[0010] -A method for time-domain bandwidth extension of an excitation signal during decoding of a crosstalk sound signal, comprising: decoding a high-band mixing factor received in a bit stream, and mixing a low-band excitation signal and a random noise excitation signal using the high-band mixing factor to generate an excitation signal with time-domain bandwidth extension.
[0011] -A method for performing time-domain bandwidth expansion on an excitation signal during encoding of a crosstalk sound signal, comprising: (a) calculating a high-band residual signal using the sound signal and (b) calculating a time envelope of the high-band residual signal; and calculating a high-band voicing factor based on the time envelope of the high-band residual signal.
[0012] - A method for time-domain bandwidth extension of an excitation signal during encoding of a crosstalk sound signal, comprising: calculating a high-band mixing factor that can be used to mix a low-band excitation signal and a random noise excitation signal to generate a time-domain bandwidth extended excitation signal.
[0013] -A method for performing time-domain bandwidth expansion on an excitation signal during encoding of a crosstalk sound signal, comprising: (a) calculating a high-band residual signal using a sound signal and (b) calculating a time envelope of the high-band residual signal; calculating a high-band voicing factor based on the time envelope of the high-band residual signal; calculating a high-band mixing factor that can be used to mix a low-band excitation signal and a random noise excitation signal to produce an excitation signal with time-domain bandwidth expansion; and estimating a gain / shape parameter using the high-band voicing factor.
[0014] -A device for time-domain bandwidth expansion of an excitation signal during decoding of a crosstalk sound signal, comprising: a decoder that decodes a high-band mixing factor received in a bit stream, and a mixer that mixes a low-band excitation signal and a random noise excitation signal using the high-band mixing factor to generate an excitation signal with time-domain bandwidth expansion.
[0015] -A device for performing time-domain bandwidth expansion on an excitation signal during encoding of a crosstalk sound signal, comprising: (a) a calculator for calculating a high-band residual signal using a sound signal and (b) a calculator for calculating a time envelope of the high-band residual signal; and a calculator for a high-band voicing factor based on the time envelope of the high-band residual signal.
[0016] - A device for time-domain bandwidth extension of an excitation signal during encoding of a crosstalk sound signal, comprising: a calculator of a high-band mixing factor that can be used to mix a low-band excitation signal and a random noise excitation signal to generate a time-domain bandwidth extended excitation signal.
[0017] -A device for performing time-domain bandwidth expansion on an excitation signal during encoding of a crosstalk sound signal, comprising: (a) a calculator for calculating a high-band residual signal using a sound signal and (b) calculating the time envelope of the high-band residual signal; a calculator for a high-band voicing factor based on the time envelope of the high-band residual signal; a calculator for a high-band mixing factor that can be used to mix a low-band excitation signal and a random noise excitation signal to produce an excitation signal with time-domain bandwidth expansion; and an estimator for a gain / shape parameter using the high-band voicing factor.
[0018] The foregoing and other objects, advantages and features of the method and apparatus for time domain bandwidth extension of an excitation signal during encoding / decoding of crosstalk sound signals will become more apparent after reading the following non-limiting description of illustrative embodiments given by way of example only with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In the attached picture:
[0020] Figure 1 is a graph showing the power spectrum P (dB) versus frequency f (kHz) of an exemplary crosstalk sound in which two speakers (speaker 1 and speaker 2) emit different types of (voiced and unvoiced) sounds;
[0021] Figure 2 is a schematic block diagram showing a calculation / calculator of a high-band voicing factor in a method and apparatus for performing time-domain bandwidth expansion on an excitation signal during encoding of a crosstalk sound signal;
[0022] Figure 3 is a graph showing how to determine the time envelope of the high-band residual signal;
[0023] Figure 4 is a graph showing interpolation of segment normalization factors calculated using an average of consecutive segments of a downsampled temporal envelope of a high-band residual signal;
[0024] Figure 5 is a schematic block diagram showing at the decoder a method for performing time-domain bandwidth expansion on an excitation signal and a calculation / calculator of the excitation signal for time-domain bandwidth expansion in an apparatus;
[0025] Figure 6 is a schematic block diagram showing at the encoder a calculation / calculator of a high-band mixing factor formed / represented by a quantized normalized gain within a method and apparatus for time-domain bandwidth extension of an excitation signal;
[0026] Figure 7 is a schematic block diagram of a method and a gain shape estimator / estimator in a device for time-domain bandwidth extension of an excitation signal;
[0027] Figure 8 is a graph showing interpolation of subframe gains; and
[0028] Fig. 9 is a simplified block diagram of an example configuration of hardware components forming a method and apparatus for time-domain bandwidth extension of an excitation signal during encoding / decoding of a crosstalk sound signal. DETAILED DESCRIPTION
[0029] The following description relates to a technique for encoding / decoding a crosstalk sound signal. In the present disclosure, the basis of the encoding / decoding technique is the SWB TBE tool for the 3GPP EVS codec described in reference [1]. However, it should be remembered that the technique can be used in combination with other encoding / decoding techniques.
[0030] More specifically, the present disclosure proposes a series of modifications to the SWB TBE tool. The purpose of this series of modifications is to improve the quality of the synthesized crosstalk sound signal (such as the crosstalk speech signal), in particular but not exclusively to eliminate the rattling noise defined above. The series of modifications involves time domain bandwidth extension of the excitation signal and is distributed in one or more of the following three areas:
[0031] - In the encoder, the high-band voicing factors are calculated using the temporal envelope of the high-band residual signal. In the SWBTBE tool, the high-band corresponds to the SHB (Super High Band).
[0032] - Calculation of high-band mixing factors for the high-band excitation signal in the encoder and decoder.
[0033] - Improvements in the estimation of gain / shape parameters and frame gain in the encoder and decoder.
[0034] The calculation of the high-band voicing factor according to the present disclosure uses the high-band autocorrelation function itself, which is calculated, for example, in the down-sampled domain from the time envelope of the high-band residual signal. The high-band voicing factor is used in the encoder to replace the so-called speech factor derived from the low-band voicing parameters in the SWB TBE tool.
[0035] The calculation of high-band mixing factor according to the present disclosure has replaced the corresponding method in the SWB TBE tool.The high-band mixing factor determines the ratio of low-band excitation signal (for example from ACELP core) and random noise (it can also be defined as " white noise ") excitation signal, is used to produce the excitation signal of time domain bandwidth extension.In the disclosed embodiment, for example in the down-sampling domain, the high-band mixing factor is calculated by minimizing the MSE (mean square error) between the time envelope of the random noise excitation signal and the time envelope of the low-band excitation signal.The quantization of the high-band mixing factor can be performed by the existing quantizer of the SWB TBE tool.The quantized high-band mixing factor is added to the SWB TBE bit stream to cause a very small increase in bit rate.The mixing operation is performed at both encoder and decoder.Other characteristics of the mixing operation can include the rescaling of the random noise excitation signal and the interpolation of the high-band mixing factor at the beginning of each frame to ensure the smooth transition between the current frame and the previous frame.
[0036] Estimation of gain / shape parameters according to the present disclosure includes post-processing the gain / shape parameters using adaptive smoothing of unquantized gain / shape parameters (in the encoder) by weighting between the original gain / shape parameters and the interpolated gain / shape parameters. Quantization of the gain / shape parameters can be performed by the existing quantizer of the SWB TBE tool. Adaptive smoothing is applied twice; it is first applied to the unquantized gain / shape parameters (in the encoder), and then to the quantized gain / shape parameters (in both the encoder and the decoder). Adaptive attenuation is applied to the unquantized frame gain at the encoder. The adaptive attenuation is based on the MSE excess error, which is a byproduct of the SHB voice parameter calculation in the SWB TBE tool.
[0037] Figure 2 is a schematic block diagram illustrating both a method 200 and a calculation / calculator of a high-band voicing factor in an apparatus 250 for performing time-domain bandwidth extension on an excitation signal during encoding of a crosstalk sound signal.
[0038] 1. Low frequency band excitation signal
[0039] refer to Figure 2 For example, the following equation (1) is used to represent the input audio signal s to the 3GPP EVS codec: inp (n):
[0040] s inp (n),n=0,..,N 32k -1(1)
[0041] Among them, N 32k is the number of samples in a frame (frame length). In this specific non-limiting example, the input sound signal s inp (n) F s = 32kHz sampling rate and the length of a single frame is N 32k = 640 samples. This corresponds to a time interval of 20 ms. Frames of a given duration, each comprising a given number of subframes and comprising a given number of consecutive sound signal samples, are used for processing sound signals in the field of sound signal coding; further information on such frames can be found, for example, in reference [1].
[0042] The method 200 includes a downsampling operation 201, and the apparatus 250 includes a downsampler 251 for performing the operation 201. The downsampler 251 downsamples the input sound signal s depending on the bit rate of the encoder. inp(n) Downsampling from 32kHz to 12.8kHz or 16kHz. For example, for all bit rates up to 24.4kbps, the input sound signal in the 3GPP EVS codec is downsampled to 12.8kHz, otherwise it is downsampled to 16kHz. The resulting signal is the low-band signal 202. The low-band signal 202 is encoded using the ACELP encoder 253 in the ACELP encoding operation 203.
[0043] The method 200 includes an ACELP encoding operation 203, and the device 250 includes an ACELP encoder 253 of a 3GPP EVS codec to perform ACELP encoding. The ACELP encoder 253 generates two types of excitation signals, an adaptive codebook excitation signal 204 and a fixed codebook excitation signal 205, as described in reference [1].
[0044] In the method 200 and the device 250, the SWB TBE tool within the 3GPP EVS codec performs a low-band excitation signal generation operation 207 and includes a corresponding generator 257 for generating a low-band excitation signal 208. The generator 257 uses the two excitation signals 204 and 205 as inputs, mixes them together and applies a nonlinear transformation to produce a mixed signal with a flipped spectrum, which is further processed in the SWB TBE tool to obtain Figure 2 The low-band excitation signal 208 is a low-band excitation signal. Details on the generation of the low-band excitation signal can be found in reference [1]; in particular, Section 5.2.6.1 describes SWB TBE encoding and Section 6.1.3.1 describes SWB TBE decoding.
[0045] As a non-limiting example, the low-band excitation signal 208 with a flipped spectrum is sampled at 16 kHz and is represented using the following relationship (2):
[0046] l LB (n),n=0,..,N-1(2)
[0047] Wherein N=320 is the frame length.
[0048] 2. High-frequency band target signal
[0049] refer to Figure 2 , the high-band target signal 210 is essentially the input sound signal s inp(n) extraction, this input sound signal depends on the bit rate of codec and is included in the frequency spectrum component in the frequency range of 6.4kHz to 14kHz or 8kHz to 16kHz. No matter the bit rate of codec, high frequency band target signal 210 is always sampled at 16kHz, and its spectrum content is overturned. Therefore, the first frequency binary bit (bin) of high frequency band target spectrum corresponds to the last frequency binary bit of spectrum, and vice versa. In method 200 and equipment 250, can for example use QMF (quadrature mirror filter) analysis operation 209 performed by QMF analysis filter bank 259 of 3GPP EVS codec as described in reference [1] to generate high frequency band target signal 210. Alternatively, high frequency band target signal 210 can be by using bandpass filter to input sound signal s inp (n) is filtered, shifted in the frequency domain, its spectral content is flipped as described above and finally downsampled from 32kHz to 16kHz to generate. In the present disclosure, it will be assumed that QMF processing is used, and the high-band target signal 210 is represented, for example, using the following relation (3):
[0050] s HB (n),n=0,..,N-1(3)
[0051] After the processing in the QMF filter bank 259, the method 200 includes an operation 211 of estimating a high-band filter coefficient 212, and the device 250 includes an estimator 261 for performing the operation 211. The estimator 261 estimates the high-band LP (linear prediction) filter coefficient 212 from the high-band target signal 210 frame by frame in four consecutive subframes with a length of 80 samples in each subframe. The estimator 261 uses the Levinson-Durbin algorithm described in the reference [1] to calculate the high-band LP filter coefficient 212. The high-band LP filter coefficient 212 can be represented by the following relation (4):
[0052]
[0053] Where P = 10 is the order of the high-band LP filter, and j = 0, ..., 3 is the subframe index. The first LP filter coefficient in each subframe is unitary, i.e.
[0054] Method 200 includes an operation 213 of generating a high-band residual signal 214, and device 250 includes a generator 263 of the high-band residual signal to perform operation 213. Generator 263 produces high-band residual signal 214 by filtering the high-band target signal 210 from QMF analysis filter bank 259 with a high-band LP filter (LP filter coefficient 212) from estimator 261. High-band residual signal 214 can be represented, for example, by using the following relation (5):
[0055]
[0056] The first P samples of the high-band residual signal 214 are calculated using the high-band target signal 210 from the previous frame. This is given by s in the summation term HB (-k), k=1, ..., negative indexes in P indicate that the negative indexes refer to samples of the high-band target signal 214 at the end of the previous frame.
[0057] 3. High-frequency band autocorrelation function and phonation factor
[0058] Section 3 (High-band autocorrelation function) deals with the characterization of the encoder.
[0059] The high-frequency band residual signal 214 that is calculated by generator 263 using relational expression 5 is used to calculate high-frequency band autocorrelation function and high-frequency band voicing factor.Do not directly calculate the high-frequency band autocorrelation function on the high-frequency band residual signal 214.Directly calculating the high-frequency band autocorrelation function requires a large amount of computing resources.In addition, the dynamics of the high-frequency band residual signal 214 is normally low, and the spectrum inversion process causes the difference between the fuzzy voiced and silent sound signal usually.In order to avoid these problems, for example, estimate the high-frequency band autocorrelation function on the time envelope of the high-frequency band residual signal 214 in the down-sampling domain.
[0060] The method 200 includes an operation 215 of calculating a temporal envelope of the high-band residual signal 214, and the apparatus 250 includes a calculator 265 for performing the operation 215. In order to calculate the temporal envelope R of the high-band residual signal 214 TD (n) 216, the calculator 265 processes the high-band residual signal 214 through a sliding moving average (MA) filter, which includes M=20 taps in the example embodiment. The time envelope calculation can be represented by the following relationship (6):
[0061]
[0062] Among them, the negative sample r HB(k), k = -M / 2, ..., -1 refers to the value of the high-band residual signal 214 in the previous frame. In a mode switching scenario, it may happen that the high-band residual signal 214 in the previous frame is not calculated and the value is unknown. In this case, the first M / 2 value r HB (k), k=0, ...M / 2-1 are copied and used as the value r of the previous frame HB (k), k = -M / 2, ..., -1. The calculator 265 approximates the temporal envelope R in the current frame by IIR (Infinite Impulse Response) filtering. TD (n) the last M values of 216. This can be done using the following relation (7):
[0063] R TD (n) = 0.05·r HB (n)+0.95·R TD (n-1),n=NM,...,N-1(7)
[0064] Figure 3 The time envelope R of the high-band residual signal 214 is calculated as shown in TD (n) Operation 215 of 216.
[0065] The method 200 includes a temporal envelope downsampling operation 217, and the apparatus 250 includes a downsampler 267 for performing the operation 217. The downsampler 267 downsamples the temporal envelope R by a factor of 4 using, for example, the following relation (8): TD (n)216 for downsampling:
[0066] R 4kHz (n) = R TD (4n),n=0,...,N / 4-1(8)
[0067] The method 200 includes an average value calculation operation 219, and the device 250 includes a calculator 269 for performing the operation 219. The calculator 269 converts the downsampled time envelope R 4kHz (n) 218 is divided into four consecutive segments, and the downsampled temporal envelope R in each segment is calculated using, for example, the following relation (9): 4kHz (n) Average value of 218 is 220:
[0068]
[0069] Here, k is the index of the segment.
[0070] Calculator 269 limits all average values to a maximum value of 1.0.
[0071] The method 200 includes a normalization factor calculation operation 221, and the device 250 includes a calculator 271 for performing the operation 221. The calculator 271 uses the downsampled temporal envelope average 220 to calculate a segment normalization factor for each segment k using, for example, the following relation (10):
[0072]
[0073] The calculator 271 then linearly interpolates the segment normalization factors from relation (10) over the entire interval of the current frame using, for example, the following relation (11) to produce interpolated normalization factors 222:
[0074]
[0075] The interpolation process performed by operation 221 and calculator 271 is Figure 4 Shown in.
[0076] In equation (11), the term η -1 refers to the last segment normalization factor in the previous frame. Therefore, η -1 It is updated with η3 after the interpolation process in each frame.
[0077] The method 200 includes a normalization operation 223 of the downsampled time envelope, and the device 250 includes a normalizer 273 for performing the operation 223. The normalizer 273 processes the downsampled time envelope R from the downsampler 267 with an interpolated normalization factor γ(n) 222 using, for example, the following relationship (12): 4kHz (n)218:
[0078] R γ (n) = R 4kHz (n)·γ(n),n=0,...,N / 4-1 (12)
[0079] Then, the normalizer 273 obtains the value R from the relation (12): γ (n) minus the global mean of the normalized envelope (Relation (13)), to complete the normalization process of the downsampled time envelope in operation 223 ( Figure 2 R norm (n)224). This can be expressed by equation (13):
[0080]
[0081] It is useful to estimate the slope of the temporal envelope of the high-band residual signal. To this end, the method 200 includes a temporal envelope slope estimation operation 225, and the apparatus 250 includes an estimator 275 for performing operation 225. The temporal envelope slope estimation can be obtained by fitting a linear curve to the segment average value calculated in the relation (9) using a linear least squares (LLS) method. The slope 226 of the time envelope is then the slope of the linear curve. The linear curve calculated using the LLS method is defined as:
[0082]
[0083] According to the LLS method, the goal is to minimize for all k = 0, ..., 3 and This can be expressed using the following relationship (15):
[0084]
[0085] Optimal slope a LLS (Slope 226) can be calculated by estimator 275 using relation (16):
[0086]
[0087] The method 200 includes a high-band autocorrelation function calculation operation 227, and the device 250 includes a calculator 277 for performing the operation 227. The calculator 277 calculates the high-band autocorrelation function X based on the normalized time envelope using, for example, the relation (17): corr 228:
[0088]
[0089] Among them, E f is the normalized temporal envelope R in the current frame norm (n) 224 energy, and is the normalized temporal envelope R in the previous frame norm (n) Energy of 224. Calculator 277 can calculate the energy using the following relationship (18):
[0090]
[0091] In the case of mode switching, the factor in front of the summation term in equation (17) is set to 1 / E f , because the normalized temporal envelope R in the previous frame norm The energy of (n)224 is unknown.
[0092] The method 200 includes a high-band voicing factor calculation operation 229 , and the apparatus 250 includes a calculator 279 for performing the operation 229 .
[0093] The sound of the high-band residual signal and the high-band autocorrelation function X corr The variance σ of 228 corr The calculator 279 calculates the variance σ using, for example, the following relation (19): corr :
[0094]
[0095] In order to improve the sound parameters v mult The calculator 279 converts the variance σ corr With the high frequency band autocorrelation function X corr 228, as expressed by the following equation (20):
[0096]
[0097] Then, the calculator 279 uses, for example, the following relation (21) to calculate the utterance parameter v from the relation (20) using a sigmoid function: mult Transform to limit its dynamic range and obtain the high-frequency band voicing factor v HB 230:
[0098]
[0099] Here, the factor β is estimated experimentally and is set to a constant value of 25.0, for example. Then, the high-band voicing factor v calculated from the above relation (21) is HB 230 is clamped within the range of <0.0;1.0> and sent to the decoder.
[0100] 4. Incentive Mixing Factor
[0101] Figure 5 is a schematic block diagram illustrating the calculation / calculation of a time-domain bandwidth extended excitation signal within the method 200 and the apparatus 250 at a decoder simultaneously.
[0102] Section 4 (Excitation mixing factor) deals with the characteristics of both the encoder and the decoder.
[0103] The SWB TBE tool in the 3GPP EVS codec uses the low-band excitation signal 208 described in Section 1 (Low-band Excitation Signal) ( Figure 2 ) to predict the high-band residual signal 214 described in Section 2 (High-band target signal) Figure 2). At the lower bit rates of the EVS codec (less than 24.4 kbps), the SWB TBE tool uses 19 bits to encode the spectral envelope and energy of the predicted high-band residual signal. For a frame length of 20 ms, this results in a bit rate of 0.95 kbps. At bit rates above 24.4 kbps, the SWB TBE tool uses 32 bits to encode the spectral envelope and energy of the predicted high-band residual signal. For a frame length of 20 ms, this results in a bit rate of 1.6 kbps. At both bit rates of the SWB TBE tool (0.95 kbps and 1.6 kbps), no bits are used to encode the high-band residual signal 214 or the high-band target signal 210.
[0104] refer to Figure 5 , the method 200 includes a pseudo-random noise generating operation 501 , and the device 250 includes a pseudo-random noise generator 551 for performing the operation 501 .
[0105] The pseudo-random noise generator 551 generates a uniformly distributed random noise excitation signal 502. For example, the pseudo-random number generator of the 3GPP EVS codec described in reference [1] can be used as the pseudo-random noise generator 551. The random noise excitation signal w rand 502 can be expressed using the following relationship (22):
[0106] w rand (n)∈U[-32767;32768],n=0,...,N-1 (22)
[0107] Random noise excitation signal w rand 502 has zero mean and non-zero variance σ rand = 1.14e+11. It should be noted that the variance is only an approximation and represents the average value over 100 frames.
[0108] The method 200 includes calculating a low-band excitation signal l LB (n) Operation 503 of the power of 208 and a power calculator 553 for performing the operation 503.
[0109] The power calculator 503 uses, for example, the following relation (23) to calculate the low-band excitation signal l sent from the encoder: LB (n) 208 power 504:
[0110]
[0111] The method 200 includes an operation 505 of normalizing the power of the random noise excitation signal 502 and a power normalizer 555 for performing the operation 505 .
[0112] The power normalizer 555 normalizes the power of the random noise excitation signal 502 to the power 504 of the low-band excitation signal 208, for example, using the following relationship (24):
[0113]
[0114] Although the true variance of the random noise excitation signal 502 varies from frame to frame, the power normalization does not require an exact value. Instead, an approximation of the variance defined above is used in the above relation (24) to save computational resources.
[0115] The method 200 includes: LB (n)208 and the power normalized random noise excitation signal w white (n) 506 a mixing operation 507 and a mixer 557 for performing the operation 507 .
[0116] The mixer 557 mixes the low-band excitation signal l by using the high-band mixing factor described later in this disclosure. LB (n)208 and the power normalized random noise excitation signal w white (n) 506 are mixed to generate an excitation signal 508 with time domain bandwidth extension.
[0117] Figure 6 Detailed description is a schematic block diagram showing at the encoder a calculation / calculator of a high-band mixing factor formed / represented by a quantized normalized gain within a method and apparatus for time-domain bandwidth extension of an excitation signal.
[0118] refer to Figure 6 , at the encoder,
[0119] - The method 200 comprises calculating a power normalized random noise excitation signal w white (n) Operation 602 of the time envelope of 506, calculation of the low-frequency band excitation signal l LB (n) 208 time envelope operation 604, and mean square error (MSE) minimization operation 601 and gain quantization operation 607;
[0120] and
[0121] The device 250 comprises a time envelope calculator 652 for performing operation 602 , a time envelope calculator 654 for performing operation 604 , an MSE minimizer 651 for performing operation 601 , and a gain quantizer 657 for performing operation 607 .
[0122] like Figure 6As shown, in order to save computational resources, the optimal gain is calculated based on the time envelope of the signal in the downsampled domain using the mean square error (MSE) minimization process Another advantage of this approach is that it is more robust to background noise.
[0123] In the calculation ( Figure 2 The time envelope of the high-band residual signal 214 is obtained by downsampling the time envelope ( Figure 2 217 and downsampler 267), the calculator 652 uses the same algorithm as described in Section 3 (high-band autocorrelation function and voicing factor) to calculate the power normalized random noise excitation signal w white (n) The downsampled time envelope w of 506 4kHz (n) 606 (which is also Figure 5 and the encoder shown in the corresponding description). The downsampling factor used is, for example, 4. The downsampled time envelope of the power normalized random noise excitation signal can be expressed using the following relationship (25):
[0124] W 4kHz (n),n=0,...,N / 4-1(25)
[0125] Similarly, calculator 654 again uses the same algorithm as described in Section 3 (high-band autocorrelation function and voicing factor) to calculate the low-band excitation signal l sampled at 4 kHz. LB (n)208 time envelope L 4kHz (n) 605. Low frequency band excitation signal l LB The downsampled time envelope 606 of (n) 208 may be represented as follows:
[0126] L 4kHz (n),n=0,...,N / 4-1(26)
[0127] The purpose of the MSE minimization operation 601 is to find the temporal envelope (L 4kHz (n), W 4kHz (n)) and (b) high-frequency band residual signal r HB (n)214 time envelope R 4kHz The optimal gain pair that minimizes the energy of the error between (n) This can be expressed mathematically using equation (27):
[0128]
[0129] To this end, the MSE minimizer 651 solves a system of linear equations. Solutions can be found in the scientific literature. For example, the optimal gain pair can be calculated using relation (28):
[0130]
[0131] where the values of c0,…,c4 and c5 are given by
[0132]
[0133] Then, the MSE minimizer 651 calculates the minimum MSE error energy (excess error) using, for example, the following relation (30):
[0134]
[0135] For further processing, the gain quantizer 657 quantizes the optimal gain Scaling is performed in such a way that the low-frequency band excitation signal l LB (n) time envelope L 4kHz (n) 605 associated gain g ln becomes the power normalized random noise excitation signal w white (n) The time envelope W of 506 4kHz (n) 606 associated gain g wn The unit of 1 is given by, for example, the following relation (31):
[0136]
[0137] A consequence / advantage of the rescaling of relation (31) is that only one parameter (the normalized gain g wn ) needs to be encoded and sent from the encoder to the decoder in the bitstream, instead of two parameters. Therefore, scaling the gain using relation (31) reduces bit consumption and simplifies the quantization process. On the other hand, the combined temporal envelope (L 4kHz (n) and W 4kHz The energy of the high-band residual signal 214 will be 4kHz The energy of (n) does not match. This is not a problem because the SWBTBE tool uses global gains and subframe gains that contain information about the energy of the high-band residual signal. The calculation of subframe gains and global gains is described in Section 6 (Gain / Shape Estimation) of this disclosure.
[0138] The gain quantizer 657 normalizes the gain g wnis limited between a maximum threshold of 1.0 and a minimum threshold of 0.0. The gain quantizer 657 uses, for example, a 3-bit uniform scalar quantizer as described by the following relation (32) to normalize the gain g wn To quantify:
[0139]
[0140] And the resulting index idx g 610 is restricted to form / represent the interval <0,7> of the high-band mixing factor and is transmitted in the SWB TBE bitstream at 0.95 kbps or 1.6 kbps together with the existing index of the SWB TBE encoder.
[0141] Return to reference Figure 5 , the method 200 includes a mixing factor decoding operation 509 at the decoder, and the device 250 includes a mixing factor decoder 559 for performing the operation 509 .
[0142] The mixing factor decoder 559 uses, for example, the following relation (33) from the received index idx g 610 generates the decoded gain:
[0143]
[0144] The decoded gain from relation (33) forms the high-band mixing factor f mix 510.
[0145] For example, the low-band excitation signal l sampled at 16kHz LB (n) 208 and a normalized random noise excitation signal w sampled, for example, at 16 kHz white (n) 506 are mixed together in mixer 557. However, the low-band excitation signal l LB (n)208 energy and random noise excitation signal w rand The energy of 502 varies from frame to frame. If the high-band mixing factor f obtained from equation (33) is used mix 510 directly mix the low frequency band excitation signal l LB (n)208 and random noise excitation signal w rand 502, the energy fluctuation may eventually produce audible artifacts at the frame boundaries. To ensure a smooth transition, the random noise excitation signal w rand The energy of 502 is linearly interpolated between the previous frame and the current frame in generator 551. This can be done by interpolating the random noise excitation signal w in the first half of the current frame with the following interpolation factor rand 502 scaling is done:
[0146]
[0147] Among them, E LB is the low-frequency band excitation signal l in the current frame LB (n) 208 energy, and is the low-frequency band excitation signal l in the previous frame LB (n) Energy of 208.
[0148] To further smooth the transition between the previous frame and the current frame, the decoder 559 also performs a high-band mixing factor f mix 510 performs linear interpolation. This can be done by introducing a scaling factor β calculated, for example, using the following relationship mix (n) to complete:
[0149]
[0150] in, is the value of the high-band mixing factor in the previous frame. Note that the interpolation factor ζ calculated in equation (34) is w (n) and the scaling factor β calculated in equation (35) mix (n) is defined for n=0,…,N / 2-1.
[0151] Low frequency band excitation signal l LB (n)208 and random noise excitation signal w white The mixing of (n) 506 is ultimately accomplished by mixer 557 using, for example, relation (36) to obtain a time-domain bandwidth extended excitation signal u(n) 508.
[0152]
[0153] 5. High frequency band synthesis (LP synthesis)
[0154] In the encoder of the SWB TBE tool, the high-band input signal s is converted into HB The high-band LP filter coefficients calculated by LP analysis of (n) 212 is converted into LSF parameters and quantized. At a bit rate of 0.95 kbps, the SWB TBE encoder uses 8 bits to quantize the LSF index. At a bit rate of 1.6 kbps, the SWB TBE encoder uses 21 bits to quantize the LSF index.
[0155] Return to reference Figure 5 , at the encoder,
[0156] - the method 200 comprises a decoding operation 511 and the device 250 comprises a corresponding decoder 561 for decoding the quantized LSF index; and
[0157] The method 200 comprises a conversion operation 513 , and the device 250 comprises a corresponding converter 563 for converting the decoded LSF indices 512 into high-band LP filter coefficients 514 .
[0158] The decoded high-band LP filter coefficients 512 can be expressed as:
[0159]
[0160] Where P=10 is the order of the LP filter. The first decoded LP filter coefficient in each subframe is unity, i.e.
[0161] Method 200 includes filtering operation 515, and device 250 includes corresponding synthesis filter 565, and it uses decoded high-frequency band LP filter coefficient 514 to filter the excitation signal 508 of hybrid time-domain bandwidth extension of relational expression (36) using, for example, following relational expression (38), to obtain high-frequency band signal y through LP filtering HB 516:
[0162]
[0163] 6. Gain / Shape Estimation ( Figure 7 )
[0164] Gain / shape parameter smoothing is applied at both encoder and decoder. Adaptive attenuation of frame gain is applied only at the encoder.
[0165] The high-band target signal s is quantized using the LSF coefficients HB (n) 210 is coded by the spectrum shape. Figure 7 , the SWB TBE tool also includes a method for estimating the high-band target signal s as described in reference [1] HB (n) Estimation operation 701 / estimator 751 of temporal subframe gain 702 of 210. Estimator 751 normalizes the estimated temporal subframe gain to unit energy.
[0166] The normalized estimated temporal subframe gain 702 from the estimator 751 can be expressed using relation (39):
[0167] g k , k=0,...,3 (39)
[0168] The method 200 includes a calculation operation 703, and the device 250 includes a method for determining a normalized estimated temporal subframe gain g by linear least squares (LLS) interpolation. k The corresponding calculator 753 of the time inclination 704 of 702. Figure 8 As shown, the interpolation process can be performed by fitting a linear curve 801 to four consecutive subframes ( Figure 8 This is accomplished by calculating the actual subframe gain 702 in subframes 0 to 3 in FIG. 7 and computing its slope.
[0169] The linear curve 801 constructed using the LLS interpolation method can be defined using the following relationship (40):
[0170]
[0171] In which, by making the real subframe gain g k 702 and the sum of the squared differences between the corresponding points on the linear curve of all k=0, ..., 3 subframes is minimized to find the parameter c LLS and d LLS This can be expressed using the following relationship (41):
[0172]
[0173] By expanding equation (41), the estimated time subframe gain g can be expressed as k Time slope of 702 g tilt . Time slope g tilt 702 is actually equal to the optimal slope c of the linear curve LLS The time gradient g can be calculated in calculator 753 using the following relation (42): tilt :
[0174]
[0175] The method 200 includes a smoothing operation 705, and the device 250 includes a corresponding smoother 755 for utilizing the interpolated (LLS) gain from the relation (40) when, for example, the following condition is true: To smooth the time subframe gain g k 702:
[0176] v HB <0.4ANDidx g ≥5AND|g tilt |<0.2 (43)
[0177] Time subframe gain g k The smoothing of 702 is then performed by a smoother 755 using, for example, the following relationship (44):
[0178]
[0179] The weight κ is related to the phonation parameter v given by equation (21): HB 230( Figure 2 ). For example, the weight κ can be calculated using the following relationship (45):
[0180]
[0181] And is limited to a maximum value of 1.0 and a minimum value of 0.0.
[0182] The method 200 includes a gain shape quantization operation 707, and the apparatus 250 includes a method for quantizing the smoothed temporal subframe gain weights. 706 performs quantization of the corresponding gain shape quantizer 757. For this purpose, the gain shape quantizer of the encoder using, for example, a 5-bit SWB TBE tool as described in reference [1] can be used as quantizer 757. The quantized temporal subframe gain from quantizer 757 708 can be expressed using the following relationship (46):
[0183]
[0184] The method 200 includes an interpolation operation 709, and the device 250 includes a corresponding interpolator 759 for interpolating the quantized temporal subframe gains again after the quantization operation 707 using the same LLS interpolation process as described in the relations (40) and (41). 708 is interpolated. The interpolated quantized subframe gains 710 in four consecutive subframes in the frame can be expressed using the following relationship (47):
[0185]
[0186] The method 200 comprises a slope calculation operation 711, and the device 250 comprises a corresponding slope calculator 761 for calculating the interpolated quantized temporal subframe gain using, for example, the relation (42): The slope of 710. The interpolated quantized temporal subframe gain The inclination of 710 can be expressed as
[0187] Then, when the following condition (48) is true, the quantized time subframe gain 708 is smoothed, where idx g is the index from relation (32):
[0188]
[0189] To this end, the method 200 comprises a quantized gain smoothing operation 713, and the device 250 comprises means for smoothing the quantized gain by using, for example, the interpolated temporal subframe gains from relation (47) 710 performs averaging to smooth the quantized time subframe gain 708 corresponds to the smoother 714. To this end, the following relationship (49) can be used:
[0190]
[0191] The method 200 includes a frame gain estimation operation 715, and the device 250 includes a corresponding frame gain estimator 765. The SWBTBE tool uses the frame gain to control the global energy of the synthesized high-band sound signal. The LP-filtered high-band signal y is obtained by (a) the relationship (38) HB 516 multiplied by the smoothed quantized temporal subframe gain from relation (49) 714 and (b) the high-frequency band target signal s of relation (3) HB (n) 210 to estimate the frame gain. For example, using the following relationship (50), the LP-filtered high-band signal y of relationship (38) is HB 516 times the smoothed quantized temporal subframe gain 714:
[0192]
[0193] Details of the frame gain estimation operation 715 are described in reference [1]. The estimated frame gain parameter is denoted as g f (See 716).
[0194] The method 200 includes an operation 717 of calculating a synthesized high-band signal 718, and the device 250 includes a calculator 767 for performing the operation 717. The calculator 767 may modify the estimated frame gain g under some specific conditions. f 717. For example, in the high frequency band, the phonation factor v HB 230( Figure 2 ) and MSE excess error energy E err Under a given value of , the frame gain g can be attenuated according to equation (51): f , as shown in equation (51):
[0195] g f ←f att ·g f ,ifv HB >0.1ANDE err>5.0(51)
[0196] Among them, E err is the MSE excess error energy calculated in equation (30), and f att is the attenuation factor, calculated as:
[0197] f att =1.0-0.04(E err -5.0)(52)
[0198] Reference [1] describes the effect of frame gain g under certain conditions. f further modifications.
[0199] The calculator 767 then quantizes the modified frame gain using the frame gain quantizer of the encoder of the SWB TBE tool of reference [1].
[0200] Finally, the calculator 767 determines the synthesized high-band sound signal 718 using, for example, the following relationship (53):
[0201]
[0202] 7. Example Configuration of Hardware Components
[0203] Fig. 9 is a simplified block diagram of an example configuration of hardware components forming the above-described method 200 and apparatus 250 (hereinafter referred to as "method 200 and apparatus 250") for time-domain bandwidth extension of an excitation signal during encoding / decoding of a crosstalk signal.
[0204] Method 200 and device 250 may be implemented as part of a mobile terminal, as part of a portable media player, or in any similar device. Fig. 9 900 ) includes an input 902 , an output 904 , a processor 906 , and a memory 908 .
[0205] The input 902 is configured to receive an input signal. The output 904 is configured to provide a time-domain bandwidth extended excitation signal. The input 902 and the output 904 may be implemented in a common module (eg, a serial input / output device).
[0206] Processor 906 is operatively connected to input 902, output 904, and memory 908. Processor 906 is implemented as one or more processors for executing code instructions to support the functionality of the various operations and elements of the above-described method 200 and apparatus 250 as shown in the figures and / or as described in this disclosure.
[0207] The memory 908 may include non-transitory memory for storing code instructions executable by the processor 906, specifically, the processor-readable memory includes / stores non-transitory instructions that, when executed, cause the processor to implement the operations and elements of the method 200 and the device 250. The memory 908 may also include random access memory or buffers to store intermediate processing data from various functions performed by the processor 908.
[0208] Those skilled in the art will recognize that the description of the method 200 and the device 250 is illustrative only and is not intended to be limiting in any way. Other embodiments will readily occur to those skilled in the art having the benefit of this disclosure. In addition, the disclosed method 200 and the device 250 can be customized to provide valuable solutions to existing needs and problems of encoding and decoding sound.
[0209] For the sake of clarity, not all conventional features of implementation of the method 200 and the device 250 are shown and described. Of course, it should be understood that in the development of any such actual implementation of the method 200 and the device 250, many implementation-specific decisions may need to be made in order to achieve the developer's specific goals, such as compliance with application, system, network, and business-related constraints, and these specific goals will vary from one implementation to another and from one developer to another. In addition, it should be understood that the development work may be complex and time-consuming, but it is still a routine task of engineering for those of ordinary skill in the field of sound processing who benefit from the present disclosure.
[0210] According to the present disclosure, various types of operating systems, computing platforms, network devices, computer programs and / or general-purpose machines may be used to implement the elements, processing operations and / or data structures described herein. In addition, those of ordinary skill in the art will recognize that less versatile devices such as hard-wired devices, field programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), etc. may also be used. Where a method comprising a series of operations and sub-operations is implemented by a processor, computer or machine and those operations and sub-operations may be stored as a series of non-transitory code instructions readable by a processor, computer or machine, the non-transitory code instructions may be stored on a tangible and / or non-transitory medium.
[0211] The processing operations and elements of the method 200 and apparatus 250 as described herein may include software, firmware, hardware, or any combination of software, firmware, or hardware suitable for the purposes described herein.
[0212] In the method 200 and the apparatus 250, various processing operations and sub-operations may be performed in various orders, and some of the processing operations and sub-operations may be optional.
[0213] Although the present disclosure has been described above by way of non-limiting illustrative embodiments thereof, these embodiments may be modified arbitrarily within the scope of the appended claims without departing from the spirit and essence of the present disclosure.
[0214] 8. References
[0215] The present disclosure refers to the following references, the entire contents of which are incorporated herein by reference:
[0216] [1] 3GPP TS 26.445, “EVS Codec Detailed Algorithmic Description”, 3GPP Technical Specification (Release 12) (2014) – Sections 5.2.6.1 and 6.1.3.1.
[0217] [2] Bessette, B., Lefebvre, R., Salami, R., et al., “Techniques for high-quality ACELP coding of wideband speech.” Scandinavian International Conference EUROSPEECH 2001, 3–7 September 2001, Aalborg, Denmark, 7th European Conference on Speech Communications and Technologies, 2nd INTERSPEECH Event.
Claims
1. A method for time-domain bandwidth expansion of an excitation signal during decoding of a crosstalk sound signal, comprising: decoding a high-band mixing factor received in a bitstream; as well as The high-band mixing factor is used to mix the low-band excitation signal and the random noise excitation signal to generate an excitation signal with time-domain bandwidth extension.
2. method according to claim 1, wherein the high-frequency band mixing factor is decoded to comprise the quantized normalized gain received in the bit stream is decoded, and the decoded quantized normalized gain is used to calculate the high-frequency band mixing factor.
3. The method according to claim 1 or 2, comprising: The energy of the random noise excitation signal between a previous frame and a current frame of the sound signal is interpolated to smooth a transition between the previous frame and the current frame.
4. The method according to claim 3, comprising: In order to interpolate the energy of the random noise excitation signal, the random noise signal in a portion of the current frame is scaled.
5. The method according to any one of claims 1 to 4, comprising: The high-band mixing factors between a previous frame and a current frame of the sound signal are interpolated to ensure a smooth transition between the previous frame and the current frame.
6. The method according to any one of claims 1 to 4, comprising: The quantized gain / shape parameters are estimated.
7. A method for performing time domain bandwidth expansion on an excitation signal during encoding of a crosstalk sound signal, comprising: (a) calculating a high-band residual signal using the sound signal and (b) calculating a temporal envelope of the high-band residual signal; calculating a high-band voicing factor based on the temporal envelope of the high-band residual signal; calculating a high-band mixing factor that can be used to mix the low-band excitation signal and the random noise excitation signal to generate an excitation signal with a time-domain bandwidth extension; as well as The high-band voicing factors are used to estimate gain / shape parameters.
8. A method for performing time domain bandwidth expansion on an excitation signal during encoding of a crosstalk sound signal, comprising: (a) calculating a high-band residual signal using the sound signal and (b) calculating a temporal envelope of the high-band residual signal; as well as A high-band voicing factor is calculated based on the temporal envelope of the high-band residual signal.
9. A method for performing time domain bandwidth expansion on an excitation signal during encoding of a crosstalk sound signal, comprising: A high-band mixing factor is calculated that can be used to mix the low-band excitation signal and the random noise excitation signal to generate a time-domain bandwidth extended excitation signal.
10. according to the method described in claim 7 or 8, wherein calculating described high-frequency band voicing factor comprises (a) calculating high-frequency band autocorrelation function based on described time envelope, and (b) using described high-frequency band autocorrelation function to calculate described high-frequency band voicing factor.
11. The method according to any one of claims 7, 8 and 10, wherein calculating the high-band voicing factor comprises downsampling the temporal envelope of the high-band residual signal by a given factor. 12 . The method of claim 11 , wherein calculating the high-band voicing factor comprises dividing the down-sampled time envelope into a plurality of segments, and calculating an average value of each segment of the down-sampled time envelope.
13. The method of claim 12, wherein calculating the high-band voicing factor comprises per-segment normalization of the down-sampled temporal envelope of the high-band residual signal.
14. The method of claim 13, wherein each segment normalization of the downsampled time envelope comprises (a) calculating a segment normalization factor based on the calculated average value, (b) interpolating the segment normalization factor in the current frame, and (c) normalizing the downsampled time envelope using the interpolated segment normalization factor.
15. The method according to any one of claims 7, 8 and 10 to 14, comprising: The slope of the time envelope of the high-band residual signal is calculated based on a linear least squares method.
16. The method of claim 14, wherein calculating the high-band voicing factor comprises (a) calculating a high-band autocorrelation function based on a normalized time envelope, and (b) calculating the high-band voicing factor using the high-band autocorrelation function.
17. according to any one of the methods in claim 7 and 9 to 16, wherein calculating the described high-frequency band mixing factor comprises calculating the gain from which the described high-frequency band mixing factor is obtained and is quantized.
18. The method of claim 17, wherein calculating the high-band mixing factor comprises generating a random noise excitation signal.
19. The method of claim 18, wherein generating the random noise excitation signal comprises power normalizing the random noise excitation signal.
20. according to claim 18 or 19 described methods, wherein calculating described high frequency band mixing factor comprises (a) described low frequency band excitation signal is mixed with described random noise excitation signal, and (b) minimizing the mean square error between the excitation signal of mixing and the high frequency band residual signal calculated according to described sound signal.
21. according to the method described in any one in claim 18 to 20, wherein calculating the described high-frequency band mixing factor comprises (a) calculating the time envelope of described random noise excitation signal, (b) calculating the time envelope of described low-frequency band excitation signal, and (c) finding the corresponding gain of the described time envelope of described random noise excitation signal and described low-frequency band excitation signal through mean square error minimization process.
22. The method of claim 21, wherein calculating the high-band mixing factor comprises scaling the gains of the temporal envelopes of the random noise excitation signal and the low-band excitation signal.
23. method according to claim 22, wherein scaling the gain comprises obtaining a single gain parameter, and wherein calculating the high-frequency band mixing factor comprises quantizing the single gain parameter to obtain the quantized gain, obtaining the high-frequency band mixing factor from the quantized gain.
24. The method according to claim 7 or 8, comprising: The high-band voicing factors are used to estimate gain / shape parameters.
25. The method according to any one of claims 7 to 24, wherein the gain / shape parameter is selected from the group consisting of: - Spectral shape of the high-band target signal; -Subframe gain of high-band target signal; - Frame gain parameter.
26. A method according to any one of claims 7 to 25, wherein estimating the gain / shape parameter comprises calculating a temporal slope of the gain / shape parameter.
27. The method of claim 26, wherein calculating the temporal tilt comprises interpolating the gain / shape parameters.
28. The method of claim 27, wherein interpolating the gain / shape parameters comprises using a linear least squares method.
29. The method of any one of claims 7 to 28, wherein estimating the gain / shape parameters comprises smoothing the gain / shape parameters using adaptive weight parameters.
30. The method according to claim 29, comprising: The adaptive weight parameters are calculated using the high-band voicing factors.
31. The method according to claim 29 or 30, comprising: The gain / shape parameters are smoothed using the adaptive weight parameters in response to given conditions involving the high-band voicing factors.
32. The method of any one of claims 29 to 31, wherein estimating the gain / shape parameter comprises quantizing the smoothed gain / shape parameter.
33. The method of claim 32, wherein estimating the gain / shape parameters comprises interpolating quantized gain / shape parameters.
34. The method of claim 32 or 33, wherein estimating the gain / shape parameters comprises smoothing quantized gain / shape parameters.
35. The method of claim 34, wherein: Smoothing the quantized gain / shape parameters is performed by averaging the quantized interpolated gain / shape parameters.
36. A method according to any one of claims 7 to 35, wherein estimating the gain / shape parameters comprises using MSE excess error for adaptive attenuation of frame gain parameters.
37. An apparatus for performing time-domain bandwidth expansion on an excitation signal during decoding of a crosstalk sound signal, comprising: a decoder for decoding high-band mixing factors received in a bitstream; as well as A mixer is provided for mixing the low-band excitation signal and the random noise excitation signal using the high-band mixing factor to generate an excitation signal with a time-domain bandwidth extension.
38. The apparatus of claim 37, wherein the decoder of the high-band mixing factor decodes the quantized normalized gain received in the bitstream and calculates the high-band mixing factor using the decoded quantized normalized gain.
39. Apparatus according to claim 37 or 38, comprising: The generator of the random noise excitation signal interpolates the energy of the random noise excitation signal between a previous frame and a current frame of the sound signal to smooth the transition between the previous frame and the current frame.
40. The method of claim 39, comprising: In order to interpolate the energy of the random noise excitation signal, the generator of the random noise excitation signal scales the random noise signal in a portion of the current frame.
41. Apparatus according to any one of claims 37 to 40, wherein: The decoder of the high-band mixing factors interpolates the high-band mixing factors between a previous frame and a current frame of the sound signal to ensure a smooth transition between the previous frame and the current frame.
42. Apparatus according to any one of claims 37 to 40, comprising: An estimator that estimates the quantized gain / shape parameters.
43. A device for performing time-domain bandwidth expansion on an excitation signal during encoding of a crosstalk sound signal, comprising: (a) using the sound signal to calculate a high-band residual signal and (b) a calculator for calculating a time envelope of the high-band residual signal; a calculator for calculating a high-band voicing factor based on the temporal envelope of the high-band residual signal; a calculator for calculating a high-band mixing factor that can be used to mix a low-band excitation signal and a random noise excitation signal to produce an excitation signal with a time-domain bandwidth extension; as well as An estimator for estimating gain / shape parameters using the high-band voicing factors.
44. A device for performing time-domain bandwidth expansion on an excitation signal during encoding of a crosstalk sound signal, comprising: (a) using the sound signal to calculate a high-band residual signal and (b) a calculator for calculating a time envelope of the high-band residual signal; as well as A calculator calculates a high-band voicing factor based on the temporal envelope of the high-band residual signal.
45. A device for performing time-domain bandwidth expansion on an excitation signal during encoding of a crosstalk sound signal, comprising: A calculator calculates a high-band mixing factor that can be used to mix a low-band excitation signal with a random noise excitation signal to produce a time-domain bandwidth extended excitation signal.
46. The apparatus according to claim 43 or 44, wherein the calculator of the high-band voicing factor calculates a high-band autocorrelation function based on the time envelope, and uses the high-band autocorrelation function to calculate the high-band voicing factor.
47. An apparatus according to any one of claims 43, 44 and 46, wherein the calculator of the high-band voicing factor comprises a downsampler that downsamples the temporal envelope of the high-band residual signal by a given factor.
48. The apparatus of claim 47, wherein the calculator of the high-band voicing factor comprises a divider that divides the downsampled time envelope into a plurality of segments, and a calculator that calculates an average value for each segment of the downsampled time envelope.
49. The apparatus of claim 48, wherein the calculator of the high-band voicing factors comprises a per-segment normalizer of the downsampled time envelope of the high-band residual signal.
50. The apparatus of claim 49, wherein: The per-segment normalizer (a) calculates a segment normalization factor based on the calculated average value, (b) interpolates the segment normalization factor in a current frame, and (c) normalizes the downsampled temporal envelope using the interpolated segment normalization factor.
51. Apparatus according to any one of claims 43, 44 and 46 to 50, comprising: A calculator calculates the slope of the time envelope of the high-band residual signal based on a linear least squares method.
52. The apparatus according to claim 50, wherein the calculator of the high-band voicing factor comprises a calculator that calculates a high-band autocorrelation function based on a normalized time envelope and calculates the high-band voicing factor using the high-band autocorrelation function.
53. according to the equipment described in any one in claim 43 and 45 to 52, the described calculator of wherein described high-frequency band mixing factor calculates the gain that forms described high-frequency band mixing factor and it is quantized.
54. The apparatus of claim 53, wherein the calculator of the high-band mixing factor comprises a generator of a random noise excitation signal.
55. The apparatus of claim 54, comprising: A power normalizer of the random noise excitation signal to the power of the low-band excitation signal.
56. according to claim 54 or 55 described equipment, the described calculator of wherein said high frequency band mixing factor (a) combines the described low-frequency band excitation signal with the described random noise excitation signal, and (b) minimizes the mean square error between the mixed excitation signal and the high frequency band residual signal calculated according to described sound signal.
57. according to the equipment described in any one of claims 54 to 56, the described calculator of wherein said high-frequency band mixing factor (a) comprises a calculator of the time envelope of described random noise excitation signal and a calculator of the time envelope of described low-frequency band excitation signal, and (b) finds the corresponding gain of the described time envelope of described random noise excitation signal and described low-frequency band excitation signal through mean square error minimization process.
58. The apparatus of claim 57, wherein the calculator of the high-band mixing factor scales the gains of the temporal envelopes of the random noise excitation signal and the low-band excitation signal.
59. The device according to claim 58, wherein in order to scale the gain of the time envelope of the random noise excitation signal and the low-frequency band excitation signal, the calculator of the high-frequency band mixing factor calculates a single gain parameter and quantizes the single gain parameter to obtain a quantized gain that forms the high-frequency band mixing factor.
60. The apparatus of claim 43 or 44, comprising: An estimator for estimating gain / shape parameters using the high-band voicing factors.
61. The apparatus of any one of claims 43 to 60, wherein the gain / shape parameter is selected from the group consisting of: - Spectral shape of the high-band target signal; -Subframe gain of high-band target signal; - Frame gain parameter.
62. Apparatus according to any one of claims 43 to 61, wherein: The gain / shape parameters comprise sub-frame gains of the high-band target signal, and wherein the estimator of the gain / shape parameters comprises a calculator that calculates a temporal slope of the sub-frame gains.
63. The apparatus of claim 62, wherein the calculator of the temporal tilt comprises an interpolator that interpolates the subframe gains.
64. The apparatus of claim 63, wherein the interpolator that interpolates the subframe gains uses a linear least squares method.
65. Apparatus according to any one of claims 43 to 64, wherein: The gain / shape parameters include sub-frame gains of the high-band target signal, and the estimator of the gain / shape parameters includes a smoother that smoothes the sub-frame gains using an adaptive weight parameter.
66. The apparatus of claim 65, wherein the smoother of the subframe gain uses the high-band voicing factor to calculate the adaptive weight parameter.
67. An apparatus according to claim 29 or 30, wherein the smoother of the gain / shape parameter is responsive to a given condition involving the high-band voicing factor, using the adaptive weight parameter to perform smoothing of the gain / shape parameter.
68. An apparatus according to any one of claims 65 to 67, wherein the estimator of the gain / shape parameter comprises a quantizer to quantize the subframe gain.
69. The apparatus of claim 68, wherein the estimator of the gain / shape parameters comprises an interpolator that interpolates quantized subframe gains.
70. The apparatus of claim 68 or 69, wherein the estimator of the gain / shape parameter comprises a smoother that smoothes the subframe gain.
71. The apparatus of claim 70, wherein the smoother that smoothes the subframe gain smoothes the quantized gain / shape parameters by averaging quantized interpolated gain / shape parameters.
72. The apparatus of any one of claims 43 to 71, wherein the gain / shape parameter comprises a subframe gain of the high-band target signal, and wherein, The estimator of the gain / shape parameters uses the MSE excess error to perform adaptive attenuation of frame gain parameters.
