Nova Patents
CA2002015C

Perceptual coding of audio signals

Abstract

A technique for the masking of quantizing noise in the coding of audio signals is adapted to include geometric interpolation between the thresholds for a tone masking noise and for noise masking a tone, in order to reduce use of bit-rate capability where it is not necessary for transparent or high quality. The technique is usable with the types of channel coding known as "noiseless" or Huffman coding and with variable radix packing. The stereophonic embodiment eliminates redundanciesin the sum and difference signals, so that the stereo coding uses significantly less than twice the bit rate of the comparable monaural signal. The technique can be used both in transmission of signals and in recording for reproduction, particularly recording and reproduction of music. Compatibility with the ISDN transmission rates known as 1B, 2B and 3B rates has been achieved.

Term

Term ended

Expired 1 November 2009, 16.9 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

23 claims: 7 independent, 16 dependent

  1. 1
    -21 Claims 1. A method of processing an ordered time sequence of audio signals partitioned into a set of ordered blocks, each said block having a discrete frequency spectrum comprising a first set of frequency coefficients, the method comprising, for each of said blocks, the steps of:(a) grouping said first set of frequency coefficients into at least one group, each group comprising at least one frequency coefficient;(b) generating at least one tonality index, each group being associated with a tonality index;(c) generating at least one noise masking threshold, each said at least one noise masking threshold being based upon at least a portion of said at least one tonality index;and (d) quantizing at least one frequency coefficient in said at least one group said quantizing based upon said at least one noise masking threshold.
  2. 2
    The method of claim 1 wherein said discrete frequency spectrum further comprises a second set of frequency coefficients, said first set of frequency coefficients in combination with said second set of frequency coefficients representing all frequencies present in each said block.
  3. 3
    The method of claim 1 wherein each said block is representable by a number of bits, said number of bits having a predetermined range, said quantizing is based on said number of bits.
  4. 4
    The method of claim 1 wherein each said group in said at least one group comprising more than one frequency coefficient comprises more than one contiguous frequency coefficient.
  5. 5
    The method of claim 1 wherein said ordered time sequence of audio signals represents a first channel and a second channel of a stereo signal, the method further comprising, for each of said blocks, the steps of:(a) generating a first power spectrum, said first power spectrum being representative of said first channel;(b) generating a second power spectrum, said second power spectrum being representative of said second channel;- 22 (c) adding said first power spectrum to said second power spectrum prior to said determining at least one noise masking threshold;and (d) applying each of said at least one noise masking threshold to said first channel and said second channel.
  6. 6
    The method of claim 5 wherein the first channel is L and the second channel is R.
  7. 7
    The method of claim S wherein the first channel is L+R and the second channel represents a difference between L and R.
  8. 8
    The method of claim 3 wherein said step of quantizing said at least one frequency coefficient in said at least one group comprises quantizing all frequency coefficients in said first set of frequency coefficients and wherein said method further comprising, for each block, the steps of:(a) generating an amount of bits needed to represent said first set of frequency coefficients in a quantized form;(b) comparing said amount of bits to said number of bits;(c) adjusting each said at least one noise masking threshold;and (d) repeating step (d) of claim 1 and steps (a) through (c) until said amount of bits is within said predetermined range of said number of bits.
  9. 9
    The method of claim 1 further comprising the step of coding said quantized set of groups with a noiseless coding method.
  10. 10
    The method of claim 9 wherein the noiseless coding method uses Huffman codes.
  11. 11
    A storage medium manufactured in accordance with a process comprising the steps of:(a) processing an ordered time sequence of audio signals partitioned into a set of ordered blocks, each said block having a discrete frequency spectrum comprising a first set of frequency coefficients;and (b) for each of said blocks: (1) grouping said first set of frequency coefficients into at least one group, each group comprising at least one frequency coefficient;(2) generating at least one tonality index, each group being associated with a tonality index;(3) generating at least one noise masking threshold, each said at least - 23 one noise masking threshold being based upon at least one tonality index;(4) quantizing at least one frequency coefficient in said at least one group resulting in a set of quantizing frequency coefficients, said quantizing based upon said at least one noise masking threshold;(5) applying a recording signal to said storage medium, said recording signal comprising signals representing said set of quantized frequency coefficients;and (6) recording said recording signal onto said storage medium.
  12. 12
    The method of claim 11 wherein said storage medium is a compact disc.
  13. 13
    The method of claim 11 wherein said storage medium is a digital storage means.
  14. 14
    A method of transmitting audio signals, the method comprising the steps of:(a) processing an ordered time sequence of audio signals partitioned into a set of ordered blocks, each said block having a discrete frequency spectrum comprising a first set of frequency coefficients;and (b) for each of said blocks: (1) grouping said first set of frequency coefficients into at least one group, each group comprising at least one frequency coefficient;(2) generating at least one tonality index, each group being associated with a tonality index;(3) generating at least one noise masking threshold, each said at least one noise masking threshold being based upon at least one tonality index;(4) quantizing at least one frequency coefficient in said at least one group resulting in a set of quantized frequency coefficients, said quantizing based upon said at least one noise masking threshold;(5) generating a transmission signal comprising signals representing said set of quantized frequency coefficients;and (6) applying said transmission signal to a transmission medium. - 24
  15. 15
    The method of claim 14 wherein said transmission medium is a broadcast transmission medium.
  16. 16
    The method of claim 14 wherein said transmission medium is an electrical conducting medium.
  17. 17
    The method of claim 14 wherein said transmission medium is an optical transmission medium.
  18. 18
    A method for generating signals representing an ordered time sequence of audio signals partitioned into a set of ordered blocks, each said block having a discrete frequency spectrum comprising a first set of frequency coefficients, the method comprising, for each of said blocks, the steps of:(a) grouping said first set of frequency coefficients into a plurality of groups, each group in said plurality of groups representing a critical band of frequencies and comprising at least one frequency coefficient;(b) generating a tonality index for each said group in said plurality of groups of frequency coefficients;(c) generating a noise masking threshold for each said group in said plurality of groups of frequency coefficients, each said noise masking thresholdbeing based upon said tonality index for the respective group;and (d) quantizing each frequency coefficient in said at least one frequency coefficient in each said group, said quantizing being based upon said noise masking threshold associated with said group and a predetermined number of bits.
  19. 19
    A method for generating signals representing an ordered time sequence of audio signals partitioned into a set of ordered blocks, each said block having a discrete frequency spectrum comprising a first set of frequency coefficients, the method comprising, for each of said blocks, the steps of:(a) grouping said first set of frequency coefficients into at least one group, each group comprising at least one frequency coefficient;(b) generating at least one noise masking threshold;(c) quantizing at least one frequency coefficient in said at least one group resulting in at least one group of at least one quantized frequency coefficient, said quantizing based upon said at least one noise masking threshold;and - 25 (d) coding said at least one group of at least one quantized frequency coefficient using an entropy code such that the average number of bits required to represent said at least one group of at least one quantized frequency coefficient is less than the average number of bits required to represent said at least one group of at least one quantized frequency coefficient with a non-entropy coder.
  20. 20
    The method of claim 19 wherein said entropy code uses at least one Huffman codebook.
  21. 21
    The method of claim 20 wherein said entropy code uses a plurality of Huffman codebooks the method further comprises selecting a subset of Huffman codebooks from said plurality of Huffman codebooks, said subset of Huffman codebooks being selected based on said at least one group of at least one quantized frequency coefficient.
  22. 22
    A method of processing an audio signal comprising:(a) partitioning said audio signal into a plurality of channel signals, each said channel signal existing during a set of time intervals;(b) for each said time interval, forming a set of power spectra signals for each said plurality of channel signals;(c) combining said sets of power spectra signals to determine at least one noise masking threshold;and (d) applying at least one of said at least one noise masking threshold to a set of said plurality of channel signals, said set comprising at least one channel signal;
  23. 23
    The method of claim 22 wherein each of said sets of power spectra signals is represented by a number of bits, N, said method further comprising, for each of said sets of power spectra signals, the steps of:(a) determining a first number, N1 of bits needed to represent said set of power spectra signals in a quantized form;(b) comparing N1 to said number of bits;(c) adjusting each said at least one noise masking threshold;and (d) applying at least one of said at least one noise masking threshold to a combination of said plurality of channel signals, said combination comprising at least one channel signal of said plurality of channel signals;and - 26 (e) repeating steps (a) through (d) until N1 is within a predetermined range of said number of bits.