Presentation is loading. Please wait.

Presentation is loading. Please wait.

Audio compression zAlgorithms. zStandards.. Coding gain zRatio of uncompressed size to compressed size. zSources: yLossless coding. yLossy perceptual.

Similar presentations


Presentation on theme: "Audio compression zAlgorithms. zStandards.. Coding gain zRatio of uncompressed size to compressed size. zSources: yLossless coding. yLossy perceptual."— Presentation transcript:

1 Audio compression zAlgorithms. zStandards.

2 Coding gain zRatio of uncompressed size to compressed size. zSources: yLossless coding. yLossy perceptual coding.

3 Companding zChange signal level to lift it above noise. * levelinvert *

4 Word length zCan use fewer bits to encode signal. yAdds 6 dB/bit distortion. zNon-uniform encoding: yStep size depends on magnitude. yHigher distortion at higher signal levels.

5 Subband coding zDivide signal into bands. yHigher correlation within a smaller band. ySome bands are less significant. ySimplifies masking. f1() f2() f3() coder

6 Transform coding zPerform transform at coder, inverse transform at decoder. zOperates on finite-sized blocks. yMust window data to avoid truncation artifacts. f

7 MPEG audio standards zLayer 1: yLossless compression of subbands + optional simple masking model zLayer 2: yMore advanced masking model. zLayer 3: yAdditional processing for lower bit rates.

8 MPEG audio rates zInput sampling rates: y32, 44.1, 48 kHz. zOutput bit rates: y23, 48, 64, 96, 112, 128, 192, 256, 384 kbits/sec. zOutput can be mono, dual-channel (bilingual, etc.), stereo.

9 Other standards zDolby Digital (AC-3): yUses modified discrete cosine transform. zATRAC (MiniDisc): yUses subband + modified DCT. zMPEG-2 AAC.

10 MPEG Layer 1 z384 samples/block at all frequencies. yEquals 8 ms at 48 kHz. zOptional masking model. yDriven by separate FFT for better accuracy.

11 MPEG Layer 1 data frame zBit allocation codes specify word length in each subband. zScale factors give gain for each band. headerCRC bit allocation scale factors subband samples aux data

12 MPEG Layer 1 encoder Filter bank Choose Scale factor Masking model requantize * FFT mux 0101..

13 MPEG Layer 1 decoder 0101.. demux Scale factor ** Step size Inverse filter bank inverse quantize expand


Download ppt "Audio compression zAlgorithms. zStandards.. Coding gain zRatio of uncompressed size to compressed size. zSources: yLossless coding. yLossy perceptual."

Similar presentations


Ads by Google