WO2005059901A1 - Constrained filter encoding of polyphonic signals - Google Patents

Constrained filter encoding of polyphonic signals Download PDF

Info

Publication number
WO2005059901A1
WO2005059901A1 PCT/SE2004/001907 SE2004001907W WO2005059901A1 WO 2005059901 A1 WO2005059901 A1 WO 2005059901A1 SE 2004001907 W SE2004001907 W SE 2004001907W WO 2005059901 A1 WO2005059901 A1 WO 2005059901A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
signal
constraint
filter
adaptive filter
Prior art date
Application number
PCT/SE2004/001907
Other languages
French (fr)
Inventor
Stefan Bruhn
Ingemar Johansson
Anisse Taleb
Patrik Sandgren
Original Assignee
Telefonaktiebolaget Lm Ericsson (Publ)
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from SE0303499A external-priority patent/SE0303499D0/en
Application filed by Telefonaktiebolaget Lm Ericsson (Publ) filed Critical Telefonaktiebolaget Lm Ericsson (Publ)
Priority to EP04809080.7A priority Critical patent/EP1639580B1/en
Priority to DK04809080.7T priority patent/DK1639580T3/en
Priority to PL04809080T priority patent/PL1639580T3/en
Priority to JP2006518597A priority patent/JP4323520B2/en
Priority to ES04809080.7T priority patent/ES2439693T3/en
Publication of WO2005059901A1 publication Critical patent/WO2005059901A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S5/00Pseudo-stereo systems, e.g. in which additional channel signals are derived from monophonic signals by means of phase shifting, time delay or reverberation 
    • H04S5/02Pseudo-stereo systems, e.g. in which additional channel signals are derived from monophonic signals by means of phase shifting, time delay or reverberation  of the pseudo four-channel type, e.g. in which rear channel signals are derived from two-channel stereo signals
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/008Multichannel audio signal coding or decoding using interchannel correlation to reduce redundancy, e.g. joint-stereo, intensity-coding or matrixing

Definitions

  • the present invention relates in general to encoding of audio signals, and in particular to encoding of multi-channel audio signals.
  • stereophonic or multi-channel coding of audio signals is to encode the signals of the different channels separately as individual and independent signals.
  • Another basic way used in stereo FM radio transmission and which ensures compatibility with legacy mono radio receivers is to transmit a sum and a difference signal of the two involved channels.
  • M/S stereo coding is similar to the described procedure in stereo FM radio, in a sense that it encodes and transmits the sum and difference signals of the channel sub-bands and thereby exploits redundancy between the channel sub-bands.
  • the structure and operation of an encoder based on M/S stereo coding is described, e.g. in US patent 5,285,498 by J.D. Johnston.
  • Intensity stereo on the other hand is able to make use of stereo irrelevancy. It transmits the joint intensity of the channels (of the different sub-bands) along with some location information indicating how the intensity is distributed among the channels. Intensity stereo does only provide spectral magnitude information of the channels. Phase information is not conveyed. For this reason and since the temporal inter-channel information (more specifically the inter-channel time difference) is of major psycho-acoustical relevancy particularly at lower frequencies, intensity stereo can only be used at high frequencies above e.g. 2 kHz.
  • An intensity stereo coding method is described, e.g. in the European patent 0497413 by R. Veldhuis et al.
  • a recently developed stereo coding method is described, e.g. in a conference paper with the title "Binaural cue coding applied to stereo and multi-channel audio compression", 112th AES convention, May 2002, Kunststoff, Germany by C. Faller et al.
  • This method is a parametric multi-channel audio coding method.
  • the basic principle is that at the encoding side, the input signals from N channels ci, C2, ... CN are combined to one mono signal m.
  • the mono signal is audio encoded using any conventional monophonic audio codec.
  • parameters are derived from the channel signals, which describe the multi-channel image.
  • the parameters are encoded and transmitted to the decoder, along with the audio bit stream.
  • the decoder first decodes the mono signal m' and then regenerates the channel signals ci', C2',..., CN', based on the parametric description of the multi-channel image.
  • the principle of the Binaural Cue Coding (BCC) method is that it transmits the encoded mono signal and so-called BCC parameters.
  • the BCC parameters comprise coded inter-channel level differences and inter-channel time differences for sub-bands of the original multi-channel input signal.
  • the decoder regenerates the different channel signals by applying sub-band- wise level and phase adjustments of the mono signal based on the BCC parameters.
  • the advantage over e.g. M/S or intensity stereo is that stereo information comprising temporal inter-channel information is transmitted at much lower bit rates.
  • a problem with the state of-the-art multi-channel coding techniques described above is that they require high bit rates in order to provide good quality. Intensity stereo, if applied at low bit rates as low as e.g. only a few kbps suffers from the fact that it does not provide any temporal inter- channel information. As this information is perceptually important for low frequencies below e.g. 2 kHz, it is unable to provide a stereo impression at such low frequencies.
  • BCC is able to reproduce the multi-channel image even at low frequencies at low bit rates of e.g. 3 kbps since it also transmits temporal inter-channel information.
  • this technique requires computational demanding time-frequency transforms on each of the channels, both at the encoder and the decoder.
  • BCC optimises the mapping in a pure mathematical manner. Characteristic artefacts immanent in the coding method will, however, not disappear.
  • side information consists of predictor filters and optionally a residual signal.
  • the predictor filters estimated by a least-mean-square algorithm, when applied to the mono signal allow the prediction of the multi-channel audio signals.
  • This technique synthesises the right and left channel signals by filtering sound source signals with so-called head-related filters.
  • this technique requires the different sound source signals to be separated and can thus not generally be applied for stereo or multi-channel coding.
  • the predictor filters are known to be optimal in the least-mean- square sense, they do not always fully restore the perceptual characteristics of the original multi-channel signals.
  • stereo image instability may occur, where the sound jumps randomly between left to right.
  • spectral nulls may cause instabilities and lead to a filter whose frequency response at these frequencies is aberrant. This may cause the filter to perform unnecessary amplification in certain regions and lead to very annoying audible artefacts, especially if the signals are low-pass or high-pass filtered.
  • An object of the present invention is to provide a method and device for multi-channel encoding that improves the perceptual quality of the audio signal.
  • a further object of the present invention is to provide such a method and device, which requires low bit rate representation.
  • the signals of the different channels are combined into one main signal.
  • a set of adaptive filters preferably one for each channel, is derived.
  • a filter When a filter is applied to the main signal it reconstructs the signal of the respective channel under a perceptual constraint.
  • the perceptual constraint is a gain and/ or shape constraint.
  • the gain constraint allows the preservation of the relative energy between the channels while the shape constraint allows stereo image stability, e.g. by avoiding unnecessary filtering of spectral nulls.
  • the transmitted parameters are the main signal, in encoded form, and the parameters of the adaptive filters, preferably also encoded.
  • the receiver reconstructs the signal of the different channels by applying the adaptive filters and possibly some additional post-processing.
  • An advantage with the present invention is that perceptual artefacts are reduced when decoding audio signals.
  • the required transmission bit rate is at the same time also kept at a very low level.
  • FIG. 1 is a block scheme of a system for transmitting multi-channel signals
  • FIG. 2a is a block diagram of an embodiment of an encoder in a transmitter according to the present invention
  • FIG. 2b is a block diagram of an embodiment of a decoder in a receiver according to the present invention
  • FIG. 3a is a block diagram of another embodiment of an encoder in a transmitter according to the present invention
  • FIG. 3b is a block diagram of another embodiment of a decoder in a receiver according to the present invention
  • FIG. 4 is a block diagram of an embodiment of a filter adaptation unit according to the present invention
  • FIG. 1 is a block scheme of a system for transmitting multi-channel signals
  • FIG. 2a is a block diagram of an embodiment of an encoder in a transmitter according to the present invention
  • FIG. 2b is a block diagram of an embodiment of a decoder in a receiver according to the present invention
  • FIG. 3a is a block diagram of another embodiment of an encoder in a transmitter
  • FIG. 5 are diagrams illustrating the effects of insufficient reproduction of side signals in a prior-art system
  • FIG. 6 is a diagram illustrating effects of spectral nulls in prior-art systems
  • FIG. 7 is a block diagram illustrating combining possibilities in channel filter sections according to the present invention
  • FIG. 8 is a block diagram of an embodiment of an encoder employing partial combined encoding of a stereo signal
  • FIG. 9 is a block diagram illustrating the use of division in frequency sub- bands
  • FIG. 10 is a composite diagram illustrating overlapping analysis for encoding and decoding
  • FIG. 11 is a flow diagram of the basic steps of an embodiment of an encoding method according to the present invention.
  • FIG. 1 illustrates a typical system 1, in which the present invention advantageously can be utilised.
  • a transmitter 10 comprises an antenna 12 including associated hardware and software to be able to transmit radio signals 5 to a receiver 20.
  • the transmitter 10 comprises among other parts a multi-channel encoder 14, which transforms signals of a number of input channels 16 into output signals suitable for radio transmission. Examples of suitable multi-channel encoders 14 are described in detail further below.
  • the signals of the input channels 16 can be provided from e.g. an audio signal storage 18, such as a data file of digital representation of audio recordings, magnetic tape or vinyl disc recordings of audio etc.
  • the signals of the input channels 16 can also be provided in "live", e.g. from a set of microphones 19.
  • the audio signals are digitised, if not already in digital form, before entering the multi-channel encoder 14.
  • an antenna 22 with associated hardware and software handles the actual reception of radio signals 5 representing polyphonic audio signals.
  • typical functionalities such as e.g. error correction, are performed.
  • a decoder 24 decodes the received radio signals 5 and transforms the audio data carried thereby into signals of a number of output channels 26.
  • the output signals can be provided to e.g. loudspeakers 29 for immediate presentation, or can be stored in an audio signal storage 28 of any kind.
  • the system 1 can for instance be a phone conference system, a system for supplying audio services or other audio applications.
  • the communication has to be of a duplex type, while e.g. distribution of music from a service provider to a subscriber can be essentially of a one-way type.
  • the transmission of signals from the transmitter 10 to the receiver 20 can also be performed by any other means, e.g. by different kinds of electromagnetic waves, cables or fibres as well as combinations thereof.
  • Fig. 2a illustrates one embodiment of a multi-channel encoder 14 according to the present invention. A number of channel signals ci, C2, ..., CN are received at separate inputs 16: 1-16:N.
  • the channel signals are connected to a linear combination unit 34.
  • all channel signals are summed together to form a mono signal x.
  • any predetermined linear combination of one or more of the channel signals may be used as an alternative, including pure channel signals.
  • a pure sum will simplify most mathematical operations.
  • the mono signal x is provided as an input signal 42 to a channel filter section 130.
  • the mono signal x is provided to, and encoded in, a mono signal encoder 38 to provide encoding parameters p x representing the mono signal x.
  • the mono signal encoder operates according to any suitable mono signal encoding technique. Many such techniques are available in known technology. The actual details of the encoding technique are not of importance for enabling the present invention and is therefore not further discussed.
  • the channel signals are also connected to the channel filter section 130.
  • each channel signal is connected to a respective filter adaptation unit 30: 1 -30 :N.
  • the filter adaptation units perform a reconstruction of a respective channel signal when applied to the mono signal x.
  • Coefficients of the filter adaptation units 30: 1-30:N are according to the present invention optimised under a perceptual constraint. However, the optimised coefficients of the filter adaptation units 30: 1-30:N may also be obtained at least partly in a joint optimisation of two or more of the channel signals.
  • the output of the channel filter section 130 comprises N sets of filter parameters pi-pN. These filter parameters pi-pN are typically encoded separately or jointly to be suitable for transmission. The filter parameters pi- P and the mono signal x are sufficient to enable reconstruction of all channels signals. The encoded filter parameters pi-pN and the encoding parameters p x representing the mono signal x are in the present embodiment multiplexed in a multiplexor 40 into one output signal 52, ready for transmission.
  • Fig. 2b illustrates one embodiment of a multi-channel decoder 24 according to the present invention.
  • the decoder 24 in Fig. 2b is suitable for decoding multi-channel signals encoded by the encoder of Fig. 2a.
  • An input signal 54 is received and provided to a demultiplexor 56, which divides the input signal 54 into encoding parameters p x representing the mono signal x and a number of sets of encoded filter parameters pi-pN.
  • the encoding parameters p x representing the mono signal x are provided to a mono signal decoder 64, in which the encoding parameters p x representing the mono signal x are used to generate a decoded mono signal x" according any suitable decoding technique associated with the encoding technique used in Fig. 2a. Many such techniques are available in known technology. The actual details of the encoding technique are not of importance for enabling the present invention and is therefore not further discussed.
  • the decoded mono signal x" is provided to a channel filter section 160.
  • the encoded filter parameters are also provided to the channel filter section 160, where they are decoded and used to define channel filters 60: 1-60:N.
  • the so defined respective channel filters 60: 1-60:N are applied to the decoded mono signal x" whereby respective channel signals C"I-C"N are reconstructed and provided at outputs 26: 1-26:N.
  • a mono signal is used as a main signal for regenerating the channel signals at the encoding or decoding.
  • any predetermined linear combination of signals selected among the channel signals may be used as such a main signal.
  • the optimum choice of predetermined linear combination depends on the actual application and implementation.
  • a single channel signal can also constitute a possible such predetermined linear combination.
  • FIG. 3a Another embodiment of a multi-channel encoder 14 according to the present invention is illustrated in Fig. 3a. Similar parts are denoted by similar reference numbers and only the differences are discussed below.
  • the linear combination unit 34 provides as earlier a predetermined linear combination of the channel signals to the mono signal encoder 38.
  • the signal associated with the mono signal x is instead a decoded version x" of the encoding parameters p x representing the mono signal x.
  • Such an arrangement referred to as a closed loop approach, will allow for certain compensations of mono signal encoding inaccuracies, as described further below.
  • the linear combination unit 34 of the present embodiment also combines the channel signals in N- l predetermined linear combinations C*J.-C*N-I, which serves as actual input signals to the channel filter section 130.
  • the N- l predetermined linear combinations C*I-C*N-I should be mutually linear independent.
  • the linear combinations C*I-C*N-I do not necessarily comprise any contribution from all channel signals.
  • the term "linear combination" should in this context be used as also comprising the special cases where a factor of a component can be set to zero. In fact, in the most simple set-up, the linear combinations C*I-C*N-I can be identical to the channel signals ci- CN-1.
  • the modified channel signals are also in this embodiment connected to the channel filter section 130, in which N-l sets of filter coefficients are deduced, now corresponding to the modified channel signals.
  • the coefficients of the filter adaptation units 30: 1-30:N are according to the present invention optimised under a perceptual constraint.
  • the output of the channel filter section 130 comprises N-l sets of filter parameters p* ⁇ -p*N- ⁇ - These filter parameters p* ⁇ -p*N- ⁇ are typically encoded separately or jointly to be suitable for transmission.
  • the encoded filter parameters p* ⁇ -p*N- ⁇ and the encoding parameters p x representing the mono signal x are in the present embodiment transmitted separately.
  • Fig. 3b illustrates another embodiment of a multi-channel decoder 24 according to the present invention.
  • the decoder 24 in Fig. 3b is suitable for decoding multi-channel signals encoded by the encoder of Fig. 3a.
  • Encoding parameters p x representing the mono signal x and a set of encoded filter parameters p* ⁇ -p*N- ⁇ are received.
  • the encoding parameters p x representing the mono signal x are used to generate a decoded mono signal x" in a mono signal decoder 64 in analogy with previous embodiment.
  • the filter parameters p* ⁇ -p*N- ⁇ are likewise provided to the channel filter section 160 for obtaining N- l decoded modified channel signals C*I-C*N-I.
  • a linear combination unit 74 is then used to provide reconstructed channel signals C"I-C"N from the modified channel signals C*I-C*N-I and the decoded mono signal x".
  • R is the symmetric covariance matrix of the mono signal x(n) :
  • the perceptual characteristics may not completely be determined by a pure mathematical minimisation.
  • the predicted channels may have no frequency content above or below a certain frequency. This occurs if, for instance, the channel is high-pass filtered, or results from a band- splitting procedure. Spectral nulls may cause instabilities and lead to filter responses that produces unnecessary amplification and low frequency audible artefacts. According to the present invention, a shape constraint is therefore advantageously utilised during optimisation procedures.
  • Fig. 4 illustrates the basic ideas of the constrained minimisation procedure at the encoder side according to the present invention in an embodiment having two channels (the stereo case) and a linear filter 31.
  • a filter 31 responsive for reconstruction of channel cl having filter coefficients h cl is derived according to a constrained error minimisation procedure in an optimising unit 32.
  • the factors ⁇ ⁇ and ⁇ c2 determine how the channel signals are combined.
  • One possibility is to set ⁇ ⁇ to a factor 2 ⁇ and ⁇ c2 to 2(l — ⁇ ) .
  • the mono signal will be a weighted sum of the channels.
  • the weighted combination of the individual channel signals to form the mono signal can in general even be the combination of filtered versions of the respective channel signals. Such an approach will be called pre-filtering. This can be useful if the approach is implemented in the excitation domain or in general a weighted signal domain.
  • the channels can be pre-filtered by a LPC (Linear Predictive Coding) residual filter of the mono signal.
  • LPC Linear Predictive Coding
  • the mono and left and right channel will be assumed to be in general some pre-filtered versions of the real mono, left and right channels.
  • the step of post-filtering with the mono LPC synthesis filter would be needed in order to get back to the signal domains.
  • the filter parameters pi comprise the filter coefficients h cl and maybe necessary additional data defining the filter.
  • the difference signal of two channel signals is reproduced by a filter.
  • the right and left signals are illustrated by the curves 301 and 302, respectively.
  • the representation is not ideal, giving a slightly larger difference than the target difference over the entire frame. This will lead to a reproduced right signal 303 at the decoder side that is slightly lower than the original right signal, and a reproduced left signal 304 that is slightly higher than the original left signal.
  • the perception of such an artefact is that the volume of the right channel is decreased and the volume of the left channel is increased. If such artefacts moreover vary in time, the sound will swing back and forth between the right and left channel. A gain constraint may improve such a situation.
  • One possible approach is to have a hard constraint, i.e. exact energy match between the original channel and the estimated channel, or to impose a loose gain constraint such as the output channel has a prescribed energy E ⁇ , which is not necessarily equal to the original channel signal energy.
  • a channel signal may look like curve 305 of Fig. 6. No intensity is present below frequency fi or above frequency ,. However, a pure mathematical optimisation gives rise to a curve 306, which presents some limited power also below and above the frequencies fi and f2, respectively. Such artefacts are perceived.
  • a set of linear constraints have to be imposed on the filter. These constraints should in general be of a number less than the number of coefficients of the filter.
  • the shape constraint can be formulated by a matrix and a vector such that
  • This constraint is especially useful when it is known a priori that the channel has no frequency content in a certain frequency range.
  • the gain and shape constraints can also be combined.
  • the shape constraint is preferably first applied and the gain constraint is then added as a factor, according to
  • This equation is useful for bit rate reduction when encoding the channel filters, since it shows that the channel filters are related by quantities that are available at the decoder side.
  • Fig. 7 an illustration shows that one cl out of two channels cl, c2 is reproduced by applying the mono signal x to an unconstrained filter 131. The result of the unconstrained filter is modified depending on shape constraints in a shape constraint section 132. From the shape constrained filter for the cl channel, also the shape constrained filter of channel c2 can be calculated and provided to separate gain constraint sections 133 for each channel.
  • FIG. 8 A more detailed block scheme of another embodiment using a side signal for applying the shape constraint is illustrated in Fig. 8.
  • Two channel signals ci and C 2 are combined in addition means 55, 57 of a linear combination unit 34 to a mono signal x and a side signal s.
  • a channel filter section 130 comprises an unconstrained parametric filter 131, which applied to the mono signal x reproduces an estimate of the side signal s .
  • the filter coefficients are adapted to give the minimum difference between s and s .
  • the filter obtained in this manner h" c is provided to a shape constraint section 132, basically according to the discussions further above.
  • a shape-constrained filter h s s for the side signal is created.
  • a shape-constrained filter for each channel signal is calculated, based on the shape-constrained filter h s s c for the side signal.
  • These filters, or rather the coefficients thereof, are provided to a respective gain constraint section 133: 1, 133:2.
  • a gain factor for each channel signal is calculated, and the two filters are provided to a parameter encoding section 66, where the parameters of the two filters are jointly encoded.
  • the constrained channel filters h cl and h c2 After calculation of the constrained channel filters h cl and h c2 , they are quantized and encoded in a representation, which is suitable for transmission to the receiver. Typically, the coefficients of the filters are quantized using scalar or vector quantizers and the quantizer indexes are transmitted. The quantizers may also implement prediction, which is very beneficial for bit rate reduction especially in this scenario.
  • Making use of the complementarities of the filters may further reduce the bit rate since only one of the filters h c ⁇ or h c2 or a linear combination of them is quantized and transmitted while the gains g cl and g c2 are jointly vector quantized and transmitted separately. Such a transmission can be carried out at bit rates as low as, e.g. 1 kbps.
  • the receiver first decodes the transmitted mono signal and channel filters. Then, it regenerates the different channel signals by filtering the mono signal through the respective channel filter. Preferably, in the stereo case, the completeness property is used, and the coefficients are recombined to produce the filters h ⁇ and h c2 . Certain post-processing steps that further improve the quality of the reconstructed multi-channel signal may follow the re-generation of the different channels signals.
  • the equivalent side signal filter is (as used in Fig. 8):
  • the gain constraint on the filters assumes previously computed channel energies, i.e. E c E c2 . It is important to control the gains of the filters, e.g. g cl ,g c2 and to avoid unnecessary amplification by limiting the gains.
  • the channels are anti-correlated on the whole frequency range or in certain frequency bands. This leads to a certain cancellation when the mono channel is formed.
  • a certain amount e.g. 0 dB.
  • One way to perform this gain limitation is to compute a certain gain factor:
  • g F quantifies how severe this cancellation is.
  • the filters are derived based on the original mono signal. This is e.g. the case in Fig. 2a, where the signal 42 is the original mono signal x.
  • the decoder will use a quantized mono signal as input for the channel filtering.
  • the filter calculations are based on the coded and thus already quantized mono signal. This is e.g. the case in Fig. 3a, where the signal 44 is a decoded mono signal x" .
  • This approach has the advantage that the channel filter design does not only aim to match the respective channel signals in a best possible way. It also aims to mitigate coding errors, which are the result of the mono signal encoding.
  • the principles described hitherto are applicable on the complete spectrum, i.e. full-band signals. However, they are equally well or even more beneficially applicable on sub-bands of the signals.
  • Fig. 9 illustrates the principles of sub-band processing.
  • a number of channels ci - CN are each divided in K sub-bands SB1, SB2, SBK.
  • the channel signals in each sub- band is provided to a respective multi-channel encoder unit 80: 1-80:K, where the channel signals are encoded.
  • One or several of the multi-channel encoder units 80: 1-80:K can be multi-channel encoder units according to the present invention.
  • a bit-stream combiner 82 combines the encoded signals into a common encoded signal 53, that is transmitted.
  • the multi-channel encoding for the different sub-bands can be carried out individually optimised with respect to e.g. assigned bit rate, processing frame sizes and sampling rate.
  • sub-band processing does not carry out multi-channel encoding for very low frequencies, e.g. below 200 Hz. That means that for this very low frequency band, a mere mono signal is transmitted. This principle makes use of the fact that the human stereo perception is less sensitive for very low frequencies. It is known from prior art and called sub- woofing.
  • the band splitting is done using a time-frequency transform such as, e.g. a short term Fourier transform (STFT), which allows decomposing the signal into single freq ⁇ ency components.
  • STFT short term Fourier transform
  • the filtering reduces to a mere multiplication of the individual spectral coefficients of the mono signal with a complex factor.
  • the parametric multi-channel coding method according to the invention will typically involve fixed frame-wise processing of signal samples.
  • parameters describing the multi-channel image are derived and transmitted with a rate corresponding to a coding frame length of, e.g. 20 ms.
  • the parameters may, however, be obtained from signal frames which are much larger than the coding frame length.
  • a suitable choice is to set the length of such analysis frames to values larger than the coding frame length. This implies that the parameter calculation is performed with overlapping analysis frames.
  • smooth filter parameter evolution can be enforced. It is, e.g. possible to apply low-pass or median filtering to the filter parameters.
  • noise shaping of the coding noise.
  • the purpose of this operation is to move coding noise to frequencies where the signal has high spectral density and thus render the noise less audible.
  • Noise shaping is usually done adaptively, i.e. in response to the audio signal. This implies that, in general, the noise shaping performed on the mono signal will be different from what is required for the various channel signals.
  • the subsequent channel filtering according to the invention may lead to an audible coding noise increase in the reconstructed multi-channel signal when comparing to the audible coding noise in the mono signal.
  • signal-adaptive post-filtering may be applied to the reconstructed channel signals in a post-processing step of the receiver.
  • Any state-of-the-art post-filtering techniques can be deployed here, which essentially emphasise spectral tops or deepen spectral valleys and thereby reduce the audible noise.
  • One example of such a technique is so- called high-resolution post-filtering which is described in the European Patent 0 965 123 Bl by E. Ekudden et. al.
  • Other simple methods are so- called pitch- and formant post-filters, which are known from speech coding.
  • Fig. 11 the main steps of an embodiment of an encoding method according to the present invention are illustrated as a flow diagram.
  • the procedure starts in step 200.
  • a main signal preferably a mono signal, deduced from the multi-channel signals is encoded.
  • filter coefficients are optimised to give an as good representation as possible of a channel signal when applied to the main signal. The optimising takes place under perceptual constraints.
  • the optimal coefficients are then encoded in step 224.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Filters That Use Time-Delay Elements (AREA)

Abstract

Signals of different channels (c1-cN) are combined into one mono signal (x). A set of adaptive filters, preferably one for each channel (c-cN), is derived in a respective filter adaptation unit (30:1-30:N). when an adaptive filter is applied to the mono signal (x) it reconstructs the signal of the respective channel (c1-cN) under a perceptual constraint. The perceptual constraint is a gain and/or shape constraint. The gain constraint allows the preservation of the relative energy between the channels (c1-cN) while the shape constraint allows more stability by avoiding unnecessary filtering of spectrum nulls. The transmitted parameters are the mono signal (x), in encoded form, and the parameters (p1-pN) of the adaptive filters, preferably also encoded. The receiver reconstructs the signal of the different channels by applying the adaptive filters and possibly some additional post-processing.

Description

CONSTRAINED FILTER ENCODING OF POLYPHONIC SIGNALS
TECHNICAL FIELD
The present invention relates in general to encoding of audio signals, and in particular to encoding of multi-channel audio signals.
BACKGROUND
There is a high market need to transmit and store audio signals at low bit rate while maintaining high audio quality. Particularly, in cases where transmission resources or storage is limited low bit rate operation is an essential cost factor. This is typically the case, e.g. in streaming and messaging applications in mobile communication systems such as GSM, UMTS, or CDMA.
Today, there are no standardised codecs available providing high stereophonic audio quality at bit rates that are economically interesting for use in mobile communication systems. What is possible with available codecs is monophonic transmission of the audio signals. To some extent also stereophonic transmission is available. However, bit rate limitations usually require limiting the stereo representation quite drastically.
The simplest way of stereophonic or multi-channel coding of audio signals is to encode the signals of the different channels separately as individual and independent signals. Another basic way used in stereo FM radio transmission and which ensures compatibility with legacy mono radio receivers is to transmit a sum and a difference signal of the two involved channels.
State-of-the-art audio codecs, such as MPEG- 1 /2 Layer III and MPEG-2/4 AAC make use of so-called joint stereo coding. According to this technique, the signals of the different channels are processed jointly, rather than separately and individually. The two most commonly used joint stereo coding techniques are known as "Mid/ Side" (M/S) stereo coding and intensity stereo coding, which usually are applied on sub-bands of the stereo or multichannel signals to be encoded.
M/S stereo coding is similar to the described procedure in stereo FM radio, in a sense that it encodes and transmits the sum and difference signals of the channel sub-bands and thereby exploits redundancy between the channel sub-bands. The structure and operation of an encoder based on M/S stereo coding is described, e.g. in US patent 5,285,498 by J.D. Johnston.
Intensity stereo on the other hand is able to make use of stereo irrelevancy. It transmits the joint intensity of the channels (of the different sub-bands) along with some location information indicating how the intensity is distributed among the channels. Intensity stereo does only provide spectral magnitude information of the channels. Phase information is not conveyed. For this reason and since the temporal inter-channel information (more specifically the inter-channel time difference) is of major psycho-acoustical relevancy particularly at lower frequencies, intensity stereo can only be used at high frequencies above e.g. 2 kHz. An intensity stereo coding method is described, e.g. in the European patent 0497413 by R. Veldhuis et al.
A recently developed stereo coding method is described, e.g. in a conference paper with the title "Binaural cue coding applied to stereo and multi-channel audio compression", 112th AES convention, May 2002, Munich, Germany by C. Faller et al. This method is a parametric multi-channel audio coding method. The basic principle is that at the encoding side, the input signals from N channels ci, C2, ... CN are combined to one mono signal m. The mono signal is audio encoded using any conventional monophonic audio codec. In parallel, parameters are derived from the channel signals, which describe the multi-channel image. The parameters are encoded and transmitted to the decoder, along with the audio bit stream. The decoder first decodes the mono signal m' and then regenerates the channel signals ci', C2',..., CN', based on the parametric description of the multi-channel image.
The principle of the Binaural Cue Coding (BCC) method is that it transmits the encoded mono signal and so-called BCC parameters. The BCC parameters comprise coded inter-channel level differences and inter-channel time differences for sub-bands of the original multi-channel input signal. The decoder regenerates the different channel signals by applying sub-band- wise level and phase adjustments of the mono signal based on the BCC parameters. The advantage over e.g. M/S or intensity stereo is that stereo information comprising temporal inter-channel information is transmitted at much lower bit rates.
A problem with the state of-the-art multi-channel coding techniques described above is that they require high bit rates in order to provide good quality. Intensity stereo, if applied at low bit rates as low as e.g. only a few kbps suffers from the fact that it does not provide any temporal inter- channel information. As this information is perceptually important for low frequencies below e.g. 2 kHz, it is unable to provide a stereo impression at such low frequencies.
BCC is able to reproduce the multi-channel image even at low frequencies at low bit rates of e.g. 3 kbps since it also transmits temporal inter-channel information. However, this technique requires computational demanding time-frequency transforms on each of the channels, both at the encoder and the decoder. Moreover, BCC optimises the mapping in a pure mathematical manner. Characteristic artefacts immanent in the coding method will, however, not disappear.
Another technique, described in US patent 5,434,948 by C.E. Holt et al. uses a similar approach of encoding the mono signal and side information. In this case, side information consists of predictor filters and optionally a residual signal. The predictor filters, estimated by a least-mean-square algorithm, when applied to the mono signal allow the prediction of the multi-channel audio signals. With this technique one is able to reach very low bit rate encoding of multi-channel audio sources, however, at the expense of a quality drop.
An approach similar to the above filtering approach is described in WO 03/090206 by Breebaart and Groenendaal. However, this approach uses a fixed filter applied to the mono signal and combined together with the non filtered mono signal via a matrixing operation. The matrixing operation is dependent upon a received correlation parameter and a received level parameter. The objective of such signal synthesis is to restore the correlation and the level difference of the original two channels. Because of the inherently fixed filtering operation, the signal synthesis has a very limited potential for signal reproduction and does not adapt to the signal characteristics. The approach can be regarded as an extension of the intensity stereo coding method discussed above, in which now a temporal component is conveyed to the decoder. Still, only the level and the correlation parameters allow a certain degree of adaptivity through a matrixing operation. This operation consists of a mere rotation and scaling of statically filtered signals, thus limiting the polyphonic reproduction ability. Another drawback of the approach is the fact that it is not based on a fidelity criterion, e.g. signal-to-noise ratio, which limits its scalability to transparent quality.
Finally, for completeness, a technique is to be mentioned that is used in 3D audio. This technique synthesises the right and left channel signals by filtering sound source signals with so-called head-related filters. However, this technique requires the different sound source signals to be separated and can thus not generally be applied for stereo or multi-channel coding.
SUMMARY Although the predictor filters are known to be optimal in the least-mean- square sense, they do not always fully restore the perceptual characteristics of the original multi-channel signals. In e.g. the case of stereo encoding, stereo image instability may occur, where the sound jumps randomly between left to right. Furthermore, spectral nulls may cause instabilities and lead to a filter whose frequency response at these frequencies is aberrant. This may cause the filter to perform unnecessary amplification in certain regions and lead to very annoying audible artefacts, especially if the signals are low-pass or high-pass filtered.
An object of the present invention is to provide a method and device for multi-channel encoding that improves the perceptual quality of the audio signal. A further object of the present invention is to provide such a method and device, which requires low bit rate representation.
The above objects are achieved by methods and devices according to the enclosed patent claims. In general, at the encoder side, the signals of the different channels are combined into one main signal. A set of adaptive filters, preferably one for each channel, is derived. When a filter is applied to the main signal it reconstructs the signal of the respective channel under a perceptual constraint. The perceptual constraint is a gain and/ or shape constraint. The gain constraint allows the preservation of the relative energy between the channels while the shape constraint allows stereo image stability, e.g. by avoiding unnecessary filtering of spectral nulls. The transmitted parameters are the main signal, in encoded form, and the parameters of the adaptive filters, preferably also encoded. The receiver reconstructs the signal of the different channels by applying the adaptive filters and possibly some additional post-processing.
An advantage with the present invention is that perceptual artefacts are reduced when decoding audio signals. The required transmission bit rate is at the same time also kept at a very low level. BRIEF DESCRIPTION OF THE DRAWINGS
The invention, together with further objects and advantages thereof, may best be understood by making reference to the following description taken together with the accompanying drawings, in which: FIG. 1 is a block scheme of a system for transmitting multi-channel signals; FIG. 2a is a block diagram of an embodiment of an encoder in a transmitter according to the present invention; FIG. 2b is a block diagram of an embodiment of a decoder in a receiver according to the present invention; FIG. 3a is a block diagram of another embodiment of an encoder in a transmitter according to the present invention; FIG. 3b is a block diagram of another embodiment of a decoder in a receiver according to the present invention; FIG. 4 is a block diagram of an embodiment of a filter adaptation unit according to the present invention; FIG. 5 are diagrams illustrating the effects of insufficient reproduction of side signals in a prior-art system; FIG. 6 is a diagram illustrating effects of spectral nulls in prior-art systems; FIG. 7 is a block diagram illustrating combining possibilities in channel filter sections according to the present invention; FIG. 8 is a block diagram of an embodiment of an encoder employing partial combined encoding of a stereo signal; FIG. 9 is a block diagram illustrating the use of division in frequency sub- bands; FIG. 10 is a composite diagram illustrating overlapping analysis for encoding and decoding; and FIG. 11 is a flow diagram of the basic steps of an embodiment of an encoding method according to the present invention.
DETAILED DESCRIPTION Fig. 1 illustrates a typical system 1, in which the present invention advantageously can be utilised. A transmitter 10 comprises an antenna 12 including associated hardware and software to be able to transmit radio signals 5 to a receiver 20. The transmitter 10 comprises among other parts a multi-channel encoder 14, which transforms signals of a number of input channels 16 into output signals suitable for radio transmission. Examples of suitable multi-channel encoders 14 are described in detail further below. The signals of the input channels 16 can be provided from e.g. an audio signal storage 18, such as a data file of digital representation of audio recordings, magnetic tape or vinyl disc recordings of audio etc. The signals of the input channels 16 can also be provided in "live", e.g. from a set of microphones 19. The audio signals are digitised, if not already in digital form, before entering the multi-channel encoder 14.
At the receiver 20 side, an antenna 22 with associated hardware and software handles the actual reception of radio signals 5 representing polyphonic audio signals. Here, typical functionalities, such as e.g. error correction, are performed. A decoder 24 decodes the received radio signals 5 and transforms the audio data carried thereby into signals of a number of output channels 26. The output signals can be provided to e.g. loudspeakers 29 for immediate presentation, or can be stored in an audio signal storage 28 of any kind.
The system 1 can for instance be a phone conference system, a system for supplying audio services or other audio applications. In some systems, such as e.g. the phone conference system, the communication has to be of a duplex type, while e.g. distribution of music from a service provider to a subscriber can be essentially of a one-way type. The transmission of signals from the transmitter 10 to the receiver 20 can also be performed by any other means, e.g. by different kinds of electromagnetic waves, cables or fibres as well as combinations thereof. Fig. 2a illustrates one embodiment of a multi-channel encoder 14 according to the present invention. A number of channel signals ci, C2, ..., CN are received at separate inputs 16: 1-16:N.
The channel signals are connected to a linear combination unit 34. In the present embodiment, all channel signals are summed together to form a mono signal x. However, any predetermined linear combination of one or more of the channel signals may be used as an alternative, including pure channel signals. However, a pure sum will simplify most mathematical operations. The mono signal x is provided as an input signal 42 to a channel filter section 130. Furthermore, the mono signal x is provided to, and encoded in, a mono signal encoder 38 to provide encoding parameters px representing the mono signal x. The mono signal encoder operates according to any suitable mono signal encoding technique. Many such techniques are available in known technology. The actual details of the encoding technique are not of importance for enabling the present invention and is therefore not further discussed.
The channel signals are also connected to the channel filter section 130. In the present embodiment, each channel signal is connected to a respective filter adaptation unit 30: 1 -30 :N. The filter adaptation units perform a reconstruction of a respective channel signal when applied to the mono signal x. Coefficients of the filter adaptation units 30: 1-30:N are according to the present invention optimised under a perceptual constraint. However, the optimised coefficients of the filter adaptation units 30: 1-30:N may also be obtained at least partly in a joint optimisation of two or more of the channel signals.
The output of the channel filter section 130 comprises N sets of filter parameters pi-pN. These filter parameters pi-pN are typically encoded separately or jointly to be suitable for transmission. The filter parameters pi- P and the mono signal x are sufficient to enable reconstruction of all channels signals. The encoded filter parameters pi-pN and the encoding parameters px representing the mono signal x are in the present embodiment multiplexed in a multiplexor 40 into one output signal 52, ready for transmission.
Fig. 2b illustrates one embodiment of a multi-channel decoder 24 according to the present invention. The decoder 24 in Fig. 2b is suitable for decoding multi-channel signals encoded by the encoder of Fig. 2a. An input signal 54 is received and provided to a demultiplexor 56, which divides the input signal 54 into encoding parameters px representing the mono signal x and a number of sets of encoded filter parameters pi-pN.
The encoding parameters px representing the mono signal x are provided to a mono signal decoder 64, in which the encoding parameters px representing the mono signal x are used to generate a decoded mono signal x" according any suitable decoding technique associated with the encoding technique used in Fig. 2a. Many such techniques are available in known technology. The actual details of the encoding technique are not of importance for enabling the present invention and is therefore not further discussed. The decoded mono signal x" is provided to a channel filter section 160.
The encoded filter parameters are also provided to the channel filter section 160, where they are decoded and used to define channel filters 60: 1-60:N. The so defined respective channel filters 60: 1-60:N are applied to the decoded mono signal x" whereby respective channel signals C"I-C"N are reconstructed and provided at outputs 26: 1-26:N.
In most embodiments of the present disclosure, a mono signal is used as a main signal for regenerating the channel signals at the encoding or decoding. However, in a general approach, any predetermined linear combination of signals selected among the channel signals may be used as such a main signal. The optimum choice of predetermined linear combination depends on the actual application and implementation. A single channel signal can also constitute a possible such predetermined linear combination. Another embodiment of a multi-channel encoder 14 according to the present invention is illustrated in Fig. 3a. Similar parts are denoted by similar reference numbers and only the differences are discussed below.
The linear combination unit 34 provides as earlier a predetermined linear combination of the channel signals to the mono signal encoder 38. However, in this embodiment, the signal associated with the mono signal x is instead a decoded version x" of the encoding parameters px representing the mono signal x. Such an arrangement, referred to as a closed loop approach, will allow for certain compensations of mono signal encoding inaccuracies, as described further below.
The linear combination unit 34 of the present embodiment also combines the channel signals in N- l predetermined linear combinations C*J.-C*N-I, which serves as actual input signals to the channel filter section 130. The N- l predetermined linear combinations C*I-C*N-I should be mutually linear independent. The linear combinations C*I-C*N-I do not necessarily comprise any contribution from all channel signals. The term "linear combination" should in this context be used as also comprising the special cases where a factor of a component can be set to zero. In fact, in the most simple set-up, the linear combinations C*I-C*N-I can be identical to the channel signals ci- CN-1. By utilising a decoded mono signal x" at the decoder side, the original channel signals can be recovered.
The modified channel signals are also in this embodiment connected to the channel filter section 130, in which N-l sets of filter coefficients are deduced, now corresponding to the modified channel signals. The coefficients of the filter adaptation units 30: 1-30:N are according to the present invention optimised under a perceptual constraint.
The output of the channel filter section 130 comprises N-l sets of filter parameters p*ι-p*N-ι- These filter parameters p*ι-p*N-ι are typically encoded separately or jointly to be suitable for transmission. The encoded filter parameters p*ι-p*N-ι and the encoding parameters px representing the mono signal x are in the present embodiment transmitted separately.
Fig. 3b illustrates another embodiment of a multi-channel decoder 24 according to the present invention. The decoder 24 in Fig. 3b is suitable for decoding multi-channel signals encoded by the encoder of Fig. 3a. Encoding parameters px representing the mono signal x and a set of encoded filter parameters p*ι-p*N-ι are received. The encoding parameters px representing the mono signal x are used to generate a decoded mono signal x" in a mono signal decoder 64 in analogy with previous embodiment. The filter parameters p*ι-p*N-ι are likewise provided to the channel filter section 160 for obtaining N- l decoded modified channel signals C*I-C*N-I. A linear combination unit 74 is then used to provide reconstructed channel signals C"I-C"N from the modified channel signals C*I-C*N-I and the decoded mono signal x".
In order to realise the important relevance of the perceptual constraints, an example of prior art filter encoding will be described more in detail, basically referring to the US patent 5,434,948. This multi-channel encoding allows low bit rates if the transmission of residual signals is omitted. To derive the channel reconstruction filter, an error minimisation procedure based on a least-mean- square or weighted least- mean- square concept calculates the filters such that its output signal c(n) best matches the target signal c(n) .
In order to compute the filter, several error measures may be used. The mean square error or the weighted mean square error are well known and are computationally cheap to implement. According to the least mean square approach, the filter /z"c , where "uc" refers to "unconstrained", is valid for one frame of data and chosen such that it minimises the squared error between the target signal and the filter output, i.e. the square of the difference ruc(n) = c(n)- cuc(n), n indexing the samples of a data frame. This error is expressed as: frameend λ _ uc Λ Λ2 βLMS = n=fr 2am,estar rt _JW:
This leads to the following linear equation system for the filter coefficient vector h"c :
Figure imgf000014_0001
where R is the symmetric covariance matrix of the mono signal x(n) :
Figure imgf000014_0002
and where rxc is a vector of cross-correlations of signals x(n) and c(n) : fra ummeeeenndu xc j x(n - k)c(n) k e l . n= frame start
However, as mentioned further above, the perceptual characteristics may not completely be determined by a pure mathematical minimisation.
One very important perceptual characteristic of multi-channel signals is their energy and especially the relative levels between the multi-channel audio signals. In the case of stereo encoding with prior- art methods, annoying stereo image instability where the sound source jumps periodically from left to right may be the result. Moreover, since only one filter is needed in stereo encoding, no direct control over the left and right predictions is achieved. According to the present invention, a gain constraint is therefore advantageously utilised during optimisation procedures. In that context, it may be noted that one filter per channel basically is necessary, c.f. Fig. 2a and Fig. 2b above.
In certain situations, the predicted channels may have no frequency content above or below a certain frequency. This occurs if, for instance, the channel is high-pass filtered, or results from a band- splitting procedure. Spectral nulls may cause instabilities and lead to filter responses that produces unnecessary amplification and low frequency audible artefacts. According to the present invention, a shape constraint is therefore advantageously utilised during optimisation procedures.
Fig. 4 illustrates the basic ideas of the constrained minimisation procedure at the encoder side according to the present invention in an embodiment having two channels (the stereo case) and a linear filter 31. A filter 31 responsive for reconstruction of channel cl having filter coefficients hcl , is derived according to a constrained error minimisation procedure in an optimising unit 32. The filter hcl takes as input the combined channel signal, i.e. the mono signal x(n) , which in this embodiment is a linear combination of the two channel signals cl and c2 : M = rcr clW + rc2 • c2(") >
and derives from it the output signal cl(n) . The factors γΛ and γc2 determine how the channel signals are combined. One possibility is to set γΛ to a factor 2γ and γc2 to 2(l — ^) . In this case, the mono signal will be a weighted sum of the channels. In particular, a suitable setting is γ = 0.5 , in which case both channels are equally weighted. Another suitable setting may be γΛ = -γcl , in which case the mono signal is the difference of the channel signals.
The weighted combination of the individual channel signals to form the mono signal can in general even be the combination of filtered versions of the respective channel signals. Such an approach will be called pre-filtering. This can be useful if the approach is implemented in the excitation domain or in general a weighted signal domain. For instance, the channels can be pre-filtered by a LPC (Linear Predictive Coding) residual filter of the mono signal.
In the following, the mono and left and right channel will be assumed to be in general some pre-filtered versions of the real mono, left and right channels. When restoring the channels, the step of post-filtering with the mono LPC synthesis filter would be needed in order to get back to the signal domains.
In the following, the case γΛ - 111 and γc2 = 1/2 is discussed more in detail.
In case of hcl being an FIR (Finite Impulse Response) filter, cl(«) is a linear combination of 'delayed versions of signal x(n) : cl(n)= ∑hcl(k)- x(n - k) t kef
the index set being / = [iminKimΑX ] . The filter parameters pi comprise the filter coefficients hcl and maybe necessary additional data defining the filter.
If applying e.g. the encoding method presented in US 5,434,948, the difference signal of two channel signals is reproduced by a filter. In Fig. 5, the right and left signals are illustrated by the curves 301 and 302, respectively. Assume that the representation is not ideal, giving a slightly larger difference than the target difference over the entire frame. This will lead to a reproduced right signal 303 at the decoder side that is slightly lower than the original right signal, and a reproduced left signal 304 that is slightly higher than the original left signal. The perception of such an artefact is that the volume of the right channel is decreased and the volume of the left channel is increased. If such artefacts moreover vary in time, the sound will swing back and forth between the right and left channel. A gain constraint may improve such a situation.
There are several ways of implementing the gain constraint. One possible approach is to have a hard constraint, i.e. exact energy match between the original channel and the estimated channel, or to impose a loose gain constraint such as the output channel has a prescribed energy EΛ , which is not necessarily equal to the original channel signal energy.
The constrained minimisation problem can easily be solved by Lagrange method, i.e. the Lagrange functional: frameend frameend Λ L{λ) = ∑r(n)2 + λ Ecl - ∑cl(n) y: n=framestart n=framestart J
The optimal solution gives a filter hcl that is proportional to the unconstrained filter h™ = R"1 - rxcl . The proportionality factor is:
Ec Sa frameend n=fraιnestart
The gain constrained filter thereby becomes hc = gh" .
If the present encoder principle is used in a limited frequency band, a channel signal may look like curve 305 of Fig. 6. No intensity is present below frequency fi or above frequency ,. However, a pure mathematical optimisation gives rise to a curve 306, which presents some limited power also below and above the frequencies fi and f2, respectively. Such artefacts are perceived. In order to impose a certain spectral shape on the filter, a set of linear constraints have to be imposed on the filter. These constraints should in general be of a number less than the number of coefficients of the filter.
For instance, if one wants to set a constraint of a spectral null at 0 kHz, then a suitable constraint is:
∑hc{k) = hc = 0. kel
In general, the shape constraint can be formulated by a matrix and a vector such that
Figure imgf000018_0001
From the theory of constrained least squares, the optimal filter satisfying these constraints is:
Figure imgf000018_0002
This constraint is especially useful when it is known a priori that the channel has no frequency content in a certain frequency range.
The gain and shape constraints can also be combined. In such a case, the shape constraint is preferably first applied and the gain constraint is then added as a factor, according to
E. — hscsc = z o c—hsc g, c frameend n=framestart
Since the filters depend on the unconstrained filter and the latter obeys, since cl(n)+ c2(n) = 2x(n) , the relation:
Figure imgf000019_0001
where δ denotes the identity filter. Useful properties can be derived for the shape-constrained filters, if the constraints on the two channels are identical,
Kcl = c2 = > cl = WC2 = W
then -cl + hc2 2 + R^ \wτ HIE}1 fc - 2Wτδ) .
This equation is useful for bit rate reduction when encoding the channel filters, since it shows that the channel filters are related by quantities that are available at the decoder side.
The relations between the shape constrained filters also opens up for a rational computation of the filters. In Fig. 7, an illustration shows that one cl out of two channels cl, c2 is reproduced by applying the mono signal x to an unconstrained filter 131. The result of the unconstrained filter is modified depending on shape constraints in a shape constraint section 132. From the shape constrained filter for the cl channel, also the shape constrained filter of channel c2 can be calculated and provided to separate gain constraint sections 133 for each channel.
A more detailed block scheme of another embodiment using a side signal for applying the shape constraint is illustrated in Fig. 8. Two channel signals ci and C2 are combined in addition means 55, 57 of a linear combination unit 34 to a mono signal x and a side signal s. A channel filter section 130 comprises an unconstrained parametric filter 131, which applied to the mono signal x reproduces an estimate of the side signal s . In an unconstrained optimising unit 33, the filter coefficients are adapted to give the minimum difference between s and s . The filter obtained in this manner h"c , is provided to a shape constraint section 132, basically according to the discussions further above. A shape-constrained filter hs s for the side signal is created. From the relation (1) between channel filters in a stereo application, a shape-constrained filter for each channel signal is calculated, based on the shape-constrained filter hs s c for the side signal. These filters, or rather the coefficients thereof, are provided to a respective gain constraint section 133: 1, 133:2. A gain factor for each channel signal is calculated, and the two filters are provided to a parameter encoding section 66, where the parameters of the two filters are jointly encoded.
After calculation of the constrained channel filters hcl and hc2 , they are quantized and encoded in a representation, which is suitable for transmission to the receiver. Typically, the coefficients of the filters are quantized using scalar or vector quantizers and the quantizer indexes are transmitted. The quantizers may also implement prediction, which is very beneficial for bit rate reduction especially in this scenario.
Making use of the complementarities of the filters may further reduce the bit rate since only one of the filters h or hc2 or a linear combination of them is quantized and transmitted while the gains gcl and gc2 are jointly vector quantized and transmitted separately. Such a transmission can be carried out at bit rates as low as, e.g. 1 kbps.
The receiver first decodes the transmitted mono signal and channel filters. Then, it regenerates the different channel signals by filtering the mono signal through the respective channel filter. Preferably, in the stereo case, the completeness property is used, and the coefficients are recombined to produce the filters hΛ and hc2 . Certain post-processing steps that further improve the quality of the reconstructed multi-channel signal may follow the re-generation of the different channels signals.
It is sometimes beneficial to smooth the gain of the shape-constrained filters or a linear combination of these filters, before computing the gain constrained channel filters.
For instance, in the case of stereo, the equivalent side signal filter is (as used in Fig. 8):
Figure imgf000021_0001
and in order to reduce possible artefacts, the gain difference of this filter between successive frames is smoothened leading to a filter h s The channel filters are then modified according to: h „, = δ + h h C2 = δ - bli
This type of modification does not conserve the shape constraints, however, one can easily see that the shape constraints are still conserved on the side signal filter and this is enough in the case of stereo coding.
The gain constraint on the filters assumes previously computed channel energies, i.e. Ec Ec2 . It is important to control the gains of the filters, e.g. gcl,gc2 and to avoid unnecessary amplification by limiting the gains.
Depending on the properties of the different channel signals, it may occur that the channels are anti-correlated on the whole frequency range or in certain frequency bands. This leads to a certain cancellation when the mono channel is formed. In this case, since the individual channel information has been lost, at least partially and in some frequency bands, it is often beneficial to limit the channels gains when these are greater than a certain amount, e.g. 0 dB. One way to perform this gain limitation is to compute a certain gain factor:
Figure imgf000022_0001
which is the ratio of the effective mono channel energy and the energy of the mono channel if the two channels were uncorrelated. When this factor is less than 0 dB, then we have signal cancellation. In this case, gF quantifies how severe this cancellation is. The gain limitation can then be computed as: gΛ (dB) = max(gcl (dB) + gF (dB), ) , when gF < 0 dB
The same limitation holds for the gain of the other channels.
Not only the channel filter parameters need to be encoded and transmitted, but also the mono signal. There are two different principle approaches to consider the mono signal audio coding when deriving the channel filter coefficients.
In an open-loop fashion, the filters are derived based on the original mono signal. This is e.g. the case in Fig. 2a, where the signal 42 is the original mono signal x. The decoder, however, will use a quantized mono signal as input for the channel filtering.
In a closed-loop fashion, the filter calculations are based on the coded and thus already quantized mono signal. This is e.g. the case in Fig. 3a, where the signal 44 is a decoded mono signal x" . This approach has the advantage that the channel filter design does not only aim to match the respective channel signals in a best possible way. It also aims to mitigate coding errors, which are the result of the mono signal encoding. The principles described hitherto are applicable on the complete spectrum, i.e. full-band signals. However, they are equally well or even more beneficially applicable on sub-bands of the signals. Fig. 9 illustrates the principles of sub-band processing. A number of channels ci - CN are each divided in K sub-bands SB1, SB2, SBK. The channel signals in each sub- band is provided to a respective multi-channel encoder unit 80: 1-80:K, where the channel signals are encoded. One or several of the multi-channel encoder units 80: 1-80:K can be multi-channel encoder units according to the present invention. A bit-stream combiner 82 combines the encoded signals into a common encoded signal 53, that is transmitted.
Advantages of the described sub-band processing are that the multi-channel encoding for the different sub-bands can be carried out individually optimised with respect to e.g. assigned bit rate, processing frame sizes and sampling rate.
One special kind of sub-band processing does not carry out multi-channel encoding for very low frequencies, e.g. below 200 Hz. That means that for this very low frequency band, a mere mono signal is transmitted. This principle makes use of the fact that the human stereo perception is less sensitive for very low frequencies. It is known from prior art and called sub- woofing.
In a further embodiment of the sub-band processing the band splitting is done using a time-frequency transform such as, e.g. a short term Fourier transform (STFT), which allows decomposing the signal into single freqμency components. In this case, the filtering reduces to a mere multiplication of the individual spectral coefficients of the mono signal with a complex factor.
The parametric multi-channel coding method according to the invention will typically involve fixed frame-wise processing of signal samples. In other words, parameters describing the multi-channel image are derived and transmitted with a rate corresponding to a coding frame length of, e.g. 20 ms. The parameters may, however, be obtained from signal frames which are much larger than the coding frame length. A suitable choice is to set the length of such analysis frames to values larger than the coding frame length. This implies that the parameter calculation is performed with overlapping analysis frames.
This is illustrated in Fig. 10. Analysis frames 83 at the encoder are slightly longer than encoding frames 84, as shown in the top of the figure. A consequence of such overlapping analysis frames is that the parameters evolve smoothly, which is essential in order to provide a stable multi-channel audio signal impression. The same is performed at the decoder side, shown in the middle of the figure. It is thus essential in the decoder to take account of this and to window and overlap-add synthesis frames 85, with an overlap 86, as shown at the bottom of the figure. This allows a smooth transition between filters associated with each frame.
Also at the encoder, smooth filter parameter evolution can be enforced. It is, e.g. possible to apply low-pass or median filtering to the filter parameters.
State-of-the-art monophonic audio codecs as well as speech codecs perform so-called noise shaping of the coding noise. The purpose of this operation is to move coding noise to frequencies where the signal has high spectral density and thus render the noise less audible. Noise shaping is usually done adaptively, i.e. in response to the audio signal. This implies that, in general, the noise shaping performed on the mono signal will be different from what is required for the various channel signals. As a result, despite proper noise shaping in the mono audio codec, the subsequent channel filtering according to the invention may lead to an audible coding noise increase in the reconstructed multi-channel signal when comparing to the audible coding noise in the mono signal. In order to mitigate this problem, signal-adaptive post-filtering may be applied to the reconstructed channel signals in a post-processing step of the receiver. Any state-of-the-art post-filtering techniques can be deployed here, which essentially emphasise spectral tops or deepen spectral valleys and thereby reduce the audible noise. One example of such a technique is so- called high-resolution post-filtering which is described in the European Patent 0 965 123 Bl by E. Ekudden et. al. Other simple methods are so- called pitch- and formant post-filters, which are known from speech coding.
In Fig. 11, the main steps of an embodiment of an encoding method according to the present invention are illustrated as a flow diagram. The procedure starts in step 200. In step 220, a main signal, preferably a mono signal, deduced from the multi-channel signals is encoded. In step 222, filter coefficients are optimised to give an as good representation as possible of a channel signal when applied to the main signal. The optimising takes place under perceptual constraints. The optimal coefficients are then encoded in step 224. The procedure ends in step 299.
The embodiments described above are to be understood as a few illustrative examples of the present invention. It will be understood by those skilled in the art that various modifications, combinations and changes may be made to the embodiments without departing from the scope of the present invention. In particular, different part solutions in the different embodiments can be combined into other configurations, where technically possible. The scope of the present invention is, however, defined by the appended claims.
REFERENCES
US patent 5,285,498 US patent 5,434,948 European patent 0 497 413 European Patent 0 965 123 International patent application WO 03/090206
"Binaural cue coding applied to stereo and multi-channel audio compression", 112th AES convention, May 2002, Munich, Germany by C. Faller et al.

Claims

1. A method of coding multi-channel signals (CI-CN) comprising at least a first and a second channel, comprising the steps of: generating encoding parameters (px) representing a main signal (x) being a first predetermined linear combination of signals of the multi-channel signals (CI-CN); deriving optimal parameters (pi-pN) of a first adaptive filter (31; 131, 132, 133: 1-2); and encoding the optimal parameters (pi-pN), characterised by the further step of: deriving optimal parameters (pi-pN) of at least a second adaptive filter (31; 131, 132, 133: 1-2); said first adaptive filter (31; 131, 132, 133: 1-2) being derived to give a minimum difference between the signal of the first channel (CI-CN) and a filter output signal when the first adaptive filter (31; 131, 132, 133: 1-2) is applied on the first predetermined linear combination (x); the minimum difference being defined according to a first criterion; said second adaptive filter being derived to give a minimum difference between the signal of the second channel (CI-CN) and a filter output signal when the second adaptive filter is applied on the first predetermined linear combination (x); the minimum difference being defined according to a second criterion; and whereby the deriving steps of said first and said second adaptive filters (31; 131, 132, 133: 1-2) are performed under at least one perceptual constraint selected from the group of gain constraint and shape constraint.
2. A method according to claim 1, characterised in that at least one of the first criterion and the second criterion is a least mean square criterion.
3. A method according to claim 1 or 2, characterised in that the perceptual constraint is at least a gain constraint, striving to give a total energy of the filter output signal equal to a total energy of the signal of the first channel.
4. A method according to claim 3, characterised in that the gain constraint is an absolute constraint, demanding that the total energy of the adaptive filter output signal is equal to the total energy of the signal of the corresponding channel.
5. A method according to claim 3, characterised in that the gain constraint is a soft constraint, favouring adaptive filters giving the total energy of the adaptive filter output signal close to the total energy of the signal of the corresponding channel.
6. A method according to claim 3, characterised in that the gain constraint is imposed as a gain factor ( gcX - gcN ) times an adaptive filter derived without gain constraints.
7. A method according to claim 6, characterised in that the gain constrained filter h is given by:
L higec = b sc± h' "cc »
Sc
Figure imgf000028_0001
where h"c c is the adaptive filter derived without gain constraints, Ec a. prescribed energy of the adaptive filter output signal and cuc(n) is an adaptive filter output of main signal XΨ) without gain constraints.
8. A method according to any of the claims 1 to 7, characterised in that the perceptual constraint is at least a shape constraint, imposing a predefined spectral shape on the adaptive filter (31; 131, 132, 133: 1-2).
9. A method according to claim 8, characterised in that the shape constraint imposes null content in a predefined frequency range.
10. A method according to any of the claims 1 to 9, characterised in that the step of encoding the optimal parameters (pi-pisr) comprises jointly coding of the optimal parameters of the first and second filters.
11. A method according to any of the claims 1 to 10 and according to claim 8, characterised in that the step of deriving parameters in turn comprises the steps of: creating a second predetermined linear combination (s; C*I-C*N-I) of the signals of the multi-channel signals (CI-CN); deriving parameters of a third filter to give a minimum difference between the second predetermined linear combination and the filter output signal when the third filter is applied on the first predetermined linear combination, under the shape constraint; computing the optimal parameters of the first and second filters as a function of the optimal parameters of the third filter.
12. A method according to any of the claims 1 to 11, characterised in that the step of deriving is performed based on the encoding parameters (px) representing the main signal (x).
13. A method according to any of the claims 1 to 11, characterised in that the step of deriving is performed based directly on the first predetermined linear combination (x) .
14. A method according to any of the claims 1 to 13, characterised in that the multi-channel signals comprise more than two channels, whereby the main signal is based on a first predetermined linear combination (x) of all the more than two channels, and the signal of each channel is represented by a separate adaptive filter, optimised under the perceptual constraint.
15. A method of decoding polyphonic signals comprising encoding parameters (px) representing a main signal and encoded optimal parameters of a first adaptive filter (60: 1-60:N), comprising the steps of: decoding the encoding parameters (px) representing the main signal; generating a signal of a first channel (C"I-C"N) by applying the first adaptive filter (60: 1-60:N) to the decoded main signal (x"), characterised in that the encoding parameters (px) further represent encoded optimal parameters of a second adaptive filter (60: 1-60:N); the method further comprising the step of generating a signal of a second channel (C"I-C"N) by applying the second adaptive filter (60: 1-60:N) to the decoded main signal (x"); and the first and second adaptive filters (30: 1-30:N) being optimised under at least one perceptual constraint selected from the group of gain constraint and shape constraint.
16. A method according to claim 15, characterised by the step of: generating a signal of a second channel (C"I-C"N) as a predetermined linear combination of the decoded main signal (x") and the signal of the first channel (C"I-C"N).
17. Encoder apparatus (14), comprising: input (16: 1-16:N) for multi-channel signals (CI-CN) comprising at least a first and a second channel; means (38) for generating encoding parameters (px) representing a main signal (x) being a first predetermined linear combination of signals of the multi-channel signals (CI-CN), which means (38) for generating being connected to the input (16: l-16:N); means (31; 131, 132, 133: 1-2) for deriving optimal parameters of a first adaptive filter; means (66) for encoding the optimal parameters; and output means (52); characterised by: means (31; 131, 132, 133: 1-2) for deriving optimal parameters of a second adaptive filter; the first adapting filter giving minimum difference between the signal of the first channel (CI-CN) and the filter output signal when the first adaptive filter is applied on the first predetermined linear combination (x); the minimum difference being defined according to a first criterion; the second adapting filter giving minimum difference between the signal of the second channel (CJ -CN) and the filter output signal when the second adaptive filter is applied on the first predetermined linear combination
(x); the minimum difference being defined according to a second criterion; whereby the means (31; 131, 132, 133: 1-2) for deriving optimal parameters of said first and said second adaptive filters being arranged for deriving the optimal parameters under at least one perceptual constraint selected from the group of gain constraint and shape constraint.
18. Decoder apparatus (24), comprising: input (54) for encoding parameters (px) representing a main signal (x) and encoded optimal parameters of a first adaptive filter; means (64) for decoding the encoding parameters (px) representing a main signal (x); means (60: 1-60:N) for generating signals of a first channel by applying the first adaptive filter to the decoded main signal (x"), characterised in that the encoding parameters (px) further represent encoded optimal parameters of a second adaptive filter (60: 1-60:N); the decoder apparatus further comprising means (60: 1-60:N) for generating signals of a second channel by applying the second adaptive filter to the decoded main signal (x"); and the first and second adaptive filters being optimised under at least one perceptual constraint selected from the group of gain constraint and shape constraint.
PCT/SE2004/001907 2003-12-19 2004-12-15 Constrained filter encoding of polyphonic signals WO2005059901A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP04809080.7A EP1639580B1 (en) 2003-12-19 2004-12-15 Coding of multi-channel signals
DK04809080.7T DK1639580T3 (en) 2003-12-19 2004-12-15 Multichannel coding
PL04809080T PL1639580T3 (en) 2003-12-19 2004-12-15 Coding of multi-channel signals
JP2006518597A JP4323520B2 (en) 2003-12-19 2004-12-15 Constrained filter coding of polyphonic signals
ES04809080.7T ES2439693T3 (en) 2003-12-19 2004-12-15 Multi-channel signal encoding

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
SE0303499A SE0303499D0 (en) 2003-12-19 2003-12-19 Multi-channel coding using gain-shape constrained filters
SE0303499-8 2003-12-19
SE0400415-6 2004-02-20
SE0400415A SE527713C2 (en) 2003-12-19 2004-02-20 Coding of polyphonic signals with conditional filters

Publications (1)

Publication Number Publication Date
WO2005059901A1 true WO2005059901A1 (en) 2005-06-30

Family

ID=31996352

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/SE2004/001907 WO2005059901A1 (en) 2003-12-19 2004-12-15 Constrained filter encoding of polyphonic signals

Country Status (8)

Country Link
EP (2) EP1639580B1 (en)
JP (1) JP4323520B2 (en)
DK (1) DK1639580T3 (en)
ES (1) ES2439693T3 (en)
PL (1) PL1639580T3 (en)
PT (1) PT1639580E (en)
SE (1) SE527713C2 (en)
WO (1) WO2005059901A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008016098A1 (en) * 2006-08-04 2008-02-07 Panasonic Corporation Stereo audio encoding device, stereo audio decoding device, and method thereof
WO2010042024A1 (en) * 2008-10-10 2010-04-15 Telefonaktiebolaget Lm Ericsson (Publ) Energy conservative multi-channel audio coding

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0559383A1 (en) * 1992-03-02 1993-09-08 AT&T Corp. A method and apparatus for coding audio signals based on perceptual model
WO2003009206A1 (en) * 2001-07-19 2003-01-30 Sungwoo Kim The system and operational method of mobile telecommunication device for electronic cash
WO2003009208A1 (en) * 2001-07-20 2003-01-30 Medical Research Group Method and apparatus for communicating between an ambulatory medical device and a control device via telemetry using randomized data

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5434948A (en) 1989-06-15 1995-07-18 British Telecommunications Public Limited Company Polyphonic coding
NL9100173A (en) 1991-02-01 1992-09-01 Philips Nv SUBBAND CODING DEVICE, AND A TRANSMITTER EQUIPPED WITH THE CODING DEVICE.
SE9700772D0 (en) 1997-03-03 1997-03-03 Ericsson Telefon Ab L M A high resolution post processing method for a speech decoder
ES2280736T3 (en) 2002-04-22 2007-09-16 Koninklijke Philips Electronics N.V. SYNTHETIZATION OF SIGNAL.

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0559383A1 (en) * 1992-03-02 1993-09-08 AT&T Corp. A method and apparatus for coding audio signals based on perceptual model
WO2003009206A1 (en) * 2001-07-19 2003-01-30 Sungwoo Kim The system and operational method of mobile telecommunication device for electronic cash
WO2003009208A1 (en) * 2001-07-20 2003-01-30 Medical Research Group Method and apparatus for communicating between an ambulatory medical device and a control device via telemetry using randomized data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DATABASE INSPEC [online] Database accession no. 7268205 *
FALLER C. ET AL: "Efficient representation of spatial audio using perceptualparametrization", IEEE WORKSHOP APPLICATIONS OF SIGNAL PROCESSING TO AUDIO AND ACOUSTICS, 21 October 2001 (2001-10-21) - 24 October 2001 (2001-10-24), XP002245584 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008016098A1 (en) * 2006-08-04 2008-02-07 Panasonic Corporation Stereo audio encoding device, stereo audio decoding device, and method thereof
WO2010042024A1 (en) * 2008-10-10 2010-04-15 Telefonaktiebolaget Lm Ericsson (Publ) Energy conservative multi-channel audio coding
US9330671B2 (en) 2008-10-10 2016-05-03 Telefonaktiebolaget L M Ericsson (Publ) Energy conservative multi-channel audio coding

Also Published As

Publication number Publication date
JP4323520B2 (en) 2009-09-02
EP1639580A1 (en) 2006-03-29
DK1639580T3 (en) 2014-01-13
PL1639580T3 (en) 2014-04-30
SE0400415L (en) 2005-06-20
JP2007527543A (en) 2007-09-27
ES2439693T3 (en) 2014-01-24
PT1639580E (en) 2013-11-19
SE0400415D0 (en) 2004-02-20
EP1639580B1 (en) 2013-10-23
EP2456236A1 (en) 2012-05-23
SE527713C2 (en) 2006-05-23

Similar Documents

Publication Publication Date Title
JP7193603B2 (en) Decoder system, decoding method and computer program
US7573912B2 (en) Near-transparent or transparent multi-channel encoder/decoder scheme
CA2527971C (en) Fidelity-optimised variable frame length encoding
EP2981956B1 (en) Audio processing system
KR101183857B1 (en) Method and apparatus to encode and decode multi-channel audio signals
US8249883B2 (en) Channel extension coding for multi-channel source
US7809579B2 (en) Fidelity-optimized variable frame length encoding
CN110223701B (en) Decoder and method for generating an audio output signal from a downmix signal
WO2006091150A1 (en) Improved filter smoothing in multi-channel audio encoding and/or decoding
US7725324B2 (en) Constrained filter encoding of polyphonic signals
CN118366463A (en) Method and apparatus for processing down-mix of multi-channel digital audio signal, encoding method and medium
EP1639580B1 (en) Coding of multi-channel signals
AU2007237227B2 (en) Fidelity-optimised pre-echo suppressing encoding

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2006518597

Country of ref document: JP

Ref document number: 2004809080

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 5269/DELNP/2005

Country of ref document: IN

WWP Wipo information: published in national office

Ref document number: 2004809080

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Ref document number: DE