Audio Fundamentals: From Waveform to Master
A grounding in how sound works physically and digitally, how it is shaped in a studio and how it reaches listeners, from the first vibration to the finished master.
Sound as a wave
Sound is a pressure wave: vibrations in air, or another medium, that alternately compress and spread out the molecules they pass through. A waveform plots that pressure over time. Its frequency, measured in hertz (cycles per second), is heard as pitch; young people with healthy hearing can typically hear from about 20 Hz to about 20,000 Hz, and the upper limit falls with age. Its amplitude, the size of the pressure changes, is heard roughly as loudness. Real sounds combine many frequencies at once, and the balance of those components, including harmonics above the fundamental, gives each instrument its timbre.
Level is described with the decibel, a logarithmic unit that expresses ratios. Because hearing spans an enormous range of pressures, a logarithmic scale is practical: an increase of about 6 dB doubles the sound pressure, while listeners typically judge an increase of about 10 dB as roughly twice as loud. In digital systems levels are measured in decibels relative to full scale (dBFS), where 0 dBFS is the highest level a system can represent and every other level is negative.
From air to numbers
Digital audio represents a continuous wave as a series of measurements. The sample rate is how many measurements are taken per second, and the bit depth is how precisely each one is recorded. The Nyquist-Shannon sampling theorem shows that a band-limited signal can be reconstructed exactly if it is sampled at more than twice its highest frequency. That is why the compact disc standard uses 44,100 samples per second, comfortably above twice the limit of human hearing, and why converters filter out content above half the sample rate, the Nyquist frequency, to prevent aliasing.
Bit depth determines the noise floor and therefore the dynamic range. Each bit adds about 6 dB, so 16-bit audio, the CD standard, offers about 96 dB, while 24-bit audio offers a theoretical 144 dB, more than any real converter or room can use. Recording at 24 bits gives headroom, so levels need not be pushed close to the clipping point. Dither, a small amount of deliberately added noise, is applied when reducing bit depth to avoid distortion. Higher sample rates such as 96 kHz have uses in some processing, but their audible benefit for playback is disputed.
Making sounds: synthesis
A synthesizer generates sound electronically rather than recording it, and its building blocks recur across nearly every design. An oscillator produces a basic waveform, such as a sine, square, sawtooth or triangle wave, each with a characteristic harmonic content. A filter removes or emphasizes frequency ranges; a low-pass filter darkening a bright sawtooth is the classic sound of subtractive synthesis. An envelope with attack, decay, sustain and release stages (ADSR) shapes how volume or filter cutoff changes over the life of a note, and low-frequency oscillators add periodic movement such as vibrato.
Other methods produce different families of sound. FM synthesis, developed by John Chowning at Stanford and licensed to Yamaha, which used it in the DX7 of 1983, modulates one oscillator's frequency with another to create complex, often bell-like or metallic timbres. Granular synthesis builds textures from thousands of tiny fragments of recorded sound, wavetable synthesis sweeps through stored waveforms and physical modeling simulates the mechanics of real instruments. Sampling, the playback of recorded sounds, blurs the line between synthesis and recording.
The studio and the signal chain
The digital audio workstation (DAW) is software for recording, editing, arranging and mixing audio and MIDI on a computer. Audio usually reaches it through an audio interface, which contains microphone preamplifiers to raise weak signals, analog-to-digital converters to turn them into numbers and digital-to-analog converters to send audio to headphones and monitors. The path a signal takes, from source through microphone, preamp, converter and software processing and back out to speakers, is the signal chain, and a problem at any stage, from a noisy room to a clipped preamp, carries through to the end.
Two practical concerns shape this chain. Gain staging means keeping signal levels healthy at every stage: high enough to stay well above noise, low enough to avoid clipping. Latency is the delay between a sound entering the system and being heard. It depends largely on the buffer size the software uses: at 48 kHz, a 256-sample buffer adds about 5.3 milliseconds in each direction before other overheads. Smaller buffers reduce latency but demand more from the processor, so musicians often use small buffers while recording and larger ones while mixing.
Shaping sound: EQ, dynamics and space
Equalization (EQ) adjusts the level of frequency ranges. High-pass filters remove rumble below an instrument's useful range, cuts reduce resonances or muddiness and boosts add presence or air. Because many instruments overlap in frequency, much mixing consists of carving space so each can be heard. Compression reduces the difference between loud and quiet passages: when a signal exceeds a threshold, the compressor turns it down according to a ratio, with attack and release settings controlling how quickly it reacts. Used well, it makes a vocal sit steadily in a mix; overused, it flattens the life out of a performance.
Time-based effects create a sense of space. Reverb simulates the dense reflections of a room, hall or plate, from early reflections to a decaying tail, and convolution reverbs use recorded impulse responses of real spaces. Delay repeats a signal after a set time, from short slapback echoes to rhythmic repeats synced to tempo, a technique dub engineers turned into an art. Sidechain compression, in which one signal controls the compression of another, lets a kick drum briefly duck a bassline and creates the pumping effect common in dance music.
Mixing and mastering
Mixing combines many recorded tracks into a stereo or immersive whole. A mix engineer balances levels and places sounds across the stereo field with panning, shapes each track with EQ, compression and effects and automates changes over time. The goals are clarity, emotional impact and translation: a good mix sounds right on studio monitors, earbuds, car speakers and phones. Reference tracks, regular breaks and listening at moderate volume all help, because ears tire and adapt over a long session.
Mastering is the final stage before release. A mastering engineer listens with fresh ears in a carefully treated room, makes broad adjustments with EQ and compression, sets the final loudness with a limiter, sequences tracks and prepares files for each format. For decades, competition to sound louder than other records drove the loudness war, in which heavy limiting reduced dynamic range. Loudness normalization on streaming services has weakened that incentive, because loud masters are simply turned down to a target level, commonly around -14 to -16 LUFS, a loudness unit defined in international broadcast standards.
Codecs and delivery
Uncompressed audio files are large, so audio is often compressed for storage and streaming. Lossless compression, used by formats such as FLAC, typically shrinks files to roughly half to two-thirds of their original size while allowing every original sample to be reconstructed exactly. Lossy compression discards information judged inaudible to reach much smaller sizes. Codecs such as MP3, AAC and Opus rely on psychoacoustic models of masking, the tendency of a loud sound to hide quieter sounds near it in frequency or time. At adequate bit rates, well-designed lossy codecs are hard to distinguish from the source in blind tests; at low bit rates, artifacts such as smeared transients and swishy high frequencies appear.
Psychoacoustics: hearing is interpretation
Psychoacoustics studies how people perceive sound, and it underlies everything above. Hearing is not equally sensitive at all frequencies: equal-loudness contours, first measured by Harvey Fletcher and Wilden Munson in the 1930s, show that the ear is most sensitive in the region of roughly 2 to 5 kHz and much less sensitive to low bass at quiet volumes, which is why mixes sound different at different playback levels. The brain locates sounds using tiny differences in timing and level between the two ears and the filtering of the outer ear, the basis of spatial audio.
Perception is also easily biased. People reliably judge a slightly louder version of the same sound as better, so fair comparisons of equipment or processing require level matching and, ideally, blind listening. Expectations shaped by price, brand or appearance influence judgments as well. Understanding these limits, together with the physics and the digital basics, is the foundation for recording, producing and listening critically, and the entries linked throughout this guide explain each technique and tool in more depth.
Key takeaways
- Sound is a pressure wave whose frequency is heard as pitch and whose amplitude, measured in decibels, is heard roughly as loudness.
- Sample rate must exceed twice the highest frequency captured, and each bit of depth adds about 6 dB of dynamic range.
- Synthesizers build sound from oscillators, filters and envelopes, while FM, granular and other methods create different timbres.
- EQ, compression, reverb and delay are the core tools of mixing, and mastering prepares the final mix for release.
- Lossy codecs and loudness normalization both depend on psychoacoustics, the study of how hearing actually works.
Further reading in the atlas
Audio Filter
Circuit or algorithm that changes the balance of frequencies in a signal, passing some and attenuating others, as in low-pass and high-pass filters.
ADSR Envelope
Four-stage control signal of attack, decay, sustain and release that shapes how a sound's level or another parameter changes over the course of a note.
Delay (Audio Effect)
Audio effect that records an input signal and plays it back after a set time, creating echoes that can repeat and decay through feedback.
Audio Mixing
The process of combining and balancing multiple recorded tracks into a final stereo or multichannel version, using level, panning, EQ and effects.
Sidechain Compression
Compression technique in which one audio signal controls the gain reduction applied to another, so that the second dips whenever the first plays.
Compression of digital audio that reduces file size while allowing exact, bit-for-bit reconstruction of the original samples on decoding.
FLAC
Open, royalty-free audio format that compresses digital audio without losing any information, widely used for music archiving.
Opus
Open, royalty-free audio codec standardized by the IETF in 2012 that handles both speech and music with very low delay.
MP3
Lossy audio format developed largely at Germany's Fraunhofer institute that made music small enough to share and carry as computer files.
Spatial Audio
Audio techniques that place sounds around and above the listener in three dimensions, using multiple speakers or binaural processing for headphones.
John Chowning
American composer and Stanford researcher who discovered FM synthesis, the technique behind the Yamaha DX7 and many digital instruments.
Audio Plugin
Software component that adds an effect, instrument or analysis tool to a host application such as a digital audio workstation.
More guides
All guidesFree and open-source tools can cover recording, editing, sequencing, DJing, sound design and live coding. A map of the main programs, the Linux audio stack, free samples, licensing and community.
What AI is and is not, how systems learn from data, how large language models are trained and run, where they fail and why their safety is debated.
Every program begins as a problem and an algorithm, then passes through languages, tools, tests, reviews and years of maintenance. This guide traces that path and the ideas that hold it together.