CDPlayerJEW

From Class Wiki
Jump to navigation Jump to search

How a CD Player Works

A CD player reads a dicrete set of data off a CD. In short, a CD player takes this data and sends it through a digitla to analog converter, then through a low pass filter, and finally is output through speakers. A simple diagram illustrates this below.


Simple Block Diagram of Signal Pathway


When an audio CD is recorded, the music has an infinite amount of data points and can be represented as a continuous function of time . Because a medium, such as a CD, has a finite amount of space, it will not be able to hold since it has an infinite amount of data. Instead, the music is sampled at intervals to create a discrete function of time where is an integer and is the interval between samples.

This discrete signal can be represented mathematically by:

Then, the discrete signal is convolved by the D/A converter with a function :


This convolution, which is the convolution of the discretized signal and , a pulse function, will yield a graph that is no longer discrete, but is stepped. The following is an example:

Convolved Graph

In the frequency domain, the above stepped signal will look like the following:

Convolution (Time Domain) and it's frequency domain counterpart

It turns out that the frequency graph shown above is very similar to the frequency graph of the original sound signal that was recorded. So, the signal is then sent to the speaker(s) for playback.

2x Oversampling

Some feel that the sound quality of the playback is increased through oversampling. Oversampling requires the signal processor to "fill in" the gaps in the discretized signal thus forming a smoother stepped graph. As noted above, the stepped graph is the result of convolving the discretized sound signal with a pulse function.

In order to perform oversampling, an extra step must be inserted into the process described above. The discretized time signal must be convolved with a function . The resulting convolution will then be convolved with the pulse function . This is the only change in the process.

where is the number of times oversampling desired. In the case of 2x oversampling, and so,

File:2x01.jpgIllustration of 2x Oversampling pt.2

- Principle author of this page: Jeffrey Wonoprabowo

- Image of CD Player Diagram and Convolution by Aric Goe or Todd Caswell (not sure which since both of them had it on their pages)