Sound Representation

In this lesson, you will learn how sound is represented in a computer system.

What is sound?

Sound is a pressure wave or a longitudinal wave that travels through the air with compressions and rarefactions. Compressions are the regions with higher air pressure, whereas rarefactions are the regions with lower air pressure.

Sound is propagating from left to right in Figure 1.

Frequency is a measure of how rapidly a signal changes, whereas, the wavelength of a waveform, is the reciprocal of its frequency. More rapid changes in a signal imply higher frequency and shorter wavelength.

Figure 1: Sound wave oscillating between regions of rarefaction and compression.
Figure 1: Sound wave oscillating between regions of rarefaction and compression.

Analogue signals

An analogue wave is a continuous signal that measures the change in amplitude over time. Fundamentally, anything measured is an analogue quantity, including the human voice, the brightness of an image, a thermometer reading, light sensors, air pressure, etc. The analogue signal can be represented as a sine wave, as shown in Figure 2.

Figure 2: Analogue signals.
Figure 2: Analogue signals.

Digital

...
Access this course and 1400+ top-rated courses and projects.