Before you can edit, mix, or produce, you need a working sense of what digital audio is: sound as a physical phenomenon, the conversion of that sound into numbers a computer can work with, and the choices that decide how good (or how strange) those numbers sound.
A sound is a tiny disturbance in the air around you. When something vibrates (a string, a vocal cord, a speaker cone, a slamming door) it pushes molecules of air outward, then pulls them back. Those molecules push the next ones, and the next, and so on. The disturbance moves outward in waves of changing pressure. When those waves reach your ear, they push on your eardrum, and your brain interprets the pattern as sound.
If we could plot the air pressure at one point in space against time, we'd see a wavy line: pressure rising and falling, faster or slower, bigger or smaller. That line is what we call a waveform. Every sound has one. A pure flute tone has a smooth, almost mathematical waveform. A cymbal crash has a chaotic one. Your voice saying "hello" has a complex shape that changes from moment to moment.
Two things about a wave matter most for how we hear it: how fast it wiggles, and how big the wiggles are. Each one has a name in physics, and a different name in music.
Frequency is how many full wave cycles happen per second. The unit is the hertz (Hz). One Hz is one cycle per second; 100 Hz is one hundred cycles per second; 1,000 Hz is one kilohertz (kHz). Faster wiggle means higher frequency.
In music, what we hear as pitch is exactly this: the frequency of the sound wave reaching our ears. A low bass note is a slow wiggle (maybe 60 Hz); a high vocal note is a fast one (maybe 1,000 Hz or more). Pitch and frequency describe the same physical thing from two angles. A musician says "A above middle C." A physicist says "440 Hz." Same wave.
Amplitude is how big the wave is, measured from the centerline to its peak. A bigger wave moves more air, hits your eardrum harder, and sounds louder. A smaller wave is quieter.
Level is measured in decibels (dB). In digital audio, dB values run from 0 (the loudest a digital signal can be) downward into negative numbers. The more negative the number, the quieter the sound. So 0 dB is the loudest possible (any louder and the signal would clip), and something at −12 dB is much quieter than something at −3 dB. You'll see these numbers everywhere in an audio editor: the level meter shows them while you record, the volume slider on each track is in dB, and the export tool reports your file's peak level in dB.
The rule of thumb is that −6 dB is half the amplitude, so a wave that peaks at −6 dB is half as tall on screen as one that peaks at 0 dB.
Frequency (Hz) and amplitude (dB) are the two basic measurements for any wave. Hold onto both terms; they show up in every audio context you'll work in, and they show up in an audio editor like Audacity the moment you import a sound.
That's sound in the analog world: a continuous, smoothly changing physical phenomenon. A microphone is a device that catches those pressure waves and turns them into a corresponding electrical signal: a tiny voltage that wiggles in time with the air. The signal is still continuous, still analog. It's electricity instead of air. To work with sound on a computer, we have to do something else: turn that continuous signal into numbers.
Computers don't deal in continuous things. They deal in discrete values: specific numbers, one after another. So to capture an analog signal in a computer, we have to measure it at regular intervals and write down the result. That measurement-at-an-instant is called a sample. The act of taking those measurements is called sampling.
Imagine you're tracking the height of a ball bouncing across the floor, but instead of recording its position continuously, you only check where it is once every fraction of a second. Each check gives you a single number: the ball's height at that moment. String enough of those numbers together and you have a usable record of the bounce, not perfect, but close enough that you could re-create the motion later. Digital audio works the same way. Many measurements per second, each one a number, all stored in order.
To play the sound back, the computer reads those numbers in order and reconstructs the wave, sending corresponding voltages to a speaker, which moves air, which (eventually) reaches your ear. Two devices make this work in both directions: an analog-to-digital converter (ADC) handles the recording side, and a digital-to-analog converter (DAC) handles playback. Your audio interface contains both.
Two questions naturally come up when sampling. First: how often do we measure? Second: how precisely do we measure each one? These are the two fundamental settings of digital audio: sample rate and bit depth.
Sample rate is how many measurements we take per second. The unit is also hertz (Hz). Same unit you saw in section 1, counting a different thing: in section 1, Hz was wave cycles per second; here, it's measurements per second. The most familiar sample rate is the one CD audio uses: 44,100 Hz, usually written as 44.1 kHz. That means 44,100 measurements per second, per channel. You'll work at a slightly higher rate, 48 kHz.
More measurements per second means a more accurate digital representation of the original wave. Fewer measurements means the digital version starts to lose detail, especially at higher frequencies, where the wave is moving quickly and you need many samples per cycle to track it.
The number isn't arbitrary. It comes from a principle called the Nyquist theorem, which says: to accurately capture a sound wave at a given frequency, you need to sample at at least twice that frequency. The highest frequency a typical young human can hear is around 20,000 Hz (20 kHz). Double that is 40 kHz. The CD standard ended up at 44.1 kHz for historical engineering reasons (below), with a margin above 40 kHz that leaves room for the anti-alias filter's roll-off.
The Nyquist theorem is the only piece of math you need to know to make sense of why sample rates are what they are. Half the sample rate is the highest frequency that can be represented. At 44.1 kHz, you can capture frequencies up to about 22 kHz, which covers the entire audible range, with a little room to spare.
You'll see two sample rates everywhere in modern audio production: 44.1 kHz and 48 kHz. Both work; both cover the audible range with margin to spare. There are two for historical reasons.
44.1 kHz became the standard for the audio CD in 1980. Early digital audio recorders were built from adapted video equipment, and the math of fitting audio onto video tape ended up at 44.1 kHz. CDs kept that rate.
48 kHz became the standard for digital video and film. When sound is paired with picture, 48 kHz syncs more cleanly with various video frame rates. It's the default rate inside most professional video tools, broadcast equipment, and modern audio interfaces.
Work at 48 kHz from start to finish. It matches what phones and field recorders capture and what Ableton and most DAWs assume, so a project stays at one rate the whole way through. You'll still meet 44.1 kHz everywhere in the wild: every CD, much of what you download.
Neither is "better." Both are conventions, chosen for different historical reasons. Knowing both exist prevents you from being surprised when a project file or interface uses one when you expected the other.
The often-quoted range of human hearing is 20 Hz to 20 kHz. The numbers are abstract until you hear them. Try the tone generator below: it plays a pure sine wave at whatever frequency you choose. Drag the slider to explore the audible range. (The slider is logarithmic, like musical pitch: every doubling of frequency is one octave higher.)
Keep your headphones at low volume before pressing Play. Sine tones are loud and fatiguing: start quiet, listen briefly, stop when you're done. High frequencies in particular can damage hearing if played too loud.
A few useful frequencies to find on the slider: 440 Hz is concert A (the note an oboe plays for an orchestra to tune). 1 kHz is the reference frequency engineers use for measurements (a kind of mid-range neutral). Below 60 Hz you're in sub-bass territory where you feel as much as you hear. Above 10 kHz you're in the very high treble: sibilance, cymbal sheen, "air." Sensitivity above about 14 to 16 kHz drops noticeably from people's thirties on.
Now, with that range in mind, look at where the Nyquist limits fall, and how the two sample rates relate to them on the same axis:
Listen on headphones if you can. As the sample rate drops, high frequencies disappear first: the sharp attacks soften, the brightness dulls, and at 4 kHz everything sounds like it's behind a thick wall. Some artists deliberately use low sample rates as an aesthetic. You'll recognize the sound from old video games, lo-fi hip-hop, and certain glitch records.
If sample rate is about when we measure, bit depth is about how precisely. Each sample is a number with finite resolution. Bit depth tells you how many possible values that number can take. Each sample is stored as a binary number, and bit depth is how many digits long that number is.
An 8-bit sample can take 256 possible values (because 2 to the power of 8 is 256). A 16-bit sample can take 65,536 values. A 24-bit sample can take over 16 million values. The more bits, the finer the gradations of amplitude available: the more precisely each sample can describe the actual height of the wave at that moment.
What happens when bit depth is too low? The amplitude of each sample has to round to the nearest available value. Subtle differences get flattened. Quiet sounds can disappear entirely if they're too small to register on the coarse grid. Worst of all, the rounding itself produces a kind of low-level hiss: what engineers call quantization noise. The result is a noisier, grainier, less detailed sound.
The CD standard is 16-bit, with 65,536 possible values per sample. This is enough for high-quality audio: the noise floor is so low you can barely hear it. 24-bit gives more headroom for processing. 32-bit goes further still and is the highest resolution offered by modern DAWs like Ableton, Logic, and Pro Tools. 8-bit audio sounds noticeably grainy and was used in early samplers and video game music. 4-bit sounds degraded: a deliberate aesthetic effect.
Set your projects to 48 kHz, 32-bit, and export finished mixes at the same setting. Recording at 24-bit is fine too: it already gives you more headroom than you'll use.
You'll see 16-, 24-, and 32-bit files in the wild.
Pay attention to what happens during the quiet decay at the end of each clip. At 16-bit the noise floor is inaudible. At 8-bit you'll hear a low hiss. At 4-bit the noise is loud and obviously grainy: that's the sound of the rounding errors becoming the signal. Notice too that the 4-bit version goes completely silent earlier than the others: when sample values get small enough, they round all the way down to zero. The decay tail is literally lost. Like low sample rates, low bit depths have an aesthetic of their own. Some producers use them on purpose.
Sample rate and bit depth are abstract numbers, but each has a specific audible consequence when it isn't enough for the job. Knowing the names of those consequences turns mysterious artifacts into something you can identify, avoid, or (if you want) deliberately use.
The Nyquist theorem says you can only capture frequencies below half the sample rate. But what happens to frequencies above that limit? They don't disappear. They fold back into the audible range as false lower frequencies. This phenomenon is called aliasing.
You've seen aliasing without knowing the name. In old movies, a wagon wheel spinning forward sometimes appears to spin backward, because the camera's frame rate isn't fast enough to catch every spoke. The wheel's rotation is "above the camera's Nyquist limit," so the eye (or the film) reconstructs a slower, false rotation. Audio aliasing is the same thing happening to sound: a real high frequency gets reconstructed as a false low one.
Aliasing sounds strange. It produces inharmonic whistles, sliding tones, and a sour, "off" quality on bright sounds. Once you hear it, you recognize it.
This is why every digital audio system applies an anti-alias filter before sampling. The filter removes any content above the Nyquist limit before the ADC sees it, so there's nothing left to fold back. Your audio interface does this automatically, and so does Audacity when it resamples a file to a lower rate. You don't have to think about it. The Nyquist limit is the highest frequency the system can represent.
Start with the source so you have the "real" reference in your ears. Then compare the two 8 kHz versions. The filtered version (the same file you heard in section 3) rolls off the high frequencies, sounding muffled. The no-filter version rolls those same high frequencies down into the audible range as false ones, producing whistles and inharmonic ring. The first is what your ADC does. The second is what would happen if it didn't, and is also what the 4 kHz file in section 3 would have sounded like if we hadn't filtered it. Some chiptune and 8-bit aesthetics deliberately court aliasing for its specific texture.
Bit depth limits how soft a sound can be before it disappears into quantization noise. The metric for this is signal-to-noise ratio (SNR): the ratio of your loudest signal to the noise floor, measured in decibels (dB). Higher is better.
There's a clean rule of thumb: each bit gives you about 6 dB of SNR.
| Bit depth | SNR | What you hear |
|---|---|---|
| 4-bit | ~24 dB | loud hiss |
| 8-bit | ~48 dB | audible hiss |
| 16-bit | ~96 dB | a noise floor you can't hear in music |
| 24-bit | ~144 dB | more than human hearing can resolve |
| 32-bit | ~192 dB | far more than human hearing can resolve |
For comparison, alongside the dynamic range of unamplified music:
This is why CDs settled on 16-bit: it covers the full dynamic range of unamplified music with a small margin to spare. It's also why recordings are made at 24-bit or higher even when they're delivered at 16-bit: the extra headroom protects you from clipping during recording and from losing detail during processing. You record with margin and give it up only when a delivery format asks for less.
That principle (record with headroom, commit later) recurs throughout audio work. It matters most the moment you start recording your own sources.
Quantization noise has a standard fix, and it sounds backwards: you add a little noise to cover it. When a file drops to a lower bit depth, dither mixes in a tiny amount of random noise first. That randomness lets sounds quieter than a single step still register instead of rounding to silence, and it turns the harsh, signal-locked rounding error into a smooth, even hiss the ear ignores. You get more low-level detail, not less.
You meet it at export. Ableton's export dialog turns on a Dither Options menu whenever you render below 32-bit. Your normal export is 32-bit, so it stays off, which is exactly what Ableton recommends. Use it only on a final reduction to 16-bit (a CD master, or a hand-off where someone asks for 16-bit): leave it on the default, Triangular, and apply it once, as the last thing that happens to the file. Dithering twice layers noise on noise.
Once you have an array of numbers representing audio, you have to store them somewhere. A file format is an agreement about how those numbers (and information about them: sample rate, bit depth, number of channels, length, etc.) get arranged inside a file. Different formats make different tradeoffs.
The simplest formats store the numbers as they are, every sample in order. WAV (developed by Microsoft) and AIFF (developed by Apple) are the two common uncompressed formats. They sound identical. They're different containers for the same kind of data.
Uncompressed audio is the highest quality possible from your source recording. The downside is file size. A 3-minute stereo song at 44.1 kHz / 16-bit takes about 30 MB as a WAV file. That was a lot in 1995 when CDs were the main music format. It's nothing now.
Use WAV for working files and final exports. It archives well.
Storage and bandwidth used to be expensive. Engineers worked out clever ways to make audio files smaller by throwing away information that the human ear can't easily hear: frequencies that are masked by louder ones, very high frequencies that older listeners can't perceive, redundancies in the signal. The result is a much smaller file that sounds almost the same. This is called lossy compression, because the discarded information is gone forever.
MP3, AAC (used by Apple Music and iTunes), and OGG Vorbis are common lossy formats. A 3-minute song that's 30 MB as a WAV might be 3 MB as a high-quality MP3, ten times smaller, and most listeners on most playback systems can't hear the difference.
Lossy formats are great for distribution. They're terrible for working files. Every time you re-export a lossy file, more information is lost. Editing an MP3, exporting it, editing the export, exporting again, will sound progressively worse, like making photocopies of photocopies. Always work in WAV. Convert to MP3 only at the end, when you need to share something small.
There's a middle option: formats that compress the file (making it smaller) without throwing away any information. FLAC (Free Lossless Audio Codec) and ALAC (Apple Lossless) are the two main lossless formats. A FLAC of that 30 MB WAV might be 18 MB, smaller than WAV, but able to be decoded back to the exact original. You won't use them often.
| Format | Compression | File size (3 min stereo) | Use for |
|---|---|---|---|
.wav | None | ~30 MB | Working, final exports, archives |
.aif | None | ~30 MB | Same as WAV (Apple ecosystem) |
.flac | Lossless | ~18 MB | High-quality distribution, archiving |
.mp3 | Lossy | ~3 MB | Casual sharing, streaming |
.aac / .m4a | Lossy | ~3 MB | Same as MP3 (Apple ecosystem) |
Most of the time you won't think about any of this. When something goes wrong, or when you want to make a deliberate aesthetic choice, this vocabulary lets you think clearly about it.
This is one of the most common ways a project goes wrong. You're working in a 48 kHz session and you drag in a 44.1 kHz sound file (or the other way around). Most DAWs will notice the mismatch and pop up a resample prompt: that's the safe path. But if you click through it, dismiss it, or use a tool that doesn't ask, the file's samples get played out at the project's rate without any conversion. The result is exactly the tape-speed effect: the file plays back at the wrong speed, and its pitch shifts with it.
Between 44.1 and 48 kHz the shift is about a semitone and a half: small enough that you might not catch it, but large enough to put a sample out of tune with the rest of your session. Drop a 44.1 kHz drum loop into a 48 kHz project without resampling and it plays slightly faster and higher than it should; do the reverse and it drags slightly slower and lower. Neither sounds obviously broken on its own.
Resampling is what fixes this: the DAW computes a new set of samples at the project's rate, so the file keeps its original duration and pitch when played back. Always say yes to the resample prompt, or convert the file beforehand (in an audio editor like Audacity, File → Export lets you set the target sample rate). The rule of thumb: match the project's sample rate before audio enters the timeline, not after.
A few takeaways:
Links and further reading to come.