Abstract:
An audio signal, having first and second regions of frequency spectrum, is coded. Spectral peaks in the first region are encoded by a first coding method. For a segment of the audio signal, a relation between energy of bands in the first and second regions is determined. A relation between the energy of the band in the second region and energy of neighboring bands in the second region is determined. A determination is made whether available bits are sufficient for encoding at least one non-peak segment of the first region and the band in the second region. Responsive to first and second relations fulfilling a respective predetermined criterion and a sufficient number of bits, encoding the band in the second region using a second coding method different from the first coding method, and otherwise, subjecting the band in the second region to BandWidth Extension (BWE) or noise fill.
Abstract:
An audio signal, having first and second regions of frequency spectrum, is coded. Spectral peaks in the first region are encoded by a first coding method. For a segment of the audio signal, a relation between energy of bands in the first and second regions is determined. A relation between the energy of the band in the second region and energy of neighboring bands in the second region is determined. A determination is made whether available bits are sufficient for encoding at least one non-peak segment of the first region and the band in the second region. Responsive to first and second relations fulfilling a respective predetermined criterion and a sufficient number of bits, encoding the band in the second region using a second coding method different from the first coding method, and otherwise, subjecting the band in the second region to BandWidth Extension BWE or noise fill.
Abstract:
The invention relates to a codec and a discriminator and methods therein for audio signal discrimination and coding. Embodiments of a method performed by an encoder comprises, for a segment of the audio signal: identifying a set of spectral peaks; determining a mean distance S between peaks in the set; and determining a ratio, PNR, between a peak envelope and a noise floor envelope. The method further comprises selecting a coding mode, out of a plurality of coding modes, based at least on the mean distance S and the ratio PNR; and applying the selected coding mode for coding of the segment of the audio signal.
Abstract:
A frame error concealment method based on frames including transform coefficient vectors including the following steps: It tracks (S11) sign changes between corresponding transform coefficients of predetermined sub-vectors of consecutive good stationary frames. It accumulates (S12) the number of sign changes in corresponding sub-vectors of a predetermined number of consecutive good stationary frames. It reconstructs (S13) an erroneous frame with the latest good stationary frame, but with reversed signs of transform coefficients in sub-vectors having an accumulated number of sign changes that exceeds a predetermined threshold.
Abstract:
The invention relates to an encoder and a decoder and methods therein for supporting split gain shape vector encoding and decoding. The method performed by an encoder, where the encoding of each vector segment is subjected to a constraint related to a maximum number of bits, BMAX, allowed for encoding a vector segment. The method comprises, determining an initial number, Np—init, of segments for a target vector x; and further determining an average number of bits per segment, BAVG, based on a vector bit budget and Np—init. The method further comprises determining a final number of segments to be used, for the vector x, in the gain shape vector encoding, based on energies of the Np—init segments and a difference between BMAX and BAVG. The performing of the method enables an efficient allocation of the bits of the bit budget over the target vector.
Abstract:
In a quantization method for quantizing a received excitation signal in a communication system performing the steps of re-shuffling S301 the elements of the received excitation signal to provide a re-shuffled excitation signal; coding S302 the re-shuffled excitation signal with a variable bit-rate algorithm to provide a coded excitation signal; and reassigning S303 codewords of the coded excitation signal if a number of used bits exceeds a predetermined fixed bit rate requirement to provide a quantized excitation signal.
Abstract:
Methods and arrangements in a codec for supporting bandwidth extension, BWE, of an harmonic audio signal. The method in the decoder part of the codec comprises receiving a plurality of gain values associated with a frequency band b and a number of adjacent frequency bands of band b. The method further comprises determining whether a reconstructed corresponding frequency band b′ comprises a spectral peak. When the band b′ comprises a spectral peak, a gain value associated with the band b′ is set to a first value based on the received plurality of gain values; and otherwise the gain value is set to a second value based on the received plurality of gain values. The suggested technology enables bringing gain values into agreement with peak positions in a bandwidth extended frequency region.
Abstract:
Vector Quantizer and method therein for efficient vector quantization, e.g. in a transform audio codec. The method comprises comparing an input target vector s with a plurality of centroids, each centroid representing a respective class of codevectors in a codebook. Further, a starting point for a search related to the input target vector in the codebook is determined, based on the result of the comparison. The codevectors in the codebook are sorted according to a distortion measure reflecting the distance between each codevector and the centroids of the classes. The Vector Quantizer and method enables that the class of codevectors comprising the most probable candidate codevectors in regard of the input vector. s may be searched first.
Abstract:
Audio decoder and method therein for supporting bandwidth extension (BWE) of a received signal. The method involves receiving a first signal representing the lower frequency spectrum of a segment of an original audio signal; receiving a second signal, being a BWE signal, representing a higher frequency spectrum of the segment of the original audio signal. The method further comprises determining a degree of voicing in the lower frequency spectrum of the audio signal, based on the received first signal; and selecting a spectral tilt adaptation filter, out of at least two spectral tilt adaptation filters having different spectral attenuation characteristics, based on the determined degree of voicing. The selected spectral tilt adaptation filter is then applied on the received second signal. Thus, a differentiation of spectral tilt in the higher frequency spectrum of a reconstructed audio signal, based on lower frequency spectrum characteristics of the original audio signal is enabled.
Abstract:
In a quantization method for quantizing a received excitation signal in a communication system performing the steps of re-shuffling S301 the elements of the received excitation signal to provide a re-shuffled excitation signal; coding S302 the re-shuffled excitation signal with a variable bit-rate algorithm to provide a coded excitation signal; and reassigning S303 codewords of the coded excitation signal if a number of used bits exceeds a predetermined fixed bit rate requirement to provide a quantized excitation signal.