None.
None.
It comprises:
In the case of the ITU-T G.722 standard (coding of the low band), the decision levels and the reconstruction levels for the quantizers QB, QB+1, QB+2 for B=4 are given by tables IV and VI of the overview article describing the G.722 standard by X. Maitre. “7 kHz audio coding within 64 kbit/s”. IEEE Journal on Selected Areas in Communication, Vol. 6-2, February 1988.
The quantization index IB+K(n) of B+K bits at the output of the quantization module QB+K is transmitted via the transmission channel 140 to the decoder as described with reference to
The coder also comprises:
It may be noted that in
This part is also found identically in the embedded-codes ADPCM decoder as described with reference to
In the absence of frame losses, the embedded-codes ADPCM decoder of
By employing the bitrate indicator mode and the selector 220, the decoder can improve the signal reconstructed.
Indeed if mode indicates that B+1 bits have been transmitted, the output will be equal to the sum of the prediction x′PB(n) and of the output of the inverse quantizer 230 with B+1 bits y′I
If mode indicates that B+2 bits have been transmitted then the output will be equal to the sum of the prediction x′PB(n) and of the output of the inverse quantizer 240 with B+2 bits y′I
The embedded-codes ADPCM coding of the ITU-T standard G.722 (hereinafter named G.722) carries out a coding of the signals in broad band which are defined with a minimum bandwidth of [50-7000 Hz] and sampled at 16 kHz. The G.722 coding is an ADPCM coding of each of the two signal sub-bands [0-4000 Hz] and [4000-8000 Hz] obtained by decomposing the signal with quadrature mirror filters. The low band is coded by an embedded-codes ADPCM coding on 6, 5 and 4 bits while the high band is coded by an ADPCM coder of 2 bits per sample. The total bitrate will be 64, 56 or 48 bit/s depending on the number of bits used for decoding the low band.
This coding was firstly developed for use in ISDN (Integrated Services Digital Network). It has been recently deployed in telephone applications of improved quality over IP networks.
For a quantizer with a large number of levels, the spectrum of the quantization noise will be relatively flat. However, in the frequency zones where the signal has low energy, the noise may have a greater level than the signal and is therefore no longer necessarily masked. It may then become audible in these regions.
Shaping of the coding noise is therefore necessary. In a coder like G.722, shaping of the coding noise adapted to embedded-codes coding is moreover desirable.
Generally, the aim of coding noise shaping is to obtain quantization noise whose spectral envelope follows the short-term masking threshold; this principle is often simplified so that the spectrum of the noise approximately follows the spectrum of the signal, ensuring a homogeneous signal-to-noise ratio so that the noise remains inaudible even in the lower energy zones of the signal.
A noise shaping technique for a coding of PCM type (for “Pulse Code Modulation”) with embedded codes is described in ITU-T recommendation G.711.1 “Wideband embedded extension for G.711 pulse code modulation” or “G.711.1: A wideband extension to ITU-T G.711”. Y. Hiwasaki, S. Sasaki, H. Ohmuro, T. Mori, J. Seong, M. S. Lee, B. Kövesi, S. Ragot, J.-L. Garcia, C. Marro, L. M., J. Xu, V. Malenovsky, J. Lapierre, R. Lefebvre. EUSIPCO, Lausanne, 2008.
This recommendation describes a coding with shaping of the coding noise by noise feedback such as illustrated in
A quantizer delivering core bits (block 308) and a quantizer delivering improvement bits (block 309) is used at the G.711.1 coder.
The G.711.1 decoder receiving the core binary stream (L0) and the improvement bits (L1), calculates the filter F(z) for shaping the coding noise in the same manner as at the coder on the basis of the core bitrate (64 kbit/s) decoded signal and applies this filter to the output signal of the inverse quantizer for the improvement bits, the shaped high-bitrate signal being obtained by adding the filtered signal to the decoded core signal.
Noise shaping thus improves the perceptual quality of the core bitrate signal. It offers limited improvement in quality for the improvement bits. Indeed, the coding noise shaping is not performed for the coding of the improvement bits, the input of the quantizer being the same for the core quantization as for the improved quantization.
The decoder must then delete a resulting spurious component through adapted filtering, when the improvement bits are decoded in addition to the core bits.
Noise shaping by noise feedback as implemented in recommendation G.711.1 is generalizable to PCM coders other than G.711 and to coding of ADPCM type.
An exemplary known noise feedback structure in PCM/ADPCM coding is presented in
Hereinafter the following notation will be used:
s(n): input signal to be coded
s′(n): input signal of the coder (modified signal to be coded)
{tilde over (s)}(n): decoded signal provided by the local decoder
q(n)=s′ (n)−{tilde over (s)}(n): quantization noise of the coder
with γ=0.92 as a typical value.
Indeed, for the scheme of
Stated otherwise the “global” coding noise qG(n)=s(n)−{tilde over (s)}(n) corresponds to the PCM/ADPCM quantization noise q(n) filtered (shaped) by
Noise feedback applied to the ADPCM coding is an effective technique for improving the quality of PCM/ADPCM coders, by masking the coding noise, particularly for “natural” audio signals such as speech or music. The scheme of
so as to obtain a more homogeneous signal-to-noise ratio according to the frequencies.
However, for certain less “natural” signals than speech or music, noise feedback can, as is sometimes the case with looped systems, become unstable and lead to degradation or saturation of the decoded signal. Here, saturation has to be taken in the sense that the amplitude of the decoded signal exceeds the maximum values representable at finite precision (example: 16-bit signed integers) and thus leads to clipping of the signal.
Examples of problematic signals in respect of noise feedback are signals exhibiting fast transitions between stationary sequences of large spectral dynamic range, such as for example a series of pure sinusoids of different frequencies separated by short segments of silence.
In particular, “tonal” signals (pure sinusoids) are considered to be signals at risk that may give rise to a problem of instability or of saturation in coding schemes with noise feedback.
For this type of signal, the estimated masking (or shaping) filter
varies rapidly in the transitions between sinusoids and in the attacks, the quantization noise which is reinjected is often very high.
The problem of stability and of saturation which is observed with noise feedback is particularly critical in ADPCM coding. Indeed, the ADPCM coding such as implemented in G.722 relies on a progressive adaptation of the coding parameters (quantization interval, prediction coefficients). This adaptation is done sample by sample according to a principle similar to the LMS (for “Least Mean Square”) algorithm in adaptive filtering, thereby implying that the adaptation does not immediately follow the nonstationary characteristics of the signal to be coded. It is known that for certain signals the adaptation in the ADPCM coding alone (without noise feedback) may drop out (“mistracking”), in the sense that the adaptation diverges before re-converging after a certain time.
For problematic signals, the noise feedback may disturb the adaptation of the ADPCM coding, since—returning to FIG. 4—the signal to be coded s(n) is modified by the reinjected noise d(n) to form the signal s′(n).
When the reinjected noise d(n) is of similar level to the level of the signal s(n)—this often being the case in the fast transitions between stationary sequences of large spectral dynamic range —, the signal s′(n) at the input of the ADPCM coder may become very “unstable” depending on whether the signals s(n) and d(n) are in phase or out-of-phase. If moreover the ADPCM coding has an adaptation which drops out (“mistracking”), the noise feedback will amplify the duration and the magnitude of the dropout.
To show the origin of this phenomenon it is possible to calculate the Perceptual Signal-to-Noise Ratio RSBP (perceptual since it includes the effect of the noise feedback aimed at masking the coding noise):
It may be shown that:
where GMICDA is the prediction gain of the ADPCM coder, RSBQ the Signal-to-Noise Ratio of the ADPCM quantizer (around 24 dB for a 5-bit Laplace quantizer) and ED the energy of the impulse response fD(n) of the masking filter.
According to this formula, it is seen that the lower the gain GADPCM, and/or the higher the energy ED, the lower is RSBP. These two conditions (low GADPCM and high ED) both hold in situations of transitions between two sequences of pure sinusoids since the gain GADPCM becomes very low (the ADPCM coding adapted to the first pure sinusoid takes a certain time before readapting to the second pure sinusoid) and ED is high since the sinusoids give very resonant reinjection filters. In this case the ADPCM coder will be unstable or close to instability.
Such instability and saturation phenomena are not acceptable since they can generate audible artifacts (e.g.: amplitude spikes localized in time), or indeed “acoustic shocks” in the case of complete saturation of the temporal level of the signal.
There therefore exists a need to forestall and control instability and saturation phenomena in coding structures with feedback, in particular for problematic signals such as series of pure sinusoids at various frequencies.
An exemplary embodiment of the present disclosure relates to a method for controlling shaping of coding noise during the ADPCM-type coding of a digital audio input signal, the noise shaping being performed by the implementation of a feedback comprising a filtering of the noise. The method is such that it comprises the following steps:
Thus, the method makes it possible to undertake fast and effective detection of potentially problematic signals running the risk of giving rise to phenomena of instability in the feedback. This phenomenon is thus avoided since limitation of the feedback is performed upon the appearance of these at-risk signals. This limitation can even consist of complete deactivation of this feedback.
The method therefore has a preventive action on the appearance of troublesome phenomena. The reactivation of the feedback loop is thereafter undertaken in a progressive manner so as not to give rise to overly abrupt variations of the coded signals.
In a particular embodiment, the parameter for indicating large spectral dynamic range of the signal is the second reflection coefficient arising from a linear prediction analysis of the input signal or else the second reflection coefficient arising from a linear prediction analysis of the decoded signal.
Thus, this parameter is very representative of the at-risk signals and therefore indicates the risk of instability of the feedback. This parameter is obtained during a linear prediction analysis performed to calculate especially the noise shaping filter. It is therefore advantageous to reuse it here to control the feedback.
In another embodiment, the parameter for indicating large spectral dynamic range of the signal is a signal-to-noise ratio between the input signal and the noise.
This parameter makes it possible to measure the risk of instability of the feedback for any type of at-risk signals, not only those exhibiting sinusoids.
In a possible embodiment, the limitation of the feedback is performed by setting to zero a weighting coefficient to be applied to the noise filtering parameters.
This amounts to canceling the action of the noise shaping filter and therefore to deactivating the feedback, in a simple manner.
In a variant embodiment, the limitation of the feedback is performed by applying a gain of zero value at the output of the noise filtering.
Thus, the filter remains invariant but its action is canceled at the output by the application of this gain. This makes it possible to deactivate the feedback without modifying the calculation of the filter.
In a simple manner, the progressive reactivation of the feedback is performed by applying a weighting coefficient to the filtering parameters, the weighting coefficient being defined by incrementation over the predetermined number of frames, in the case where the deactivation of the feedback loop is performed by setting to zero a weighting coefficient.
In the case where the deactivation of the feedback loop is performed by applying a gain of zero value at the output of the noise filtering, the progressive reactivation of the feedback is performed by applying an increasing gain value at the output of the noise filtering over the predetermined number of frames.
The method applies advantageously in the case of coders of hierarchical type and may be implemented at one and the same time during the core coding and during the improvement coding of a hierarchical coding.
Thus, not only are the problems of instability avoided during the core coding but also during the improvement coding, without however increasing in proportion the complexity of the coding.
An embodiment of present invention also pertains to a digital audio signal ADPCM-type coder comprising a feedback for shaping a coding noise containing a noise filtering module. The coder is such that it comprises a noise shaping control module including:
It also pertains to a computer program comprising code instructions for the implementation of the steps of the control method according to an embodiment of the invention, when these instructions are executed by a processor.
An embodiment of the invention finally pertains to a storage means readable by a processor storing a computer program such as described.
Other characteristics and advantages will be more clearly apparent on reading the following description, given solely by way of nonlimiting example and with reference to the appended drawings in which:
With reference to
This coder operates on signals sampled at 8 kHz with frames of 5 ms. It comprises a coding noise shaping which is implemented by noise feedback (steps 606, 604, 605). Noise feedback is here intended to mean the steps of obtaining a noise (606), of filtering the noise (604) and of modifying a signal (605). Note that here the signal modified by the feedback is the input signal s(n) but in an equivalent manner in the case of an ADPCM coding another signal may be modified before the coding step (601), for example the signal modified by the feedback may be the difference between the input signal s(n) and the signal predicted by the ADPCM coding, before applying the ADPCM scalar quantization.
In the example described here, the coding is performed with improvement stages affording one bit per additional sample. This choice is adopted here so as to simplify the presentation of the coder. It is however clear that an embodiment of the invention described hereinafter applies to the more general case where the improvement stages afford more than one bit per sample.
Moreover, the term “core coder” is used in the broad sense in this document. Thus, an existing multi-bitrate coder such as for example ITU-T G.722 at 56 or 64 kbit/s can be considered to be a “core coder”.
This coder comprises a core bitrate coding stage 603 with quantization (block 601) on B+k−1 bits, of type for example ADPCM coding such as the standardized G.722 or G.727 coder or PCM (for “Pulse Code Modulation”) such as the standardized G.711 coder.
This core coding stage comprises a local decoding module (block 602).
The core bitrate coder comprises a noise shaping feedback loop similar to that described with reference to
The coder also comprises an improvement stage 613 affording one bit per sample so as to pass from the bitrate B+k−1 bits per sample to B+k bits per sample.
This improvement stage is optional for the implementation of an embodiment of the invention since the core coding stage alone can implement the method of noise shaping control as subsequently described.
This improvement stage uses a quantizer (610) and a local decoder (block 611) and carries out a shaping of the noise which uses the same masking filter A(z/γ)−1 as the core coder.
Thus the core coder and the improvement stage rely on the same noise shaping filter (A(z/γ)−1) (blocks 604, 608) whose coefficients are calculated by the block 600.
s
c(n′)=t(n′) n′=n−nD, . . . ,n−1
s
c(n′)=s(n′) n′=n
and
t
c(n′)=t(n′)−{tilde over (t)}2(n′) n′=n−nD, . . . ,n−1
t
c(n′)=t(n′) n′=n
The block 600 represents the noise shaping control module according to an embodiment of the invention.
In this example, the control module 600 performs, inter alia, a calculation of the coefficients of the masking filter on the basis of the input signal s(n) as explained subsequently with reference to
This module comprises especially means for obtaining a parameter indicating risk of instability of the feedback. Several examples of obtaining this parameter are explained subsequently.
This module furthermore comprises means for detecting a risk of instability of the feedback in the form for example of a comparator which will perform a comparison of the parameter obtained, with a predetermined threshold.
The module comprises means for limiting the feedback for example by setting a gain or a weighting factor to 0 or to a low value as explained subsequently.
It also comprises means of progressive reactivation of the feedback over a predetermined number of frames following the current frame for which the feedback has been limited. These means of progressive reactivation are for example means for ascribing values of weighting or of gain increasing progressively in tandem with the predetermined number of frames.
This control module implements the noise shaping control method represented in flowchart form, in an embodiment described now with reference to
In this embodiment, steps 701 to 704 are optional and do not necessarily form part of the control method according to an embodiment of the invention.
Here, M is defined as being the linear prediction order, used for the noise shaping, whose typical value is M=4.
Thus, in step 701, a calculation of autocorrelations, r(k), k=0, . . . , M, of the signal s(n), where M is the linear prediction order, is performed. Note that these autocorrelations could also be calculated on the basis of the decoded signal {tilde over (s)}(n) as in G.711.1, without changing the nature of the method.
Accordingly, the signal s(n) is firstly preaccentuated by a filter of type (1−βez−1) to obtain:
s
pre(n)=s(n)−βes(n−1)
where the factor βe is calculated as in G.711.1 according to the following formula:
βe=1−0.007813czc1
where czc1 is the number of zero crossings.
Thereafter a linear prediction filter (LPC) of order M=4 is estimated, once per frame (every 5 ms). Accordingly, the preaccentuated signal spre(n) is weighted by an asymmetric and hybrid cosine-Hamming window of 80 samples (10 ms) centered on the start of the current frame to obtain swpre(n). The autocorrelation is thereafter calculated according to the formula:
The correlations thus obtained are modified in r′(k) with a band extension of 120 Hz including a correction factor of 1/1.0001—which represents a noise floor of 40 dB—as in G.711.1:
In step 701, a normalization factor is also calculated, which counts the number of binary shift in fixed-point arithmetical representation as in G.711.1 defined by:
η=30−└log2(r(0))┘
where └.┘ represents a rounding down to the nearest integer.
Step 702 corresponds to the Levinson-Durbin algorithm described in ITU-T recommendation G.711.1 which provides as result:
The Levinson-Durbin algorithm is a recursive algorithm whose steps are recalled hereinbelow:
The result is given by aj=aj[M], j=1, . . . , M which are the coefficients of the linear predictor
A(z)=1+a1z−1+a2z−2+a3z−3+a4z−4
and by the reflection coefficients ki which correspond to a trellis implementation of the filter A(z) as explained in the reference by J. D. Markel and A. H. Gray “Linear Prediction of Speech”, Springer-verlag, 1976.
The reflection coefficient k1 represents the “slope” of the short-term spectrum of the signal modeled by linear prediction, while the reflection coefficient k2 is an indicator of the spectral dynamic range of the signal since it is associated with the quality factor (degree of resonance) of the linear predictor of order 2 found at the second iteration of the Levinson-Durbin algorithm.
In the example illustrated here, this reflection coefficient k2 constitutes a parameter indicating risk of instability of the feedback as illustrated with reference to
It is shown here that the coefficient k2 allows the detection of the signals with very large overvoltage, sinusoids in particular.
As explained previously, the signals with large overvoltage, sinusoids in particular, are at-risk signals (in respect of noise feedback) that ought to be detected. The detection of these at-risk signals maybe performed by examining the second partial correlation coefficient at the output of the Levinson-Durbin algorithm which is used to calculate the filter A(z) on the basis of which the weighting filter W(z)=A (z/γ) is calculated.
We shall calculate the second partial correlation coefficient by the Levinson-Durbin algorithm for a sinusoid s(n)=cos(nωT) of angular frequency
at the sampling frequency 1/T which possesses an overvoltage at the level of its frequency. Its correlation function will be equal to:
r′
L0(k)=cos(kωT).
The first step of the algorithm gives:
And the second step:
k
2=1
a
1
2=−2 cos(ωT)
a
2
2=1
E
1=0
As the prediction error is zero, it is deduced that a sinusoid is predictable on the basis of 2 samples:
x(n)=2 cos(ωT)x(n−1)−x(n−2)
On account of the diverse dampings of the correlation function before the calculation of the predictor, the overvoltage coefficient is not equal to its ideal value. For a sinusoid at 3000 Hz, k2=0.97 is typically found. The solution implemented therefore consists in detecting the signals with large overvoltage which provide a partial correlation coefficient k2 greater than a threshold typically 0.95.
Step 703 verifies whether the normalization factor η exceeds a limit value (MAXNORM=16), thereby making it possible to detect signals of low levels (silence or very low signal) as in G.711.1. In the case where this normalization factor exceeds a predetermined threshold, η≧MAXNORM, the linear prediction coefficients ai, i=0, . . . , M are attenuated (step 704), this amounting to reducing the effect of the noise masking (or shaping) filter.
In this case, the mask filter W(z)−1 is obtained by using the coefficients ai, i=0, . . . , M obtained in step 704 according to the following equation:
In the converse case, the noise shaping filter is defined according to the formula:
It is assumed that the value of the attenuation factor γ is retained in memory and retrieved at the start of the processing of each frame. This value retained in memory is denoted γmem. This retrieval operation is performed in step 711.
In the frames where a signal of low level is detected (η≧MAXNORM), the parameter γmem is reinitialized to a value equal for example to GAMMA1=0.92 in step 712.
The noise shaping control method comprises a step 705 of detecting a risk of instability by comparing the indicating parameter with at least one predetermined threshold.
Several techniques exist for detecting signals with large spectral dynamic range such as sinusoids. In the case where a linear prediction analysis with reflection coefficients k2 is deployed, as described here, it is advantageous to reuse the second reflection coefficient as described above.
In this exemplary implementation, step 705 consists in verifying whether the second reflection coefficient exceeds a predetermined value, here 0.95 (k2>0.95). This test makes it possible to detect the signals with large spectral dynamic range and makes it possible to detect, in particular, pure sinusoids (without strong amplitude modulation, but of relatively constant amplitude).
If the test turns out to be positive, a step of limiting the feedback is performed since the risk of instability of this feedback is substantiated.
A possible limitation is for example the deactivation of the feedback, in step 706, by fixing the coefficient γ at 0.
In a variant the coefficient γ is fixed at a very low but nonzero value, for example 0.001. This variant corresponds not to complete deactivation of the feedback, but to limitation of the feedback, this producing the same effect (avoiding instability or saturation).
In an equivalent manner it would be possible in the frames where γ=0 to fix s′(n)=s(n) in
The linear prediction coefficients ai, i=0, . . . , M are weighted by γ in step 707 so as to calculate the coefficients of A(z/γ)−1.
The value γmem retained in memory is thereafter updated for the next frame in step 708. This value is firstly calculated by incrementing γ by
where GAMMA1=0.92 for example and the result is saturated at GAMMA1 in steps 709 and 710. Division by 4 makes it possible to retrieve after 4 frames a value of GAMMA1.
In the case where γ is fixed at a very low value (GAMMA0=0.001) at 706, it is possible to increment γ by values of
This typical case is described for a predetermined number of frames equal to 4 but this step can quite obviously be performed on a greater or lesser number of frame than 4. Likewise, the incrementation values may be different and the incrementation may be performed with intervals distributed in a non-linear manner.
These steps 708 to 710 amount to performing a progressive reactivation of the feedback over a predetermined number of frames following (here 4 frames) the current frame for which the feedback has been limited.
The successive incrementation of γ spread over several frames makes it possible to restore the noise feedback progressively, and prevents the looped system from diverging subsequent to overly abrupt reactivation of the feedback which may give rise to abrupt variations of the “local” statistics of the signal.
In a variant embodiment of the noise shaping control method, the parameter for indicating a risk of instability is different.
For example, a spectral flatness measurement is performed by calculating the ratio between the arithmetic mean and the geometric mean of the spectral lines of the power spectrum calculated on the basis of the short-term signal windowed by the LPC window. This measurement tends to a very large value for spectra containing only one line (pure sinusoid).
In this variant embodiment, the detection threshold making it possible to detect a signal of large dynamic range in step 705, depends on the context (frame length, window, etc). However, this variant involves calculating a short-term time-frequency transformation (of Fourier type) and calculating the measurement described hereinabove.
In another variant embodiment, no effort is made to detect a priori the signals with large dynamic range but rather to detect in a nonparametric and a posteriori manner problematic signals which give rise to instabilities in the feedback. In this embodiment, the instability risk parameter is the instantaneous signal-to-noise ratio between the input signal s(n) and the coding noise t(n) which are defined in
This type of a posteriori detection occurs, however, often when the problems of instability or of saturation are already in part observable. Moreover this variant exhibits the drawback of having a fairly high false alarm rate.
Another embodiment for obtaining the parameter indicating risk of instability of the feedback and the detection of a risk of instability is illustrated in
This algorithm differs from that described with reference to
Indeed, in step 802, not only are the coefficients of the linear predictor ai, i=0 . . . M and the reflection coefficients ki, i=1, . . . , M, obtained as described with reference to
which may be approximated by the prediction gain at the output of the Levinson-Durbin algorithm. E[M] divided by r′L0(0).
In fact the masking filter is equal to
and to calculate its energy it is appropriate to use the algorithm which recalculates the successive predictors of lower order starting from
as well as the partial correlation coefficients.
The resulting filter's energy ED calculated at 702 will be given by:
The parameter indicating risk of instability is then given by
With GADPCM the prediction gain of the ADPCM coder estimated on the previous frame. It is approximated by the quotient of the saturation threshold V(n)2 of the quantizer, possibly filtered, over the energy of the input signal r′L0(0).
The step of detecting a risk of instability 805 is then performed by comparing the indicating parameter
with a threshold defined here as the signal-to-noise ratio of the ADPCM quantizer multiplied by a factor kRSB which adjusts the degree of risk (kRSBRSBQ).
RSBQ is in fact the signal-to-noise ratio of the ADPCM quantizer (1/0.00414≈241 of the order of 24 dB for a 5-bit Laplace quantizer). The value of RSBQ for various numbers of bits and a Laplace probability density is given in table II of the article by Paez and Glisson “Minimum Mean-Squared-Error Quantization in Speech PCM and DPCM Systems” from the IEEE review Trans. Communications of April 1972 PP. 225-230.
The step of limiting the feedback of step 706 can also be performed in various ways.
In a different embodiment, the noise feedback is deactivated, not by setting the coefficient γ to 0, but by applying a scale factor (or gain) g of zero value to the output of the filter W(z)−1.
This embodiment is illustrated with reference to
This figure illustrates a hierarchical coder as represented in
This factor g is stored in gmem in the same manner as for the parameter γ whose values are placed in memory in γmem in step 711 of
In the block 900, the calculation of the coefficients of the filter W(z)−1 is therefore similar to the block 600, except that in the case where η<MAXNORM, we fix γ=GAMMA1=0.92. The block 900 provides, moreover, the value of the gain g applicable to the current frame as a function of k2: if k2>0.95, then g=0
Alternatively, the gain g is fixed at a very low but nonzero value, for example 0.001. This variant corresponds not to complete deactivation of the feedback, but to a limitation of the feedback.
The progressive restoral of the noise feedback is undertaken in this variant by progressively altering the value of g from 0 to 1. For example, in the frames which follow a detection k2>0.95 and in which k2≦0.95 it will be possible to fix the value of g at 0.25, 0.5, 0.75 and 1 in the subsequent respective frames.
These values can quite obviously be adapted according to the limitation value given for g (e.g.: g=0.001 in the case of detection of risk of instability).
Moreover, in the frames where a signal of low level is detected at 703 (η≧MAXNORM), the gain gmem is restored to a value 1 in a manner similar to step 712 of
An exemplary embodiment 1000 of a coder according to an embodiment of the invention is now described with reference to
With respect to hardware, a coder such as described according to the embodiments of
The memory block BM can comprise a computer program comprising the code instructions for the implementation of the steps of the method according to an embodiment of the invention when these instructions are executed by a processor μR of the coder and especially the steps of obtaining a parameter indicating risk of instability of the feedback, of detecting a risk of instability by comparing the indicating parameter with at least one predetermined threshold, of limiting the feedback in the case of detection of risk of instability and of progressive reactivation of the feedback over a predetermined number of frames following the current frame for which the feedback has been limited.
In a more general manner, a storage means, readable by a computer or a processor, optionally integrated into the coder, possibly removable, stores a computer program implementing a noise shaping control method according to an embodiment of the invention.
Although the present disclosure has been described with reference to one or more examples, workers skilled in the art will recognize that changes may be made in form and detail without departing from the scope of the disclosure and/or the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10 55037 | Jun 2010 | FR | national |
This application is a Section 371 National Stage application of International Application No. PCT/FR2011/051392, filed Jun. 17, 2011, which is incorporated by reference in its entirety and published as WO 2011/161362 on Dec. 29, 2011, not in English.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/FR2011/051392 | 6/17/2011 | WO | 00 | 3/11/2013 |