Compression and expansion technique for digital audio data
First Claim
1. An apparatus for compressing and expanding a digital audio signal, comprising:
- predictor means for providing a first predicted signal of a first inputted digital audio signal;
first adder means coupled to receive both said first inputted digital audio signal and said first predicted signal for providing a first difference signal, said first difference signal representing a difference between said first inputted digital audio signal and said first predicted signal;
first adjustment means coupled to receive said first difference signal for applying a first gain value to said first difference signal in order to adjust the magnitude of said first difference signal and for normalizing said first difference signal, said first adjustment means providing an output being a first adjusted difference signal and having at least one look-up table;
quantizer means coupled to said first adjustment means for quantizing said first adjusted difference signal in order to provide a compressed signal which corresponds to a quantized compression of said first inputted digital signal;
adaptive means coupled to receive said compressed signal for evaluating said compressed signal to determine if the magnitude of said compressed signal is at a predetermined value, said adaptive means including an adaptation table, said adaptation table coupled to receive said compressed signal for providing a first pointer to said one look-up table, said one look-up table having gain value entries, each said gain value entry being a step multiple of a previous said gain value entry, said first pointer pointing to one of said gain value entries in said one look-up table for selecting said first gain value, said one look-up table coupled to said first adjustment means for supplying said first gain value;
inverse quantizer means coupled to receive said compressed signal for providing an inverse quantization operation to expand said compressed signal into a second adjusted difference signal, said second adjusted difference signal being substantially equivalent to said first adjusted difference signal;
second adjustment means coupled to receive said second adjusted difference signal for applying a second gain value and for denormalizing said second adjusted difference signal, said second gain value being a said gain value entry from said one look-up table indicated by said first pointer, said second adjustment means coupled to said adaptive means to receive said second gain value, said second gain value is a reciprocal of said first gain value, said second adjustment means output being a second difference signal substantially equivalent to said first difference signal;
second adder means coupled to receive both said second difference signal and said first predicted signal for providing a first outputted digital signal, said first outputted digital signal representing a sum of said second difference signal and said first predicted signal, said first outputted digital signal being substantially equivalent to said first inputted digital signal; and
whereinsaid predictor means coupled to receive said first outputted digital signal for generating a second predicted signal.
2 Assignments
0 Petitions
Accused Products
Abstract
A compression and expansion apparatus and method for compressing and expanding digital audio signals using adaptive differential pulse-coding-modulation for high fidelity music is described. The apparatus comprises a predictor, a first and second adder, a first and second adjuster, a quantizer, an inverse quantizer and a step-size adaptor. An input digital signal and predicted signal are added by the first adder, producing the difference between the two signals. The output of the first adder is coupled to the first adjuster which acts as a multiplier to alter the gain and normalize the signal. The signal is then quantized by the quantizer. The output of the quantizer is sent to both the inverse quantizer and the adaptor. The adaptor acts like an automatic-gain-control to control the gain provided by the first adjuster. After inverse quantization by the inverse quantizer, the signal is sent to the second adjuster to remove the effects of the first adjuster process, i.e. denormalize and remove gain. Then the signal is sent to the second adder to add back in the predicted signal removed by the first adder. Next the signal is outputted and sent to the predictor. The predictor uses the output signal to prepare another predicted signal for a subsequently inputted digital signal. Wherein, an inputted digital audio signal and a corresponding outputted digital audio signal are substantially similar.
81 Citations
21 Claims
-
1. An apparatus for compressing and expanding a digital audio signal, comprising:
-
predictor means for providing a first predicted signal of a first inputted digital audio signal; first adder means coupled to receive both said first inputted digital audio signal and said first predicted signal for providing a first difference signal, said first difference signal representing a difference between said first inputted digital audio signal and said first predicted signal; first adjustment means coupled to receive said first difference signal for applying a first gain value to said first difference signal in order to adjust the magnitude of said first difference signal and for normalizing said first difference signal, said first adjustment means providing an output being a first adjusted difference signal and having at least one look-up table; quantizer means coupled to said first adjustment means for quantizing said first adjusted difference signal in order to provide a compressed signal which corresponds to a quantized compression of said first inputted digital signal; adaptive means coupled to receive said compressed signal for evaluating said compressed signal to determine if the magnitude of said compressed signal is at a predetermined value, said adaptive means including an adaptation table, said adaptation table coupled to receive said compressed signal for providing a first pointer to said one look-up table, said one look-up table having gain value entries, each said gain value entry being a step multiple of a previous said gain value entry, said first pointer pointing to one of said gain value entries in said one look-up table for selecting said first gain value, said one look-up table coupled to said first adjustment means for supplying said first gain value; inverse quantizer means coupled to receive said compressed signal for providing an inverse quantization operation to expand said compressed signal into a second adjusted difference signal, said second adjusted difference signal being substantially equivalent to said first adjusted difference signal; second adjustment means coupled to receive said second adjusted difference signal for applying a second gain value and for denormalizing said second adjusted difference signal, said second gain value being a said gain value entry from said one look-up table indicated by said first pointer, said second adjustment means coupled to said adaptive means to receive said second gain value, said second gain value is a reciprocal of said first gain value, said second adjustment means output being a second difference signal substantially equivalent to said first difference signal; second adder means coupled to receive both said second difference signal and said first predicted signal for providing a first outputted digital signal, said first outputted digital signal representing a sum of said second difference signal and said first predicted signal, said first outputted digital signal being substantially equivalent to said first inputted digital signal; and
whereinsaid predictor means coupled to receive said first outputted digital signal for generating a second predicted signal. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus for compressing a digital audio signal to a compressed signal, storing said compressed signal in a memory, retrieving said compressed signal from said memory and expanding said compressed signal to reconstruct said digital audio signal for real-time playback, comprising:
-
input means coupled for receiving a first inputted analog audio signal; first conversion means for converting said first inputted analog audio signal into a first inputted digital audio signal; predictor means for providing a first predicted signal of said first inputted digital audio signal; first adder means coupled to receive both said first inputted digital audio signal and said first predicted signal for providing a first difference signal, said first difference signal representing a difference between said first inputted digital audio signal and said first predicted signal; first adjustment means coupled to receive said first difference signal for applying a first gain value to said first difference signal in order to adjust the amplitude of said first difference signal and for normalizing said first difference signal, said first adjustment means including shifter means for providing the appropriate amount of shifting for normalizing said first difference signal, said shifter means operating using a first normalizing value in order to normalize the amplitude of said first difference signal, said first adjustment means output being a first adjusted difference signal; quantizer means coupled to said first adjustment means for quantizing said first adjusted difference signal in order to provide a compressed signal which corresponds to a quantized compression of said first digital signal; memory means coupled to receive said compressed signal for storing said compressed signal; adaptive means coupled to receive said compressed signal for evaluating said compressed signal to determine if the amplitude of said compressed signal is at a predetermined value, said adaptive means including an adaptation table and at least one look-up table, said adaptation table coupled to receive said compressed signal for providing a first pointer to said one look-up table, said one look-up table having gain value entries, each said gain value entry being a step multiple of a previous said gain value entry, said first pointer pointing to one of said gain value entries in said one look-up table for selecting said first gain value, said one look-up table coupled to said first adjustment means for supplying said first gain value; retrieval means coupled to said memory means for retrieving said compressed signal; inverse quantizer means coupled to receive said compressed signal from said memory means after retrieval by said retrieval means for providing an inverse quantization operation to expand said compressed signal into a second adjusted difference signal, said second adjusted difference signal being substantially equivalent to said first adjusted difference signal, wherein said quantizer means and said inverse quantizer means operate in unison to provide a unitary compresser/expander; second adjustment means coupled to receive said second adjusted difference signal for applying a second gain value and for denormalizing said second adjusted difference signal, said second gain value being said one of said gain value entries from said one look-up table indicated by said first pointer, said second adjustment means coupled to said adaptive means to receive said second gain value, wherein said second gain value is a reciprocal of said first gain value, said second adjustment means including shifter means for providing an appropriate amount of shifting for denormalizing said second adjusted difference signal, said shifter means operating using a second normalizing value in order to denormalize the amplitude of said second adjusted difference signal, said second adjustment meas output being a second difference signal substantially equivalent to said first difference signal; second adder means coupled to receive both said second difference signal and said first predicted signal for providing a first outputted digital audio signal, said first outputted digital audio signal representing a sum of said second difference signal and said first predicted signal, said first outputted digital audio signal being substantially equivalent to said first inputted digital audio signal; said predictor means coupled to receive said first outputted digital audio signal for generating a second predicted signal; second conversion means coupled to receive said first outputted digital audio signal for converting said first outputted digital audio signal to a first outputted analog audio signal; and output means coupled to receive said first outputted analog signal for outputting said first outputted analog signal, wherein said first outputted analog audio signal is substantially similar to said first inputted analog audio signal. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. In a computer for processing a digital audio signal, a method for compressing said digital audio signal into a compressed signal, storing said compressed signal in a memory, retrieving said compressed signal from said memory and expanding said compressed signal to reconstructed said digital audio signal for real-time playback, comprising the steps of:
-
providing a first predicted signal; adding said first predicted signal to a first inputted digital audio signal to provide a first difference signal which is the difference between said first predicted signal and said first inputted digital audio signal; adjusting a first gain on said first difference signal to provide a first gain adjusted signal; normalizing said first gain adjusted signal to provide a first adjusted difference signal; quantizing said first adjusted difference signal in order to provide a compressed signal which corresponds to a quantized compression of said first inputted digital audio signal; storing said compressed signal in said memory for later retrieval; evaluating said compressed signal to determine if said compressed signal is at a predetermined value in order to automatically control an amount of gain to be applied to a second inputted digital audio signal; retrieving said compressed signal from said memory for future real-time playback; expanding said compressed signal in an inverse quantizer to provide an expanded signal which is substantially equivalent to said first adjusted difference signal; denormalizing said expanded signal to provide a second adjusted difference signal substantially equivalent to said first gain adjusted signal; applying a second gain to said second adjusted difference signal to provide a second gain adjusted signal substantially equivalent to said first difference signal; adding said second gain adjusted signal to said first predicted signal to provide a first outputted digital audio signal substantially equivalent to said first inputted digital audio signal, wherein said first outputted digital audio signal is outputted available for in time for real-time playback. - View Dependent Claims (17, 18, 19, 20, 21)
-
Specification