Lunar Boom Learning

1.1 · What Is Sound?

Section 1.1 of 1.4

What Is Sound?

How moving air becomes digital audio

See how vibrations become sound waves, how microphones turn those waves into signals, and how sample rate, bit depth, and channels shape a digital recording.

About 11 minutes

Guiding question

How does a vibration become something we can hear and record?

By the end, you’ll be able to
  • Explain how a vibration creates a sound wave and how a microphone begins turning it into digital audio.
  • Define amplitude and frequency and connect them to signal strength and pitch.
  • Explain sample rate, bit depth, mono, and stereo in simple terms.

Sound begins with movement. Pluck a guitar string, hit a drum, or speak, and something starts to vibrate. That vibration pushes and pulls the air around it. The result is a travelling pattern of pressure changes called a sound wave.

Your ears turn those pressure changes into signals your brain can understand. Recording equipment follows a different path. A microphone turns the pressure wave into a changing electrical signal. An audio interface or sound card then measures that signal and stores the measurements as numbers.

Those numbers form digital audio. Music software can edit them, compress them, analyse them, and use them as input for AI music systems.

From a guitar string to an audio file

  1. Something vibrates

    A voice, speaker, string, drum skin, or another sound source moves back and forth.

  2. A pressure wave travels

    The movement creates changing pressure in a medium such as air. The wave travels away from the source.

  3. A microphone reacts

    The sound wave moves part of the microphone, which turns the movement into a changing electrical signal.

  4. The signal is sampled

    A recording device measures the signal again and again, then stores each measurement as a number.

  5. Software receives digital audio

    The samples can now be displayed, edited, compressed, analysed, or prepared for an AI model.

Amplitude and frequency: size and speed

Two basic properties make a sound wave easier to understand:

    1. Amplitude describes the strength or size of the signal. On a waveform, a larger vertical movement means a larger recorded amplitude.
    2. Frequency describes how many times the wave repeats each second. It is measured in hertz, written as Hz. A 440 Hz tone repeats 440 times every second.

Frequency is closely linked to pitch. Faster repetition is usually heard as a higher pitch. Amplitude is linked to signal level, but a larger digital amplitude does not always mean that a sound will feel equally louder to a listener.

The four settings to recognise

Swipe sideways to view the full comparison

SettingPlain-language meaningExample
Sample rateHow many times the signal is measured each second44.1 kHz means 44,100 samples per second
Bit depthHow many possible numerical levels are available for each sample16-bit PCM provides 65,536 possible amplitude values
Channel countHow many separate audio signals are stored togetherMono has one channel; stereo normally has two
DurationHow long the measurements continueOne second at 44.1 kHz contains 44,100 sample moments per channel

Sample rate: how often do we measure?

Think of filming a spinning wheel. One photograph tells you very little, but thousands of photographs can capture the movement. Digital audio works in a similar way. A recorder takes repeated measurements of the incoming signal.

A sample rate of 44.1 kHz means the signal is measured 44,100 times per second. A rate of 48 kHz means it is measured 48,000 times per second.

The sample rate also limits the highest frequency that can be represented. To reproduce a frequency, the sample rate must be at least twice as high. This is why a 44.1 kHz recording can represent frequencies up to about 22.05 kHz.

A higher sample rate creates more measurements and more data. Its main technical effect is to give the recording system a wider frequency range.

Bit depth: how precise is each measurement?

Sample rate tells us how often the signal is measured. Bit depth tells us how many possible numerical values are available for each measurement.

    1. 8-bit audio provides 256 possible values.
    2. 16-bit audio provides 65,536 possible values.
    3. 24-bit audio provides 16,777,216 possible values.

More available values give the system a greater dynamic range and a lower theoretical noise floor.

One way to picture this is as a staircase. A low bit depth gives the staircase fewer, larger steps. A higher bit depth gives it many smaller steps, so the stored value can follow the original signal more closely.

Mono and stereo are channel layouts

Swipe sideways to view the full comparison

FormatStored channelsWhat is stored
MonoOneA single audio signal
StereoTwoSeparate left and right audio signals that can contain different information

What is an audio channel?

An audio channel is one separate stream of measurements.

A mono recording has one channel. A stereo recording normally has two, one for the left side and one for the right. The two stereo channels can contain slightly different signals, which lets producers place sounds across a wider listening space.

Channel count is separate from sample rate and bit depth. A recording can be mono or stereo at 44.1 kHz, 48 kHz, or another supported sample rate.

Interactive lesson

Turn a Wave Into Digital Audio

Try it: Start by moving the frequency and amplitude controls. Then lower the sample rate and bit depth to reveal the individual measurements. Switch between mono and stereo to compare channel layouts.

Frequency controls how quickly a wave repeats, while amplitude controls signal strength. Sample rate controls how often the signal is measured, bit depth controls the number of available numerical values, and channel count controls how many separate signals are stored.

In practice

Why this matters for AI music

AI music models do not receive sound as moving air. They receive numbers, or compressed representations built from those numbers. MusicGen, for example, was designed around compressed discrete music representations and can generate both mono and stereo audio. Meta's AudioCraft documentation says that its published MusicGen implementation uses a 32 kHz EnCodec tokenizer. We will return to tokenizers later. For now, the important point is that sample rate and channel layout are part of a model's design, not just export settings added at the end.

Check your understanding

Ready for a quick check?

Test whether you can follow sound from a vibration to a digital recording.

Ready to continue?

Save this section to your account and continue from any device.

Checking your account…
Sources for this lesson (7)