Audio Processing
by Edward Chow

In this web page, we introduce

There is a homework exercise at the end of the web page.

Reference: Material here adapted from the following Related web pages and literature.




Element of Sound Material here adapted from “Modern Audio Technology” by Martin Clifford, 1992, Prentice Hall, and “Data and Computer Communications”, by William Stallings, 4th edition, 1994, Macmillan.

Hearing-response Characteristics

Basic characteristics of a sound wave

Harmonics and Tone Color

The same note play on different musical instruments generate different tone.
The harmonics composed in tones make them different.

Digital vs. Analog

Reality: signal got distorted over distance because

  1. impedance (within transmission medium)
  2. interference (outside force, e.g. cloud, lightening)

Digital signal can be regenerated better without the distortion experienced in analog signal.

Recording analog audio signal using Pulse Code Modulation (PCM)

Analog signal from microphone or telephone handset are sampled at high frequency, for telephone it is 8000 samples/sec, for digial music recoding, it is 44.1 samples/sec.  Each sample is then represented by 8 bits or 16 bits resprectively.  The resulting is a digital bit stream.

Quantization error can be reduced by having higher sampling rate (sample more frequently)and more quantization level (more bits for each sample).

Example: With Stereo, 16 bits/sample, 44kHz sampling rate, PCM encoding, how many bits of data will be generated by a three minute sound recording?
Ans: 3min*60sec/min*44000samples/sec*16bits/sample*2(channel)/8bits/byte=31.68MB/s

Masking

Sub Band Coding (SBC) MP3: MPEG Audio Layer 3 Audio Recording and Editing Tool: CoolEdit 2000
 


Here are three sample audio files generated by CoolEdit, click to play them:
Vincent singing 179KB, au format and
Vincent singing, 33KB, realaudio format and
Vincent singing, 182KB, wav format.

Homework Exercises:

  1. With mono, 8 bits, 22kHz, PCM encoding, how many bytes of data will be generated by a three minute sound recording?
  2. Create audio and link to a web page.