Chapter 6
Chapter 6
Chapter 6
B A S I C S O F D I G I TA L A U D I O
DIGITAL AUDIO
Digitizing Sound
• Sound results from the mechanical disturbance of some object in a
physical medium such as air.
• These mechanical disturbance generate vibrations that can be
converted in to an analog signal by means of devices such as
microphone.
• Analog signals are continuous in a sense that they consist of a
continuum of values as opposed to stepwise values.
• Microphone produces analog signal
• Computer deals with digital signal
DIGITAL AUDIO…
Analog Audio
• Most natural phenomena around us are continuous
• Sound is not exception to this rule i.e. sound also constantly
varies.
• Continuously varying signals are represented by analog signal.
• Signal is a continuous function f in the time domain.
• For value y=f(t), the argument t of the function f represents time.
• If we graph f, it is called wave.
DIGITAL AUDIO…
Frequency: the number of times per second that a sound pressure wave repeats
itself.
• It is measured in Hertz (HZ), KiloHertz (KHZ), MegaHertz (MHZ), etc
Wave length: The minimum distance in which a sound wave repeats itself is
called its wavelength
DIGITAL AUDIO…
DIGITAL AUDIO
• Human can hearing range falls in the range 20Hz–20KHz
• When sound is recorded using microphone, the microphone
changes the sound into analog representation of the sound.
• In computer, we can’t deal with analog things.
• This makes it necessary to change analog audio into digital
audio. How?
ANALOG TO DIGITAL CONVERSION
Note here that we are not only losing information, but we are getting
the wrong information about the signal.
ALIASING
Thus, when a signal contains not just one but many different
frequencies added together, the minimal sampling rate needed to
avoid aliasing is just twice whatever the highest frequency is,
irrespective of how many other frequency components there are.
SAMPLE RESOLUTION/SAMPLE SIZE
Examples:
Gemechu sampled audio for 10 seconds. How much storage space is
required if
a) 22.05 KHz sampling rate is used, and 8 bit resolution with mono
recording?
b) 44.1 KHz sampling rate is used, and 8 bit resolution with mono
recording?
c) 44.1 KHz sampling rate is used, 16 bit resolution with stereo
recording?
d) 11.025 KHz sampling rate, 16 bit resolution with stereo
recording?
SAMPLE RESOLUTION…
Solution:
a) m=22050*8*10*1
m= 1764000bits=220500bytes=220.5KB
b) m=44100*8*10*1
m= 3528000 bits=441000butes=441KB
c) m=44100*16*10*2
m= 14112000 bits= 1764000 bytes= 1764KB
d) m=11025*16*10*2
m= 3528000 bits= 441000 bytes= 441KB
SAMPLE RESOLUTION…
Implications of Sample Rate and Bit Size
• Affects Quality of Audio
• Affects Size of Data
• Both analog and digital media have an upper limit beyond which they can no
longer accurately represent amplitude.
• Analog clipping varies in quality depending on the medium.
• The upper amplitudes are being altered, distorting the waveform and
changing the timbre, but the alterations are slightly different.