| CPC G10L 19/02 (2013.01) [G10L 19/0017 (2013.01); G10L 19/20 (2013.01); G10L 19/22 (2013.01); H03M 7/40 (2013.01); H03M 7/4031 (2013.01)] | 15 Claims |

|
1. A method for coding spectral peak positions of an audio signal segment, the method comprising:
determining which one out of two lossless spectral peak position coding schemes to use for coding the spectral peak positions of the audio signal segment, wherein a first lossless spectral peak position coding scheme is suitable for periodic or semi-periodic spectral peak position distributions, and a second lossless spectral peak position coding scheme is suitable for sparse spectral peak position distributions; and wherein the determining is based on a maximum distance dmax between two spectral peaks in the audio signal segment and on comparing a number of bits consumed by the first lossless spectral peak position coding scheme and the second lossless spectral peak position coding scheme for coding the spectral peak positions;
selecting the second lossless spectral peak position coding scheme if the maximum distance dmax between two spectral peaks in the audio signal segment exceeds a threshold T;
selecting the lossless spectral peak position coding scheme of the first lossless spectral peak position coding scheme or the second lossless spectral peak position coding scheme that requires a least number of bits to code the spectral peak positions of the audio signal segment if the maximum distance dmax between two spectral peaks in the audio signal segment does not exceed the threshold T; and
indicating the selected lossless spectral peak position coding scheme to a decoder in association with the coded spectral peak positions.
|