Claims
- 1. In a digital processor, apparatus for transmitting audio data comprising:
- a receiver coupled to receive audio data, the audio data being formed of a sequence of sound samples, each sound sample being one of a plurality of sound levels;
- a preprocessor coupled to receive the audio data from the receiver, the preprocessor further comprising:
- means for determining a working set of most frequent sound levels used in the sequence of sound samples of the audio data; and
- a sample substituter coupled to the means for determining a working set, and for each sound sample, the sample substituter substituting original sound levels with sound levels from the working set to form a working set level substituted version of the audio data; and
- compression means coupled to the sample substituter for receiving the working set level substituted version of the audio data, the compression means for compression encoding the audio data to form compressed data.
- 2. Apparatus as claimed in claim 1 wherein the preprocessor employs a histogram to determine the working set of most frequent sound levels.
- 3. Apparatus as claimed in claim 1 wherein the compression means employs one of Huffman encoding, run length encoding and delta encoding.
- 4. An apparatus as claimed in claim 1 further comprising:
- a low pass filter connected to receive input from the sample substituter and sending output to the compression means wherein the low pass filter acts upon the working set level substituted audio data to remove high frequency distortion.
- 5. In a digital processor, a method for compressing audio data for transmission thereof across a communication channel coupled to the digital processor, comprising the steps of:
- receiving audio data, the audio data being formed of a sequence of sound samples, each sound sample being one of a plurality of sound levels;
- determining a working set of most frequent sound levels used in the sound samples of the audio data;
- substituting original sound levels in the sound samples of the audio data with sound levels from the working set; and
- compression encoding the working set level substituted audio data.
- 6. A method as claimed in claim 5 wherein the step of determining a working set includes forming a histogram of the sound levels found in the sound samples of the audio data.
- 7. A method as claimed in claim 5 wherein the step of substituting includes, for each sound sample, substituting numerically closest sound levels in the working set for the original sound levels in the sound sample.
- 8. A method as claimed in claim 4 further comprising the step of:
- filtering the working set level substituted audio data using a low pass filter to remove high frequency distortion.
RELATED APPLICATIONS
This application claims the benefit of a co-pending United States Provisional Application Ser. No. 60/018,297 filed May 24, 1996.
US Referenced Citations (7)