Patent ID: 7725323

Claim:
A process for encoding audio data of an audio signal, including: when a temporal masking transient is not detected in a block of audio data of an audio signal, encoding, using at least one digital signal processor or dedicated hardware component, the block of audio data as a long block of audio data; and when a temporal masking transient is detected in the block of audio data, using the at least one digital signal processor or dedicated hardware component, selectively: generating a first encoding parameter based on a first group of samples in the block of audio data; generating a second encoding parameter based on a second group of samples in the block of audio data; generating a third encoding parameter based on a third group of samples in the block of audio data; selecting a maximum encoding parameter of the first, second and third encoding parameters; generating respective energy values for the first, second and third groups of samples; when the respective energy values of the three groups of samples are not in ascending order, selecting the maximum encoding parameter to encode the first, second and third groups of samples; when the respective energy values of the three groups of samples are in ascending order and a first error criteria is satisfied, selecting the maximum encoding parameter to encode the first, second and third groups of samples; and when the respective energy values are in an ascending order and the first error criteria is not satisfied, selecting the first encoding parameter to encode the first group of samples, the second encoding parameter to encode the second group of samples and the third encoding parameter to encode the third group of samples.