Lesson 2 of 5 · about 13 minutes
Digital Audio: Samples, Bits and Nyquist
You'll be able to
- Explain sample rate and bit depth in plain words
- Use the Nyquist limit to say what frequencies a file can hold
- Choose 48 kHz for video and 44.1 kHz for music-only release, and say why
- Check a file's sample rate and see its frequency ceiling in SoundStudio
Read first: SoundStudio theory section 2, Digital audio, and the table in section 14, File formats. The tutorial explains samples, sample rate, bit depth and Nyquist with a good diagram. Here we turn those ideas into decisions: what rate to record at, what to export, and what to stop worrying about.
A file is a list of numbers
A computer cannot store a smooth curve. So it measures the height of the wave over and over, very fast, and keeps the list. Each measurement is a sample. The sample rate is how many measurements per second: 48,000 of them is 48 kHz. The bit depth is how precisely each one is written down.
Think of a film camera. The sample rate is the frame rate. The bit depth is how many shades of gray each frame can show. A low frame rate misses fast motion. Too few shades and smooth skies turn into bands. Audio fails in the same places.
Nyquist: the ceiling
The rule that runs digital audio is short. A file can hold frequencies up to half its sample rate, and no higher. That half is the Nyquist limit. You need at least two samples per cycle, one for the top of the wave and one for the bottom, to pin down a frequency.
| Sample rate | Nyquist limit | Where you see it |
|---|---|---|
| 8 kHz | 4 kHz | Old telephone audio. Muffled, but you can follow the words. |
| 22.05 kHz | about 11 kHz | Low-bitrate podcast feeds. Dull on top. |
| 44.1 kHz | 22.05 kHz | CD and most music streaming. |
| 48 kHz | 24 kHz | Video, broadcast, most cameras and recorders. |
| 96 kHz | 48 kHz | Studio recording, heavy pitch and time editing. |
Both 44.1 and 48 kHz put the ceiling above 20 kHz, past the top of human hearing. For listening, they are equally good. The choice between them is about what system the audio is going into.
What happens if a frequency above the limit sneaks in? It does not disappear. It folds back and shows up as a false, lower tone that was never in the original. That is aliasing, and it sounds like a thin metallic whine that does not follow the music. Every converter has a steep filter in front of it to stop this, so you will rarely meet aliasing from a microphone. You can meet it from cheap plugins, extreme pitch shifting and badly done sample rate conversion.
Why 48 kHz for video and 44.1 for music
The CD rate is an accident of history. In the late 1970s, the only tape machines with enough capacity for digital audio were video recorders. Sony's PCM adaptors stored audio as patterns in a video signal, and 44.1 kHz was a rate that fit both PAL and NTSC line timing. The compact disc kept it. Music has lived at 44.1 kHz ever since.
Video and broadcast went with 48 kHz, which divides cleanly into common frame rates and became the professional standard. DVD and Blu-ray video use 48 kHz and its multiples. YouTube's upload guidance suggests 48 kHz audio as of October 2026. Most cameras and phones record video sound at 48 kHz by default.
Mixing rates is the real danger. Drop a 44.1 kHz music bed into a 48 kHz video project, and a good editor converts it for you. A careless chain might play it at the wrong speed instead: 48 divided by 44.1 is about 1.088, so the music would run nearly 9% fast and about a semitone and a half sharp. If a song suddenly sounds like the band had too much coffee, check the sample rate first.
Higher rates like 96 kHz have a place. They give time-stretch and pitch-shift tools more data to work with, and some engineers like the gentler filters. For a podcast, a radio spot or a town council recording, 96 kHz just doubles your file sizes.
Bit depth: the floor
Each bit of depth adds about 6 dB of range between the loudest possible sample and the noise floor of the format. The tutorial gives the numbers: 16-bit is about 96 dB, 24-bit about 144 dB. For reference, a quiet room plus a decent microphone preamp rarely beats 100 dB of real-world range, so 24-bit is more than any room can fill.
The useful rule is about recording, not playback. Record at 24-bit. It lets you leave plenty of headroom (peaks around -12 dBFS) without pushing quiet passages down into the noise. Deliver at 16-bit or 24-bit as the platform asks. Apple Podcasts, for example, accepts WAV or FLAC at 16 or 24-bit and recommends 24-bit as of October 2026.
SoundStudio itself works in 32-bit floating point while you edit. Float has so much range that a level can go over 0 dBFS inside the editor and come back without damage, as long as it is below 0 when you export. Then you export a 16 or 24-bit WAV. Export writes exactly what is in the editor, so if anything still goes past 0 dB the file clips there, and the message after the export tells you by how much.
Example: the Millbrook water rate tape
A volunteer records a Millbrook utility board meeting on a phone at 48 kHz. Her editor drops in a 44.1 kHz intro sting she made for her music podcast and exports the clip for a video post. The sting plays at the right speed because her editor converted it. But she exported the final audio at 44.1 kHz because that was the default from her music work, and the video tool converts it back to 48 kHz on upload. Two conversions, no gain. Nothing awful happened, but she spent quality twice for nothing. The fix: set the project to 48 kHz, export at 48 kHz, and let the sting be converted once.
Try it: find the ceiling
Open SoundStudio. You need two files: a song you downloaded as an MP3 and a voice clip recorded on your phone. A WAV from any recorder works too.
- Load the voice clip. Click Analyze in the top bar, open its Track and File tab (it lists sample rate, channels, sample peak and true peak) and write down the sample rate. Phone voice memos are often 44.1 or 48 kHz. Some messaging apps hand you far less.
- Do the math: half the sample rate is the most this file can hold.
- Press V until you see the Spectrogram. Find the top edge of the colored area. The view tops out at 20 kHz, so a full-range WAV at 44.1 or 48 kHz can glow right up to the top edge. On an MP3 you will often see a hard, flat ceiling around 16 to 20 kHz. That is the encoder throwing away the top, not the sample rate.
- Open the Spectrum tab and use Analyze File on the MP3. Look for the cliff at the right side of the curve and hover to read its frequency.
- Zoom the waveform all the way in on any file, as the tutorial suggests. At maximum zoom you can see the individual samples as steps.
- Export the voice clip once as WAV 16-bit and once as WAV 24-bit. Compare the file sizes. The 24-bit file should be about 1.5 times larger, because each sample takes 3 bytes instead of 2.
Write down: the sample rate of each file, its Nyquist limit, and where the spectrogram actually runs out. If those last two numbers are far apart, you have learned something about where the file has been.
Checklist
- Video project: 48 kHz everywhere.
- Music-only release: 44.1 kHz is fine.
- Record at 24-bit with peaks well below 0 dBFS.
- Convert sample rates once, on purpose, never back and forth.
- If something plays too fast and sharp, suspect a sample rate mismatch.
Check yourself
1. A file is recorded at 48 kHz. What is the highest frequency it can hold?
The Nyquist limit is half the sample rate. At 48 kHz that is 24 kHz, comfortably above human hearing.
2. What does bit depth mainly control?
Each extra bit adds about 6 dB of range. 16-bit gives about 96 dB, 24-bit about 144 dB.
3. You are editing narration for a video. Which sample rate should the audio use?
48 kHz is the standard for video. YouTube's upload guidance suggests 48 kHz, and DVD and Blu-ray video use 48 kHz multiples.
4. What is aliasing?
If frequencies above half the sample rate reach the converter, they reappear as wrong frequencies below it. Converters filter them out first to stop this.
5. Why does 44.1 kHz exist at all?
Early PCM adaptors recorded onto video cassettes, and 44.1 kHz fit both PAL and NTSC video timing. The CD standard adopted it.
Terms in this lesson
- Sample
- One measurement of the wave's height at one instant.
- Sample rate
- How many samples are taken each second, in hertz. 48,000 per second is 48 kHz.
- Bit depth
- How many bits store each sample. More bits means finer steps and a lower noise floor.
- Nyquist limit
- Half the sample rate. The highest frequency a digital file can represent.
- Aliasing
- False tones created when frequencies above the Nyquist limit are sampled.
- Sample rate conversion
- Recalculating audio from one sample rate to another, for example 44.1 kHz to 48 kHz.
Sources
- YouTube Help: Recommended upload encoding settings (audio: 48 kHz suggested) checked 2026-10
- 44,100 Hz (origin in PCM adaptors and the CD; 48 kHz in video) checked 2026-10
- Apple Podcasts: Audio requirements (accepted sample rates and bit depths) checked 2026-10
- SoundStudio audio theory, section 2: Digital audio checked 2026-10
- SoundStudio audio theory, section 14: File formats checked 2026-10