DavidsCD

From Class Wiki
Jump to navigation Jump to search

CD Players Explained!

Davemic.gif

As seen above storing voice samles on a cd only involves a couple of steps. First the data must be passed through a low pass filter incase there are any unwanted high frequencies. In our case we would need a filter to pass anything under 22kHz. If we pass anything higher than this then there will be alaising. Next an analog to digital converter (ADC) samples the data at 44000kHz. It does this by basically picking the closest sampling value to the analog value. Next this data is stored on a CD.

Davespk.gif

Data is taken from the CD player and is represented mathmatically as . When the data goes through the Digital to Analog Converter (DAC) it is convolved with p(t) to get as shown below.

File:BarnsaDA.jpg

In the frequency domain you can see that this relates to multipliing by P(f) and results in a quite distored X(f). It has to many high frequency components and would require a really good brick wall filter to get rid of them. From there the signal is sent to a Low Pass Filter where the stair stepped shaped function is smoothed so that it sounds better when the signal is next sent to the speaker.

Two Times Oversampling

Oversampling is the process of interpolating data so that it looks like we have more data than we really do. Two times oversampling is accomplished by adding a digital interpolation filter right before the DAC. Now is convolved with the desired impulse response. For two times oversampling it would be convolved with if we wanted to predistort the signal as well. This makes it so that the resulting wave in the frequency domain more closely matches the original signal. So we get more data points doing it this way, we get to filter the signal however we want, plus this allows for the use of a cheaper low pass filter since the frequency spacing is now 2/T. We just have to be sure and meet the Nyquist criteria now and sample the DAC at T/2 or 88kHz.