Claims
- 1. A system for preventing artifacts, comprising:a modeler configured to generate masking thresholds that correspond to filtered data, wherein said modeler and said bit allocator form part of an encoder device for encoding source audio data into encoded audio data, wherein said encoder device sequentially processes frames of said source audio data, said frames comprising data samples, and wherein a filter bank receives said frames, and responsively generates sub-bands for each of said frames; and a bit allocator that coverts said filtered data into allocated data by selectively assigning digital bits to represent sub-bands in said filtered data, wherein said artifacts are sound artifacts created by discontinuities between quantities of allocated sub-bands in said frames, and wherein said bit allocator performs a sub-band forcing strategy to eliminate said discontinuities.
- 2. The system of claim 1 wherein said source audio data is received in a linear pulse-code modulation format and is encoded by said encoder device to generate encoded audio data in an MPEG format.
- 3. The system of claim 1 wherein said sub-bands include thirty-two frequency sub-bands.
- 4. The system of claim 1 wherein said modeler is a psycho-acoustic modeler that determines said masking thresholds for said source audio data based on properties of human hearing.
- 5. The system of claim 4 wherein said masking thresholds represent signal energy levels below which said filtered data is not processed by said bit allocator.
- 6. The system of claim 4 wherein said psycho-acoustic modeler provides signal-to masking ratios to said bit allocator, said signal-to masking thresholds being equal to signal energy values divided by said masking thresholds.
- 7. The system of claim 6 wherein said bit allocator assigns a finite number of available allocation bits to said sub-bands.
- 8. The system of claim 7 wherein said available allocation bits equal said data samples multiplied by a sample rate.
- 9. The system of claim 7 wherein said bit allocator assigns said available allocation bits to said allocated sub-bands by repeatedlylocating a maximum signal-to-masking ratio sub-band, assigning one bit to said maximum signal-to-masking ratio sub-band, and subtracting six decibels from said maximum signal-to-masking ratio sub-band, until all said available allocation bits have been assigned to said sub-bands.
- 10. The system of claim 1 wherein said sub-band forcing strategy maintains said quantities of said allocated sub-bands between said frames, unless said bit allocator detects a significant event.
- 11. The system of claim 10 wherein said bit allocator detects said significant event whenever a difference of said quantities of said allocated sub-bands between said frames exceeds a selectable threshold value.
- 12. The system of claim 10 wherein said sub-band forcing strategy includes a prebit allocation procedure whenever said bit allocator fails to detect said significant event.
- 13. The system of claim 12 wherein said bit allocator performs said prebit allocation procedure by assigning one bit from said available allocation bits to each of said allocated sub-bands from an immediately preceding frame to form an initial sub-band set for a current frame.
- 14. The system of claim 13 wherein said bit allocator performs said prebit allocation procedure for said current frame and then repeatedlylocates a maximum signal-to-masking ratio sub-band for said initial sub-band set, assigns one bit to said maximum signal-to-masking ratio sub-band, and subtracts six decibels from said maximum signal-to-masking ratio sub-band, until all said available allocation bits have been assigned to said sub-bands.
- 15. The system of claim 1 wherein said bit allocator generates allocated data to a quantizer, said quantizer responsively providing quantized audio data to a bitstream packer that then generates said encoded audio data.
- 16. A method for preventing artifacts, comprising the steps of:generating masking thresholds with a modeler, said masking thresholds corresponding to filtered data, wherein said modeler and said bit allocator form part of an encoder device for encoding source audio data into encoded audio data, wherein said encoder device sequentially processes frames of said source audio data, said frames comprising data samples, and wherein a filter bank receives said frames, and responsively generates sub-bands for each of said frames; and converting said filtered data with a bit allocator to produce allocated data by selectively assigning digital bits to represent sub-bands in said filtered data, wherein said artifacts are sound artifacts created by discontinuities between quantities of allocated sub-bands in said frames, and wherein said bit allocator performs a sub-band forcing strategy to eliminate said discontinuities.
- 17. The method of claim 16 wherein said source audio data is received in a linear pulse-code modulation format and is encoded by said encoder device to generate encoded audio data in an MPEG format.
- 18. The method of claim 16 wherein said sub-bands include thirty-two frequency sub-bands.
- 19. The method of claim 16 wherein said modeler is a psycho-acoustic modeler that determines said masking thresholds for said source audio data based on properties of human hearing.
- 20. The method of claim 19 wherein said masking thresholds represent signal energy levels below which said filtered data is not processed by said bit allocator.
- 21. The method of claim 19 wherein said psycho-acoustic modeler provides signal-to masking ratios to said bit allocator, said signal-to masking thresholds being equal to signal energy values divided by said masking thresholds.
- 22. The method of claim 21 wherein said bit allocator assigns a finite number of available allocation bits to said sub-bands.
- 23. The method of claim 22 wherein said available allocation bits equal said data samples multiplied by a sample rate.
- 24. The method of claim 22 wherein said bit allocator assigns said available allocation bits to said allocated sub-bands by repeatedlylocating a maximum signal-to-masking ratio sub-band, assigning one bit to said maximum signal-to-masking ratio sub-band, and subtracting six decibels from said maximum signal-to-masking ratio sub-band, until all said available allocation bits have been assigned to said sub-bands.
- 25. The method of claim 16 wherein said sub-band forcing strategy maintains said quantities of said allocated sub-bands between said frames, unless said bit allocator detects a significant event.
- 26. The method of claim 25 wherein said bit allocator detects said significant event whenever a difference of said quantities of said allocated sub-bands between said frames exceeds a selectable threshold value.
- 27. The method of claim 25 wherein said sub-band forcing strategy includes a prebit allocation procedure whenever said bit allocator fails to detect said significant event.
- 28. The method of claim 27 wherein said bit allocator performs said prebit allocation procedure by assigning one bit from said available allocation bits to each of said allocated sub-bands from an immediately preceding frame to form an initial sub-band set for a current frame.
- 29. The method of claim 28 wherein said bit allocator performs said prebit allocation procedure for said current frame and then repeatedlylocates a maximum signal-to-masking ratio sub-band for said initial sub-band set, assigns one bit to said maximum signal-to-masking ratio sub-band, and subtracts six decibels from said maximum signal-to-masking ratio sub-band, until all said available allocation bits have been assigned to said sub-bands.
- 30. The method of claim 16 wherein said bit allocator generates allocated data to a quantizer, said quantizer responsively providing quantized audio data to a bitstream packer that then generates said encoded audio data.
- 31. A system for preventing artifacts, comprising:means for generating masking thresholds corresponding to filtered data; and means for converting said filtered data to produce allocated data by selectively assigning digital bits to represent sub-bands in said filtered data.
- 32. A computer readable medium comprising program instructions for preventing artifacts by performing the steps of: generating masking thresholds with a modeler, said masking thresholds corresponding to filtered data, wherein said modeler and said bit allocator form part of an encoder device for encoding source audio data into encoded audio data, wherein said encoder device sequentially processes frames of said source audio data, said frames comprising data samples, and wherein a filter bank receives said frames, and responsively generates sub-bands for each of said frames; andconverting said filtered data with a bit allocator to produce allocated data by selectively assigning digital bits to represent sub-bands in said filtered data, wherein said artifacts are sound artifacts created by discontinuities between quantities of allocated sub-bands in said frames, and wherein said bit allocator performs a sub-band forcing strategy to eliminate said discontinuities.
- 33. The computer-readable medium of claim 32 wherein said modeler and said bit allocator are controlled by an audio manager program.
- 34. The computer-readable medium of claim 32 wherein said audio manager program is executed by a processor device.
CROSS-REFERENCE TO RELATED APPLICATIONS
The present application is related to co-pending U.S. patent application Ser. No. 09/128,924, entitled “System And Method For Implementing A Refined Psycho-Acoustic Modeler,” filed on Aug. 4, 1998, and to co-pending U.S. patent application Ser. No. 09/150,117, entitled “System And Method For Efficiently Implementing A Masking Function In A Psycho-Acoustic Modeler,” filed on Sep. 9, 1998, and also to co-pending U.S. patent application Ser. No. 09/221394, entitled “System And Method For Effectively Implementing Fixed Masking Thresholds In An Audio Decoder Device,” filed on Dec. 28, 1998, which are hereby incorporated by reference. The foregoing related applications are commonly assigned.
US Referenced Citations (12)
Foreign Referenced Citations (2)
Number |
Date |
Country |
0446031A2 |
Sep 1991 |
EP |
0805564A |
Jul 1992 |
EP |