How a CD player works - HW8

From Class Wiki
Revision as of 08:36, 29 October 2009 by Max.Woesner (talk | contribs)
Jump to navigation Jump to search

Max Woesner

Back to my Home Page

Homework #8 - How a CD player works

This page describes how a CD player works with no oversampling but with digital filtering, i.e. 1x oversampling.

When music for an audio CD is produced, the music has infinite data points and can be expressed as as a continuous function of time, or , such as the one shown below.
X continuous2.jpg
In the frequency domain, the signal looks like this.
X frequency1a.jpg
Since a CD has a finite amount of storage space, it would be impossible to store on a CD. To solve this problem, the data is sampled at periodic intervals, creating a discrete function of time , where is and integer and is the period between samples.
The sample rate . Since human hearing can typically range from 20 Hz to 22 kHz, we want to sample at a rate greater than twice the highest frequency, or 44 kHz.
The discrete function of time can be expressed mathematically as . It might look like this.
X discrete.jpg
In the frequency domain, the function can be expressed as and would look like this.
X frequency2.jpg
Oversampling can be used to create a smoother discrete function by filling in the gaps with more data points. For example, 8x oversampling, which is fairly common, would decrease the sampling period by a factor of eight, giving us a more accurate function of the original signal. For this page, however, we will focus on 1x oversampling. While no additional data points are added with 1x oversampling, the same process can be used as with 8x oversampling, creating a digital filter.

To do this, we want to convolve our discrete function by a new function defined as , where is the oversampling rate.
In this case, , so



. Since we are using 1x oversampling, the function won't look any different than the original discrete function.
X discrete.jpg
The frequency response of this is , which looks like this.
X frequency3.jpg
The convolution of our discrete function and can be expressed mathematically as



Let , so , so



Let us define as the function , so

. It would look something like this.

The frequency equivalent would be . It can also be expressed as
<math> \frac{1}{T}\sum_{n=-\infty}^\infty X\bigg(f-\frac{n}{T}\bigg)\cdot