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.
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:
In the frequency domain, the above stepped signal will look like the following:
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.
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,
Mathematically, the equation is:
effectively fills in the gaps by taking the average of two adjacent data points and placing a data point, whose value is the average of it's two adjacent points, half way in between.
This process can be extended to cover 4, 8, 16 or higher oversampling. The result is a smoother stepped function (in the time domain) and a frequency function that looks more and more like the original signal.
- 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)