Claims
- 1. A signal compression system for processing a stream of fixed length digital sample signals comprising,
- linear digital compression filter means for compression filtering the digital sample signals and generating a stream of equal length compression filtered signals.
- means for truncating digital sample signals supplied to said compression filter means,
- variable word length encoding means for encoding the compression filtered stream and generating a stream of encoded signals,
- buffer means into which the encoded signal stream is written and from which bits are removed,
- wherein the improvement comprises:
- means for obtaining a measure of fullness of said buffer means, and
- means for controlling the truncating means in response to said measure of fullness to substantially prevent overflow of said buffer means, truncation being increased and decreased with increased and decreased measures of fullness, respectively.
- 2. A signal compression system as defined in claim 1 wherein said truncating means is operable to truncate digital sample signals only when the fullness of said buffer exceeds a predetermined level.
- 3. A signal compression system as defined in claim 2 wherein said truncating means is operable to truncate digital sample signals only when said buffer is over substantially one-half full.
- 4. A signal compression system as defined in claim 1 wherein said encoding means has first and second operating modes, in said first operating mode said encoding means implementing a truncated variable word length code, in said second operating mode, comprising an out of range (OOR) operating mode, said encoding means producing an OOR code word together with the digital compression-filtered signal supplied thereto,
- means for controlling the encoding means in response to said measure of fullness of said buffer means for operation in the OOR operating mode when the contents of the buffer means decreases below a predetermined fullness level to substantially prevent underflow of said buffer means.
- 5. A signal compression system as defined in claim 1 including means for obtaining a measure of variance of the compression filtered signals, and
- wherein said means for controlling the truncating means is responsive both to said measure of variance and measure of fullness to substantially prevent overflow of said buffer means.
- 6. A signal compression system as defined in claim 5 wherein said means for controlling the truncation means includes,
- means for weighting the measure of variance and measure of fullness, and
- means for summing the weighted values to provide a measure of truncation to be employed.
- 7. A signal compression system as defined in claim 1 including means for obtaining a measure of the change in fullness of said buffer, and
- wherein said means for controlling the truncating means is responsive both to said measure of fullness and measure of change in fullness to substantially prevent overflow of said buffer means.
- 8. A signal compression system as defined in claim 7 wherein said means for controlling the truncating means also is responsive to the previous level of truncation.
- 9. A signal compression system as defined in claim 7 wherein the response of said truncation controlling means to said measure of change of buffer fullness increases with decreasing buffer fullness.
- 10. A signal compression system as defined in claim 7 wherein the response of said truncation controlling means to said measure of fullness decreases with decreasing buffer fullness and
- the response of said truncation controlling means to said measure of change of buffer fullness increases with decreasing buffer fullness.
- 11. A signal compression system as defined in claim 7 wherein said means for controlling the truncating means is responsive to said measure of change of fullness only with a decrease in buffer fullness.
- 12. A signal compression system as defined in claim 11 wherein the response of said trucation controlling means to said measure of change of buffer fullness increases with decreasing buffer fullness.
- 13. A signal compression system as defined in claim 11 wherein the response of said truncation controlling means to said measure of fullness decreases with decreasing buffer fullness, and
- the response of said truncation controlling means to said measure of change of buffer fullness increases with decreasing buffere fullness.
- 14. A signal compression system as defined in claim 13 wherein said means for controlling the truncating means also is responsive to the previous level of truncation.
- 15. In a signal compression system for preparing a digital sample signal stream of equal word length sample signals for transmission, or the like,
- linear digital compression filter means for compression filtering the digital sample signal stream and generating a stream of equal word length compression-filtered signals,
- digital encoding means for encoding the compression-filtered signal stream by use of a variable word length code,
- buffer means into which the encoder signal stream is written and from which bits are removed, and
- means for controlling the average bit rate from the encoding means to substantially prevent overflow of said buffer means, said controlling means including means for controlling truncation of the digital sample signal in response to a measure of fullness of said buffer means.
- 16. In a signal compression system as defined in claim 15 wherein bits are removed from said buffer means in blocks which include a plurality of encoded words, said means for controlling truncation being operable to change truncation between said blocks.
- 17. In a signal compression system as defined in claim 16 wherein said means for controlling truncation also is responsive to a measure of change in fullness of said buffer means.
- 18. In a signal compression system as defined in claim 17 wherein said means for controlling truncation in response to a measure of change in fullness of said buffer means is responsive to changes produced by a decrease in buffer fullness and is non-responsive to changes produced by an increase in buffer fullness.
- 19. In a signal compression system as defined in claim 18 wherein said means for controlling truncation also is dependent upon the truncation level employed when encoding the preceding block of signals.
- 20. In a signal compression system as defined in claim 15 wherein truncation is increased and decreased in response to increases and decreases, respectively, in said measure of fullness.
- 21. In a signal compression system as defined in claim 20 wherein said means for controlling truncation also is responsive to a measure of change in fullness of said buffer means, decrease in truncation being accelerated in response to said measure of change in fullness with a decrease in fullness of said buffere means.
- 22. In a signal compression system as defined in claim 20 wherein said means for controlling truncation also is responsive to a measure of variance of the compression-filtered signals from said compression filter means, truncation being increased and decreased in response to increases and decreases, respectively, in said measure of variance.
- 23. In a signal compression system as defined in claim 20 including means for obtaining a measure of variance of the compression filtered signals, and
- wherein said means for controlling truncation also is responsive to said measure of variance, decrease in truncation being accelerated in response to a decrease in said measure of variance.
- 24. In a signal compression system as defined in claim 20 including means for obtaining a measure of variance of the compression filtered signals, and
- wherein said means for controlling trucation also is responsive to said measure of variance, decrease and increase in truncatin being accelerated in response to a decrease and increase, respectively, in said measure of variance.
- 25. In a signal compression system as defined in claim 24 wherein the decrease in truncation accelerates at a faster rate than the increase in truncation in response to substantially equal decreases and increases, respectively, in variance of the compression filtered signals.
- 26. In a signal compression system as defined in claim 15 wherein said digital encoding means has first and second operating modes, in said first operating mode said encoding means implementing a truncated variable word length code, in said second operating mode, comprising an out of range (OOR) operating mode, said encoding means producing an OOR code word together with the digital compression-filtered signal supplied thereto, and
- means for controlling the encoder means for operation in said OOR operating mode in response to said measure of fullness of said buffer means when the contents of the buffer means decreases below a predetermined fullness level to substantially prevent underflow of said buffer means.
- 27. In a signal compression method for preparing a digital sample signal stream of equal word length sample signals for transmission at a substantially constant bit rate, which method includes linear digital compression filtering said sample signal stream for generating a stream of compression-filtered signals, digital encoding the compression-filtered signals to generate a stream of variable word length encoded compression-filtered signals, passing the encoded signal stream to a transmission channel through buffer means, the improvement including,
- truncating the sample signals before compression filtering thereof in an amount dependent upon a measure of fullness of said buffer means to substantially avoid overflow of said buffer means, truncation being increased and decreased in response to increased and decreased buffer fullness, respectively.
- 28. In a signal compression method as defined in claim 27 including accelerating a decrease in truncation in response to a measure of change in fullness of said buffer means with a decrease in buffer fullness.
- 29. In a signal compression method as defined in claim 28 wherein truncation is unaffected in response to the measure of change in fullness of said buffer means with an increase in buffer fullness.
- 30. In a signal compression method as defined in claim 28 including employing the previous truncation level in determining the level of truncation to be used.
- 31. In a signal compression method as defined in claim 30 including dividing said sample signal stream into blocks of signals, which include N.sub.b sample signals per block, determining the level of truncation, T, in accordance with the following equation. ##EQU25## where: CINT is a rounding function,
- F is fullness of the buffer means, in bits,
- B is the size of the buffer means, in bits,
- N.sub.bins is the number of bins into which the buffer means is divided,
- T.sub.1 is the previous truncation level,
- K =O, when buffer fullness increases,
- K =C.DELTA.F/N.sub.b, when buffer fullness decreases, where:
- C is a constant, and
- .DELTA.F is the change in buffer fullness between blocks of signals.
- 32. In a signal compression method as defined in claim 27 including accelerating decrease in truncation in response to a measure of variance of the compression-filtered signals with a decrease in said measure of variance.
- 33. In a signal compression method as defined in claim 27 including accelerating decrease and increase in truncation in response to a measure of variance of the compression-filtered signals with a decrease and increase, respectively, in said measure of variance.
- 34. In a signal compression method as defined in claim 33 wherein the decrease in truncation is accelerated at a faster rate than the increase in truncation in response to substantially equal decreases and increases, respectively, in variance of the compression-filtered signals.
- 35. In a signal compression system, the combination including
- digital encoding means having first and second operating modes for use in encoding digital input signals from digital compression filter means,
- in the first operating mode, said digital encoding means implementing a trucated variable length code whereby those input signals which are within a predetermined signal range are encoded using a variable word length code, and those which are outside said predetermined signal range are labeled with an out of range (OOR) code word,
- in the second operating mode, said digital encoding means labeling all input signals which are both inside and outside said predetermined signal range with the (OOR) code word, the average output bit rate of said digital encoding means being greater in the second operating mode than in the first operating mode, and
- mode control means for selecting the operating mode of said digital encoding means.
- 36. In a signal compression system as defined in claim 35 including
- buffer memory means into which the output from said digital encoding means is written,
- means for reading from said buffer memory means at a substantially constant bit rate,
- said mode control means being responsive to a measure of the fullness of the buffer memory means for controlling said encoding means to avoid underflow of said buffer memory means.
- 37. In a signal compression system as defined in claim 36 wherein said digital encoding means is switched to the second operating mode when the buffer memory means approaches underflow.
- 38. A signal compression system for processing a stream of fixed length digital sample signals comprising,
- linear digital compression filter means for compression filtering the digital sample signals and generating a stream of equal length compression filtered signals,
- variable word length encoding means operable in a first operating mode which implements a truncated variable word length code for encoding the compression filtered stream and generating a stream of variable word length encoded signals.
- buffer means into which the encoded signal stream is written and from which bits are removed.
- means for obtaining a measure of fullness of said buffer means.
- said encoding means being controllably operable for operation in a second, out of range (OOR), operating mode wherein an (OOR) code word together with the digital compression filtered signal supplied thereto is outputted from the encoding means when operated in said OOR operating mode.
- means for controlling said encoding means for operation in said (OOR) operating mode when the contents of said buffer means decreases below a predetermined level of fullness to substantially prevent underflow of said buffer means.
RELATED APPLICATION
This is a continuation-in-part application of U.S. patent application Ser. No. 89,487 filed Aug. 25, 1987 by Charles S. Weaver, now U.S. Pat. No. 4,802,222, issued 1-31-89 entitled Data Compression System and Method for Audio Signals.
US Referenced Citations (3)
Number |
Name |
Date |
Kind |
4413289 |
Weaver et al. |
Nov 1983 |
|
4449536 |
Weaver |
May 1984 |
|
4546342 |
Weaver et al. |
Oct 1985 |
|
Foreign Referenced Citations (1)
Number |
Date |
Country |
WO8502529 |
Oct 1985 |
WOX |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
89487 |
Aug 1987 |
|