Professional Documents
Culture Documents
ECE515FL - Activity2 (Characteristics of Digital Audio Signal) With Answers
ECE515FL - Activity2 (Characteristics of Digital Audio Signal) With Answers
Activity No. 2
Characteristics of Digital Audio Signal
I. OBJECTIVES
II. BACKGROUND
Digital audio signals are digital files that contain numbers representing the samples of an
audio signal. The samples are obtained by recording an analog audio signal using an analog-to-
digital converter. Also, the samples may not be obtained by recording but generated by a computer.
To reconstruct the analog audio signal, the samples are used as input to a digital-to-analog converter.
Most PCs are equipped with ADC and DAC in their soundcards.
Digital audio signals are characterized in terms of the sampling frequency (Fs) at which they are
recorded, the number of bits used to represent the samples, and the number of audio channels
recorded. Typical sampling frequencies used are 44100Hz for CD quality, 32000Hz or 22050Hz for
FM broadcast quality, 11050Hz for AM broadcast quality, and 8000Hz for telephone quality. The
samples are typically stored using 8-bit. 16-bit, or 24-bit encoding. In terms of the number of audio
channels, recorded audio signals may have a single channel (mono), 2 channels (stereo) or even 5
channels (surround).
SLU ECE 1
ECE 515 FL
Digital Signal Processing Laboratory Activity 2: Characteristic of Digital Audio Signal
3. A digital audio file recorded with a sampling frequency of 44100 Hz and 8-bit encoding
has a file size of 2Mbytes (1Mbytes=220 bytes).
(a) Determine the playback duration of the digital audio signal if it is mono.
Playback duration = 47.5545 seconds
(b) Determine the playback duration of the digital audio signal if it is stereo.
Playback duration = 23.7772 seconds
SLU ECE 2
ECE 515 FL
Digital Signal Processing Laboratory Activity 2: Characteristic of Digital Audio Signal
2. Demonstration on the effects of sampling frequency on the file size and perceived quality
of a tone recording.
(a) The following audio files are mono recordings of a 1KHz tone at different sampling
frequencies.
tone1K_16bit_44100Hz_mono.wav (CD quality)
tone1K_16bit_8000Hz_mono.wav (Telephone quality)
Open and playback the audio files using Goldwave.
Is there a significant difference in the perceived quality of the played back tones?
NO
SLU ECE 3
ECE 515 FL
Digital Signal Processing Laboratory Activity 2: Characteristic of Digital Audio Signal
(b.3) Which is a more practical sampling rate for recording the 1KHz signal, 8000Hz or
44100Hz? Explain your answer.
Voice quality is more practical, as the file size will be smaller; it results to a
lower file size.
3. Demonstration on the effects of sampling frequency on the file size and perceived quality
of a voice recording.
(a) The following audio files are recordings of a voice signal at different sampling frequencies.
voice_16bit_44100Hz_mono.wav
voice_16bit_22050Hz_mono.wav
voice_16bit_11025Hz_mono.wav
voice_16bit_8000Hz_mono.wav
Open and playback the audio files using Goldwave.
(a.1) Is there a significant difference in the perceived quality of the played back voice
signals? YES
(b) Check the file size of the audio files.
(b.1) Which audio file is largest? CD quality
(b.2) Is there is a trade-off between quality and file size in the voice recordings? Explain.
Yes, since CQ quality has the largest file size, it has the ability to sample at a higher
rate.
(c) Which is the more appropriate sampling rate for recording voice signal, 8000Hz or
44100Hz? Explain your answer.
This depends where we’ll use the voice signal. For a telephone system, 8000 Hz is
practical. But if the voice signal is for music, 44100 Hz is more practical.
SLU ECE 4
ECE 515 FL
Digital Signal Processing Laboratory Activity 2: Characteristic of Digital Audio Signal
4. Demonstrate the effects of sampling frequency on the file size and perceived quality of a
music recording.
(a) The following audio files are recordings of music at different sampling frequencies.
DINAR_16bit_44100Hz_stereo.wav
DINAR_16bit_22050Hz_stereo.wav
DINAR_16bit_11025Hz_stereo.wav
DINAR_16bit_8000Hz_stereo.wav
DINAR_16bit_4000Hz_stereo.wav
Open and playback the audio files using Goldwave.
(a.1) Is there a significant difference in the perceived quality of the played back music?
If yes, which has the best quality?
Yes, the CD quality has the best quality.
(b) Check the file size of the audio files.
(b.1) Which audio file is largest? CD Quality
(b.2) Is there a trade-off between quality and file size in the music recordings? Yes. The
better the quality the bigger the file size.
(b.3) Which is the most appropriate sampling rate for music recording: 4000Hz, 8000Hz,
11025Hz, 22050Hz, or 44100Hz? Explain your answer.
44,100 Hz as it captures all the signals, including the high frequency signals that
we can hear.
5. Demonstrate the effect of the number of bits used for encoding samples on the file size and
perceived quality of music recording.
(a) The following audio files are music recordings that use different number of bits for
encoding.
DINAR_16bit_44100Hz_stereo.wav
DINAR_8bit_44100Hz_stereo.wav
Open and playback the audio files using Goldwave.
(a.1) Is there a significant difference in the perceived quality of the played back music?
SLU ECE 5
ECE 515 FL
Digital Signal Processing Laboratory Activity 2: Characteristic of Digital Audio Signal
NONE
(b) Check the size of the audio files.
(b.1) Which audio file is larger? How many times is it larger?
16 bit has a larger file size. It is twice bigger than the 8 bit file.
(b.2) Which is the more practical number of bits for encoding music, 8 bits or 16bits?
Explain your answer.
8 bits as the human ear cannot notice any specific changes in the 16 bits audio
file.
6. Demonstrate the difference between a mono audio file and a stereo audio file.
(a) The following audio files are recordings of the same audio signal. One is recorded as mono
and the other as stereo.
multiplex_16bit_44100Hz_mono.wav
multiplex_16bit_44100Hz_stereo.wav
Open the audio files using Goldwave.
(a.1) How many waveforms are displayed for the mono signal? one
(a.2) Is the mono audio signal reproduced on both earpieces when played back? yes
Are the signals on the left and right earpieces identical? yes
(a.3) Are there two waveform displayed for the stereo signal? yes
(a.4) Is the stereo signal reproduced on both earpieces when played back? yes
Are the signals on both earpieces identical? no
(b) Check the file size of the audio files.
(b.1) Which audio file is larger? How many times is it larger?
The stereo. Twice larger.
SLU ECE 6