Patent ID: 7791508

Claim:
A method for compressing a sampled input signal having a plurality of signal samples with a dynamic range and a sample rate, comprising: setting a characteristic of a control function in memory; applying the control function to determine a sample rate control parameter and a compression control parameter in accordance with the characteristic of the control function; downsampling the signal samples in accordance with the sample rate control parameter to form downsampled signal samples having a reduced sample rate; upsampling the downsampled signal samples to form upsampled signal samples having the sample rate, wherein the upsampled signal samples are approximations of corresponding signal samples in the plurality of signal samples; subtracting the upsampled signal samples from the corresponding signal samples to form error samples; encoding the downsampled signal samples in accordance with the compression control parameter to form encoded downsampled signal samples; and encoding the error samples in accordance with the compression control parameter to form encoded error samples, wherein the encoded downsampled signal samples and the encoded error samples form a plurality of compressed samples.