Understanding Digital Audio
How continuous sound becomes the ones and zeros stored in an audio file.
Sound in the physical world is a continuous wave of changing air pressure. To store and edit it on a computer, that wave must be converted into numbers — a process called analogue-to-digital conversion. Understanding how this works clears up a lot of confusion about sample rate, bit depth and audio quality.
Sampling: measuring over time
A converter measures the incoming wave's level thousands of times per second. Each measurement is a 'sample', and the number of samples per second is the sample rate. CD audio uses 44,100 samples per second (44.1 kHz). By the sampling theorem, a sample rate can accurately represent frequencies up to half its value — the Nyquist frequency — which is why 44.1 kHz comfortably covers human hearing.
Bit depth: measuring level
Each sample's level is stored using a number of bits — the bit depth. More bits allow finer level resolution and a greater dynamic range with a lower noise floor. 16-bit is standard for CDs, while 24-bit is common when recording and mixing because it provides extra headroom and detail to work with.
Putting it together
Together, sample rate and bit depth define the resolution of uncompressed (PCM) audio, and therefore its data rate and file size. You can explore these relationships with the Audio File Size Calculator and the Sample Rate & Nyquist Calculator.
Hands-on digital audio practice
Open a session and write down the sample rate and bit depth before you record a note. Those two numbers decide the file you are making. Record a short clap at a healthy level, zoom into the waveform, and look at the steps. Then bounce the same clap at a lower bit depth with and without dither and listen to the fade, not the peak. The point is not to become an engineer overnight; it is to stop treating 'WAV' as a magic word.
When a collaborator sends a file, inspect it. Wrong-rate imports play at the wrong pitch and speed. Layering 44.1 kHz and 48 kHz leftovers is a classic amateur tax. Convert once, on purpose, with a decent resampler. If you work to picture, match the picture's rate from the first day so you are not arguing with pulldown later.
- Use the site's sample-rate and file-size tools to predict a bounce before you fill a disk.
- Compare a 16-bit and 24-bit bounce of a quiet fade on headphones at a fair level.
- Keep a lossless archive of the session's important prints; you can always make a smaller copy later.
FAQ
- Is a higher sample rate always better?
- Not necessarily. 44.1 or 48 kHz already covers human hearing. Higher rates can help certain processing but greatly increase file size, often with no audible benefit for listeners.
- What does 'PCM' mean?
- PCM (pulse-code modulation) is the standard way uncompressed digital audio is stored — a straightforward stream of level measurements, as in WAV files.
- Does digital audio 'miss' the sound between samples?
- Properly band-limited sampling can reconstruct the original band-limited wave. The missing-stair intuition is mostly a cartoon. Problems appear when energy above the Nyquist limit is allowed in, or when conversion is sloppy.
- Why do some plugins sound better at higher rates?
- Non-linear processes create extra highs that can alias. More internal room, or oversampling, gives those harmonics somewhere to go before they fold back. That is a processing issue, not proof that your ears hear 80 kHz.