The invention relates to processing of audio signals, in particular to a method and an arrangement for improving perceptual quality by post-filtering.
Audio coding at low or moderate bitrates is widely used to reduce network load. However, bit rate reduction inevitably leads to quality decrease due to an increased amount of quantization noise. One way to minimize the perceptual impact of quantization noise is to use a post-filter. A post-filter operates at the decoder and affects reconstructed signal parameters, or, directly the signal waveform. The use of a post-filter aims at attenuating spectrum valleys, where quantization noise is most audible, and thereby achieve improved perceptual quality.
Both pitch and formant post-filters are used for quality enhancement in so-called ACELP (Algebraic Code Excited Linear Prediction) speech codecs. These filters operate in the time-domain and are typically based on the speech model used in the ACELP codec [1]. However, this family of post-filters is not well suited for use with transform audio codecs, such as e.g. G.719 [2].
Thus, there is a need for improving the perceptual quality of audio signals which have been subjected to transform audio coding.
It would be desirable to achieve improved perceptual quality of audio signals which have been subjected to transform audio coding. It is an object of the invention to improve the perceptual quality of an audio signal which has been subjected to transform audio coding. Further, it is an object of the invention to provide a method and an arrangement for post-filtering of an audio signal which has been subjected to transform audio coding. These objects may be met by a method and an apparatus according to the attached independent claims. Embodiments are set forth in the dependent claims.
According to a first aspect, a method is provided in a decoder. The method involves obtaining a vector d, comprising quantized MDCT domain coefficients of a time segment of an audio signal. Further, a processed vector {circumflex over (d)} is derived by applying a post-filter directly on the vector d. The post-filter is configured to have a transfer function H which is a compressed version of the envelope of the vector d. Further, a signal waveform is derived by performing an inverse MDCT transform on the processed vector {circumflex over (d)}.
According to a second aspect, a decoder is provided. The decoder comprises a functional unit adapted to obtain a vector d, which comprises quantized MDCT domain coefficients of a time segment of an audio signal. The decoder further comprises a functional unit, adapted to derive a processed vector {circumflex over (d)} by applying a post-filter directly on the vector d. The post-filter is configured to have a transfer function H which is a compressed version of the envelope of the vector d. The decoder further comprises a functional unit adapted to derive a signal waveform by performing an inverse MDCT transform on the processed vector {circumflex over (d)}
The above method and arrangement involving an MDCT post-filter may be used for improving the quality of moderate and low-bitrate audio coding systems. When the post-filter is used in an MDCT codec, the additional complexity is very low, as the post-filter operates directly on the MDCT vector.
The above method and arrangement may be implemented in different embodiments. In some embodiments, the denominator of the transfer function H is configured to comprise a maximum of the vector |d|, which may be an estimate obtained by recursive maximum tracking over the vector |d|. In some embodiments, the transfer function H is configured to comprise an emphasis component, configured to control the post-filter aggressiveness over the MDCT spectrum. The emphasis component could be e.g. frequency dependent or constant. Further, the energy of the processed vector {circumflex over (d)} may be normalized to the energy of the vector d.
In some embodiments, the processed vector {circumflex over (d)} is derived only when the audio signal time segment is determined to comprise speech. Further, the transfer function H could be limited or suppressed when the audio signal time segment is determined to mainly consist of one or more of e.g. unvoiced speech, background noise and music.
The embodiments above have mainly been described in terms of a method. However, the description above is also intended to embrace embodiments of the decoder, adapted to enable the performance of the above described features. The different features of the exemplary embodiments above may be combined in different ways according to need, requirements or preference.
The invention will now be described in more detail by means of exemplifying embodiments and with reference to the accompanying drawings, in which:
Briefly described, a decoder comprising a post-filter is provided, which post-filter is designed to work with MDCT (Modified Discrete Cosine Transform) type transform codecs, such as e.g., G.719 [2]. The suggested post-filter operates directly on the MDCT domain, and does not require additional transformation of the audio signal to DFT or time domain, which keeps the computational complexity low. The quality improvement due to the post-filter is confirmed in listening tests.
The concept of transform coding is to convert, or transform, an audio signal to be encoded into the frequency domain, and then quantize the frequency coefficients, which are then stored or conveyed to a decoder. The decoder uses the received (quantized) frequency coefficients to reconstruct the audio signal waveform, by applying the inverse frequency transform. The motivation behind this coding scheme is that frequency domain coefficients can be more efficiently quantized than time domain coefficients.
In an MDCT type transform encoder, a block signal waveform x(n) is transformed into an MDCT vector d*(k). The length, “L”, of such a vector corresponds to 20-40 ms of speech segments. The MDCT transform can be defined as:
The MDCT coefficients are quantized, thus forming a quantized MDCT coefficient vector d(k)=Q(d*(k)), which is to be decoded by an MDCT decoder.
The post-filter may be applied directly on the received vector d(k) at the decoder, and thus derive the post-filtered vector {circumflex over (d)} as
{circumflex over (d)}(k)=H(k)d(k)
The transfer function, or filter function, H(k), is a compressed version of the envelope of the MDCT spectrum:
The parameter a(k) may be set to control the post-filter “aggressiveness”, or “amount of emphasis” over the MDCT spectrum.
The energy of the post-filter output may preferably be normalized to the energy of the post-filter input:
Here std(d) is the standard deviation of the vector d, which comprises quantized MDCT coefficients, before the post-filtering operation; and std({circumflex over (d)}) is the standard deviation of the processed vector {circumflex over (d)}, i.e. of the vector d after the post-filtering operation.
Further, the audible quantization noise due to coding is most audible in voiced speech, as compared to e.g. music. Thus, for example, the use of the suggested post-filter is more efficient for decreasing audible quantization noise in speech signals, rather than in music signals. Thus, when suitable, the post-filter could be switched off, or suppressed, in frames or frame segments for which the post-filter is considered to be less effective. For example, the post-filter could be switched off, or suppressed, in frames or frame segments, which are determined to mainly consist of unvoiced speech, background noise, and/or music. The post-filter could be used in combination with e.g. a speech-music discriminator, and/or a background noise estimation module, for determining the contents of a frame. However, it should be noted that the post-filter does not cause any degradation in e.g. unvoiced segments.
The perceived effect of the use of the post-filter has been tested in a so-called MUSHRA test, of which the result is illustrated in
Exemplifying Procedure
An exemplifying embodiment of the procedure of decoding an MDCT-encoded audio signal will now be described with reference to
A vector d, comprising quantized MDCT coefficients of a time segment of an audio signal, is obtained in an action 402. The coefficient vector is assumed to be produced by an MDCT encoder, and is assumed to be received from another node or entity, or, to be retrieved e.g. from a memory.
A processed vector {circumflex over (d)} is derived in an action 406, by applying a post-filter directly on the vector d, which post-filter is configured to have a transfer function H which is a compressed version of the envelope of the vector d. Further, a reconstructed signal waveform is derived in an action 408 by performing an inverse MDCT transform on the processed vector {circumflex over (d)}.
The denominator of the transfer function H may be configured to comprise a maximum of the vector d. Said maximum could be the largest coefficient (absolute value) of |d|, or e.g. an estimate obtained by recursive maximum tracking over the vector |d|.
The transfer function H may further be configured to comprise an emphasis component, configured to control the post-filter aggressiveness, or amount of emphasis, over the MDCT spectrum. This component is denoted “a” in
The energy of the output of the post-filter, i.e. the processed vector {circumflex over (d)}, may be normalized to the energy of the input to the post-filter, i.e. to the energy of the vector d. Further, the contents of the audio signal segment could be determined, and the post-filter could be applied in accordance with said contents. For example, the processed vector {circumflex over (d)} could be derived e.g. only when the audio signal time segment is determined to comprise speech. Further, the transfer function H of the post-filter could be limited or suppressed when the audio signal time segment is determined to mainly consist of e.g. unvoiced speech, background noise, or music. These conditional actions are illustrated as the actions 404 and 410 in
Exemplifying Arrangements,
Below, an exemplifying decoder 501, adapted to enable the performance of the above described procedure related to decoding of a signal, will be described with reference to
The decoder 501 comprises an obtaining unit 502, which is adapted to obtain a vector d, comprising quantized MDCT domain coefficients of a time segment of an audio signal. The vector d could e.g. be received from another node, or be retrieved e.g. from a memory. The decoder further comprises a filter unit 504, which is adapted to derive a processed vector {circumflex over (d)}, by applying a post-filter directly on the obtained vector d. The post-filter should be configured to have a transfer function H, which is a compressed version of the envelope of the obtained vector d. Further, the decoder comprises a converting unit 506 configured to derive a signal waveform, i.e. an estimate or reconstruction of the signal waveform comprised in the audio signal time segment, by performing an inverse MDCT transform on the processed vector {circumflex over (d)}.
The arrangement 500 is suitable for use in a decoder, and could be implemented e.g. by one or more of: a processor or a micro processor and adequate software, a Programmable Logic Device (PLD) or other electronic component(s).
The decoder may further comprise other regular functional units 508, such as one or more storage units.
Exemplifying Arrangement,
The modules 710a-d could essentially perform the actions of the flow illustrated in
Although the code means in the embodiment disclosed above in conjunction with
It is to be noted that the choice of interacting units or modules, as well as the naming of the units are only for exemplifying purpose, and network nodes suitable to execute any of the methods described above may be configured in a plurality of alternative ways in order to be able to execute the suggested process actions.
It should also be noted that the units or modules described in this disclosure are to be regarded as logical entities and not with necessity as separate physical entities.
ACELP—Algebraic Code Excited Linear Prediction
MDCT—Modified Discrete Cosine Transform
DFT—Discrete Fourier Transform
MUSHRA—MUltiple Stimuli with Hidden Reference and Anchor
This application claims the benefits under 35 U.S.C §119(e) of U.S. Provisional Patent Application No. 61/333,498 filed May 11, 2010 and 35 U.S.C §365 of International Patent Application No. PCT/SE2011/050518 filed Apr. 28, 2011, the disclosures of which is hereby incorporated by reference herein in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
5495555 | Swaminathan | Feb 1996 | A |
5884010 | Chen et al. | Mar 1999 | A |
6584441 | Ojala et al. | Jun 2003 | B1 |
7353169 | Goodwin et al. | Apr 2008 | B1 |
7590523 | Gao | Sep 2009 | B2 |
8315853 | Kim et al. | Nov 2012 | B2 |
20030009325 | Kirchherr et al. | Jan 2003 | A1 |
20040002856 | Bhaskar et al. | Jan 2004 | A1 |
20050075870 | Chamberlain | Apr 2005 | A1 |
20060020450 | Miseki | Jan 2006 | A1 |
20060116874 | Samuelsson et al. | Jun 2006 | A1 |
20070219785 | Gao | Sep 2007 | A1 |
20080027733 | Oshikiri et al. | Jan 2008 | A1 |
20080195383 | Shlomot et al. | Aug 2008 | A1 |
20090150143 | Kim et al. | Jun 2009 | A1 |
20090234644 | Reznik et al. | Sep 2009 | A1 |
20090326931 | Ragot | Dec 2009 | A1 |
20100063806 | Gao | Mar 2010 | A1 |
20100063808 | Gao | Mar 2010 | A1 |
20100063827 | Gao | Mar 2010 | A1 |
20100070270 | Gao | Mar 2010 | A1 |
20100286805 | Gao | Nov 2010 | A1 |
20110002266 | Gao | Jan 2011 | A1 |
20110282656 | Grancharov et al. | Nov 2011 | A1 |
Entry |
---|
Geiser, Bernd, et al. “Candidate proposal for ITU-T super-wideband speech and audio coding.” Acoustics, Speech and Signal Processing, 2009. ICASSP 2009. IEEE International Conference on. IEEE, Apr. 2009, pp. 4121-4124. |
European Search Report Corresponding to European Application No. 11780883.2; dated Sep. 3, 2013; 3 Pages. |
Kabal P. et al., “Adaptive Postfiltering for Enhancement of Noisy Speech in the Frequency Domain”, Signal Image and Video Processing, Singapore, Proceedings of the International Symposium on Circuits and Systems, Jun. 11-14, 1991, vol. 1, p. 312-315. |
International Search Report Corresponding to International Application No. PCT/SE2011/050518; dated Nov. 10, 2011; 10 pages. |
Number | Date | Country | |
---|---|---|---|
20110282656 A1 | Nov 2011 | US |
Number | Date | Country | |
---|---|---|---|
61333498 | May 2010 | US |