Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Manipulating Audio. 2 Why Digital Audio  Analogue electronics are always prone to noise time amplitude.

Similar presentations


Presentation on theme: "1 Manipulating Audio. 2 Why Digital Audio  Analogue electronics are always prone to noise time amplitude."— Presentation transcript:

1 1 Manipulating Audio

2 2 Why Digital Audio  Analogue electronics are always prone to noise time amplitude

3 3 The Digital Domain  Based on numbers  Digital representation of analogue signal: time number

4 4 Digital Electronics  Less expensive to design  Less expensive to manufacture  Offer high noise immunity  Age immunity  Temperature immunity  Increased reliability

5 5 The Digital Domain 1 2 3 4 5 6 7 0 s 6.37.26.44.83.21.91.32.2 1 2 3 4 5 6 7 0 67653212 s Analogue signal 6, 7, 6, 5, 3, 2, 1, 2 Digital stream Digital waveform

6 6 Nyquist  The highest frequency which can be accurately represented is one- half of the sampling rate  CD: Sample Rate = 44,100 Hz  Nyquist Frequency = SR/2 = 22,050 Hz

7 7 Aliasing

8 8  Bach trumpet  SR=22050 - highest frequency in music is about 7000 Hz (no aliasing)  SR=11025 - (some aliasing; adds a little dullness and a metallic quality)  SR=4410 - (lots of aliasing; sounds like bad video game)

9 9 Low Pass Filtering  The original signal must be low-pass filtered to remove signals higher than 0.5 of the sampling rate  CD: SR = 44,100Hz thus original signal must not exceed 22,050Hz to be completely sampled  Low-pass filtering avoids frequency fold-over

10 10 Filters low-pass filterband-pass filterhigh-pass filter White noise (unfiltered) Filtered white noise (low pass, band pass, high pass)

11 11 Filters

12 12 Oversampling

13 13 Sampling reality  Critical sampling is not attempted  Lowpass filters can not attenuate the signal precisely at the Nyquist frequency  DVD audio – 96 KHz?  CD – 44.1KHz  Telephone – 8KHz

14 14 Quantization 1 2 3 4 5 6 7 0 s 6.37.26.44.83.21.91.32.2 1 2 3 4 5 6 7 0 67653212 s Analogue signal 6, 7, 6, 5, 3, 2, 1, 2 Digital stream Digital waveform

15 15 Quantization  The number of quantization levels (N) is dependant on binary word length  N = 2 n  n = number of bits 2 8 = 256 2 16 = 65536 (CD) 2 24 = 16777216 (DVD)  The more bits the better the approximation  Worst error is 0.5 LSB

16 16 Quantization Error  Difference between the actual analogue value and the selected quantization interval value

17 17 Dithering  A small amount of noise that is uncorrelated with the input signal is added

18 18 Dithering

19 19 Dithering

20 20 A to D Principal elements Multiplexer Processing (error correction) Dither generator Sample and Hold Anti- aliasing filter A to D Converter Sample and Hold Anti- aliasing filter A to D Converter Analogue input (L) Analogue input (R)

21 21 Summary  Sampling and Quantization are the two fundamental criteria for a digitisation system  Aliasing occurs when sampling theory is not observed  Sampling is lossless  Quantisation is lossy  Dither can substantially reduce quantization distortion

22 22 Fin


Download ppt "1 Manipulating Audio. 2 Why Digital Audio  Analogue electronics are always prone to noise time amplitude."

Similar presentations


Ads by Google