10.01.2013 Views

DVD Demystified

DVD Demystified

DVD Demystified

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

104<br />

audio compression takes a block of samples and divides them into frequency<br />

bands of equal or varying widths. Bands of different widths are<br />

designed to match the sensitivity ranges of the human ear. The intensity of<br />

sound in each band is analyzed to determine two things: (1) how much<br />

masking it causes in nearby frequencies and (2) how much noise the sound<br />

can mask within the band. Analyzing the masking of nearby bands means<br />

that the signal in bands that are completely masked can be ignored. Calculating<br />

how much noise can be masked in each band determines how much<br />

compression can be applied to the signal within the band. Compression uses<br />

quantization, which involves dividing and rounding, and this can create<br />

errors known as quantization noise. For example, the number 32 quantized<br />

by 10 gives 3.2 rounded to 3. When reexpanded, the number is reconstructed<br />

as 30, creating an error of 2. These errors can manifest themselves<br />

as audible noise. After masked sounds are ignored, remaining sounds are<br />

quantized as coarsely as possible so that quantization noise is either<br />

masked or is below the threshold of hearing. The technique of noise masking<br />

is related to noise shaping and is sometimes called frequency-domain<br />

error confinement.<br />

Another technique of audio compression is to compare each block of samples<br />

with the preceding and following blocks to see if any can be ignored on<br />

account of temporal masking—soft sounds near loud sounds—and how<br />

much quantization noise will be temporally masked. This is sometimes<br />

called temporal-domain error confinement.<br />

Digital audio compression also can take advantage of the redundancies<br />

and relationships between channels, especially when there are six or eight<br />

channels. A strong sound in one channel can mask weak sounds in other<br />

channels, information that is the same in more than one channel need only<br />

be stored once, and extra bandwidth can be temporarily allocated to deal<br />

with a complex signal in one channel by slightly sacrificing the sound of<br />

other channels.<br />

MPEG-1 Audio Coding<br />

Chapter 3<br />

MPEG-1 digital audio compression carries either monophonic or stereophonic<br />

audio. It divides the signal into frequency bands (typically 32) of<br />

equal widths. This is easier to implement than the slightly more accurate<br />

variable widths.<br />

MPEG-1 has three layers, or compression techniques, each more efficient<br />

but more complicated than the last. Layer II is the most common and is the<br />

only one allowed by <strong>DVD</strong>. Layer II compression typically uses a sample

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!