DavidsCD: Difference between revisions
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
== CD Players Explained! == |
== CD Players Explained! == |
||
[[Image:davemic.gif]] |
|||
insert pic1 |
|||
As seen above storing voice samles on a cd only involves a couple of steps. |
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. |
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. |
||
[[Image:davespk.gif]] |
|||
insert pic2 |
|||
Data is taken from the CD player and is represented mathmatically as <math> \sum_{k= -\infty}^ \infty \ x(kT) \delta (t-KT) </math>. When the data goes through the Digital to Analog Converter (DAC) it is convolved with p(t) to get <math> \tilde x (t) = \sum_{k= -\infty}^ \infty \ x(kT) p (t-KT) </math> as shown below. |
Data is taken from the CD player and is represented mathmatically as <math> \sum_{k= -\infty}^ \infty \ x(kT) \delta (t-KT) </math>. When the data goes through the Digital to Analog Converter (DAC) it is convolved with p(t) to get <math> \tilde x (t) = \sum_{k= -\infty}^ \infty \ x(kT) p (t-KT) </math> as shown below. |
||
Line 14: | Line 13: | ||
In the frequency domain you can see that this relates to multipliing <math> \frac{1}{T} \sum_{n=-\infty}^\infty X(f - \frac{n}{T}) \cdot </math> 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. |
In the frequency domain you can see that this relates to multipliing <math> \frac{1}{T} \sum_{n=-\infty}^\infty X(f - \frac{n}{T}) \cdot </math> 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 == |
== Two Times Oversampling == |
Latest revision as of 23:43, 12 December 2005
CD Players Explained!
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.
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.
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.