Professional Documents
Culture Documents
Lect03 Audio Representation
Lect03 Audio Representation
Lect03 Audio Representation
Klara Nahrstedt
Spring 2009
0.5
-0.5
-1
-1.5
0.5
-0.5
-1
-1.5
0.5
-0.5
-1
-1.5
0.5
-0.5
-1
-1.5
In mathematical terms:
fs > 2*fm
where fs is sampling frequency and fm is the
maximum frequency in the signal
1.5
0.5
-0.5
-1
-1.5
250
200
150
100
50
0
0 50 100 150 200 250 300
Sound Intensity
CS 414 - Spring 2009
Non-uniform Quantization
250
200
150
100
50
0
0 50 100 150 200 250 300
Sound Intensity
CS 414 - Spring 2009
Differential Pulse Code
Modulation (DPCM)
What if we look at sample differences, not
the samples themselves?
dt = xt-xt-1
Differences tend to be smaller
Use 4 bits instead of 12, maybe?
-A
CS 414 - Spring 2009
Quantization Error
Difference between actual and sampled value
amplitude between [-A, A]
quantization levels = N
2A
N
e.g., if A = 1,
N = 8, = 1/4
Noise energy = A2
3 N 2
Signal to noise = 3N 2
10 log
2
Every bit increases SNR by ~ 6 decibels