Audio coding method and apparatus
First Claim
1. A method for encoding an audio signal, wherein a frequency spectrum of the audio signal is divided into at least a first and a second region, wherein at least the second region comprises a number of bands, the method comprising:
- encoding spectral peak segments in the first region using a first coding method;
encoding at least one non-peak segment in the first region using a second coding method different from the first coding method;
determining a first relation between an energy of a band in the second region and energies of the spectral peaks in the first region;
determining a second relation between the energy of the band in the second region and an average energy of the second region;
responsive to encoding the spectral peak segments and the at least one non-peak segment in the first region, determining an available number of bits out of a bit budget for encoding the audio signal is sufficient for encoding the band in the second region;
responsive to determining the first and second relations fulfil a predetermined criterion and determining the number of bits out of the bit budget for encoding the audio signal is sufficient, encoding the band in the second region using the second coding method.
1 Assignment
0 Petitions
Accused Products
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.
-
Citations
34 Claims
-
1. A method for encoding an audio signal, wherein a frequency spectrum of the audio signal is divided into at least a first and a second region, wherein at least the second region comprises a number of bands, the method comprising:
-
encoding spectral peak segments in the first region using a first coding method; encoding at least one non-peak segment in the first region using a second coding method different from the first coding method; determining a first relation between an energy of a band in the second region and energies of the spectral peaks in the first region; determining a second relation between the energy of the band in the second region and an average energy of the second region; responsive to encoding the spectral peak segments and the at least one non-peak segment in the first region, determining an available number of bits out of a bit budget for encoding the audio signal is sufficient for encoding the band in the second region; responsive to determining the first and second relations fulfil a predetermined criterion and determining the number of bits out of the bit budget for encoding the audio signal is sufficient, encoding the band in the second region using the second coding method. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. An apparatus for encoding an audio signal, wherein a frequency spectrum of the audio signal is divided into at least a first and a second region, wherein at least the second region comprises a number of bands, and the apparatus being further configured to perform operations comprising:
-
encoding spectral peak segments in the first region using a first coding method; encoding at least one non-peak segment in the first region using a second coding method different from the first coding method; determining a first relation between an energy of a band in the second region and energies of the spectral peaks in the first region; determining a second relation between the energy of the band in the second region and an average energy of the second region; responsive to encoding the spectral peak segments and the at least one non-peak segment in the first region, determining an available number of bits out of a bit budget for encoding the audio signal is sufficient for encoding the band in the second region; responsive to determining the first and second relations fulfil a predetermined criterion and determining the number of bits out of the bit budget for encoding the audio signal is sufficient, encoding the band in the second region using the second coding method. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
-
34. A computer program product comprising a non-transitory computer readable storage medium storing instructions which, when executed by at least one processor of an apparatus, causes the processor to perform operations comprising:
-
encoding spectral peak segments in the first region using a first coding method; encoding at least one non-peak segment in the first region using a second coding method different from the first coding method; determining a first relation between an energy of a band in the second region and energies of the spectral peaks in the first region; determining a second relation between the energy of the band in the second region and an average energy of the second region; responsive to encoding the spectral peak segments and the at least one non-peak segment in the first region, determining an available number of bits out of a bit budget for encoding the audio signal is sufficient for encoding the band in the second region; responsive to determining the first and second relations fulfil a predetermined criterion and determining the number of bits out of the bit budget for encoding the audio signal is sufficient, encoding the band in the second region using the second coding method.
-
Specification