DavidsCD: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
Line 16: Line 16:




= Two Times Oversampling =
== 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 <math> \sum_{k= -\infty}^ \infty \ x(kT) \delta (t-KT) </math> is convolved with the desired impulse response. For two times oversampling it would be convolved with <math> h(lt/2) = \frac{T}{2} \int_{-\frac{-1}{T}}^{\frac{1}{T}} e^{(j 2 \pi l t f)/2} df </math>.
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 <math> \sum_{k= -\infty}^ \infty \ x(kT) \delta (t-KT) </math> is convolved with the desired impulse response. For two times oversampling it would be convolved with <math> h(lt/2) = \frac{T}{2} \int_{-\frac{-1}{T}}^{\frac{1}{T}} e^{(j 2 \pi l t f)/2} df </math> 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.

Revision as of 02:37, 10 December 2004

CD Players Explained!

insert pic1

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.

insert pic2

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.