CTP431- Music and Audio Computing Digital Audio
Graduate School of Culture Technology KAIST Juhan Nam
1
CTP431- Music and Audio Computing Digital Audio Graduate School of - - PowerPoint PPT Presentation
CTP431- Music and Audio Computing Digital Audio Graduate School of Culture Technology KAIST Juhan Nam 1 Digital Representations 0 1 1 0 1 1 0 Sound 1 0 0 1 1 0 1 Image 0 0 1 1 0 1 1 Text Digital
1
… 0 1 1 0 1 1 0 … … 1 0 0 1 1 0 1 … … 0 0 1 1 0 1 1 …
4
…0 0 1 0 1 0 …
5
Ts
Signal notation
6
7
fm
fm
fs+fm fs-fm fs
*𝑢
*𝑜𝑈
*𝑜/𝑔
*𝑜/𝑔
* ± 𝑙𝑔
Audible range Audible range
8
0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 x 10
4
−0.8 −0.6 −0.4 −0.2 0.2 0.4 0.6 0.8 1
*
9
fm
fm
fs+fm fs-fm fs
Audible range Audible range
In order to avoid aliasing
10
fm
fs+fm fs-fm fs
Audible range
11
fs/2 fs
fm
fs+fm fs-fm fs
Lowpass Filter
12
Frequency sweep of the trivial sawtooth wave
Time (s) Frequency (Hz) 1 1.5 2 2.5 3 3.5 4 4.5 0.5 1 1.5 2 x 10
4
Bandlimited sawtooth wave spectrum
5 10 15 20 −60 −40 −20 Frequency (kHz) Magnitude (dB)
5 10 15 20 −60 −40 −20 Frequency (kHz) Magnitude (dB)
Trivial sawtooth wave spectrum
13
https://www.youtube.com/watch?v=jHS9JGkEOmA Aliasing in Video
14
15
16
1/2
P(e)
1
−1/2 1/2
Root mean square (RMS) of noise 20log10 Srms Nrms = 20log10 2B−1 / 2 112 = 6.02B+1.76 dB
(With 16bits, SNR = 98.08dB)
20log10 Smax Nmax = 20log10 2B−1 12 = 6.02B dB (With 16bits, SNR = 96.32 dB) RMS of full-scale sine wave
17
20log10 Srms,max Srms,min = 20log10 2B−1 / 2 1/ 2 = 6.02B − 6 (With 16bits, DR = 90.31 dB) Equal Loudness Curve
Again, RMS of full-scale sine wave for both loudest and softest
18
0 dB
Noise floor (By quantization) Max level Head room Clipping Min level
B = 16 bits In digital audio, 0dB is regarded as the maximum level