Introduction
Every time you hit record, something remarkable happens. A vibrating column of air becomes a voltage, the voltage becomes a stream of numbers, and those numbers are shaped, mixed and finally turned back into sound in someone's headphones. Understanding that journey is one of the most useful things a producer or creator can learn.
You do not need maths to make great records, but knowing how digital audio works helps you choose the right sample rate and bit depth, set healthy levels, read an analyser, understand what your plugins are really doing, and avoid problems before they happen.
This in-depth guide brings together everything on the site about digital signal processing (DSP) and the Fourier transform into one place. It starts with the basics of sound and signals, moves through sampling and bit depth, explains how Fourier turned sound into frequencies, and finishes with how DSP powers the tools you use every day, plus the settings I recommend.
Summary
- Sound is a continuous wave; digital audio is a series of snapshots of that wave, called samples.
- Sample rate sets the highest frequency you can capture. Bit depth sets how quiet the noise floor is, and therefore your dynamic range.
- The Fourier transform shows the frequencies inside a sound. It powers analysers, EQ, noise reduction, pitch and time tools, reverbs and audio compression.
- DSP is simply maths applied to those numbers. Every plugin, interface and pair of noise-cancelling headphones relies on it.
- For most creators, recording at 48 kHz and 24-bit with peaks well below 0 dBFS is the sweet spot.
From Sound to Signal
Sound is a pressure wave moving through the air. A microphone turns those pressure changes into a matching electrical voltage, called an analogue signal. It is continuous: at every instant in time it has a value, and that value can be anything within its range.
Computers cannot store something infinitely detailed, so an analogue-to-digital converter (ADC) in your audio interface or recorder measures the voltage thousands of times a second and stores each measurement as a number. The result is a discrete signal: a list of values taken at regular moments in time. On playback, a digital-to-analogue converter (DAC) turns those numbers back into a smooth voltage for your speakers or headphones.
Audio as a time series
That list of numbers, each one tied to a moment in time, is what data scientists call a time series. The waveform you see in your DAW is simply that time series drawn on screen: time runs left to right, and the height shows the level of each sample. Viewing audio this way is called the time domain. It is perfect for editing, because you can see where words start, where a drum hits and where the clipping is.
What the waveform does not show clearly is which frequencies are present. For that we need the frequency domain, which we will come to shortly.
Sample Rate: How Often We Measure
The sample rate is how many measurements are taken every second. CD audio uses 44,100 samples per second (44.1 kHz), and video and broadcast normally use 48 kHz.
The Nyquist rule
The key idea here is the Nyquist–Shannon sampling theorem: to capture a frequency accurately, you need to sample at more than twice that frequency. The highest frequency a sample rate can represent, half the sample rate, is called the Nyquist frequency.
| Sample rate | Highest frequency captured | Typical use |
|---|---|---|
| 44.1 kHz | 22.05 kHz | CD and much music distribution |
| 48 kHz | 24 kHz | Video, YouTube, podcasts, broadcast |
| 96 kHz | 48 kHz | Some music production, sound design and heavy pitch or time manipulation |
Human hearing tops out at around 20 kHz, and less as we get older, so 44.1 kHz and 48 kHz already cover everything we can hear. Higher rates can help with some extreme processing and sound design, but they use more storage and processing power and are not automatically "better quality".
Aliasing
If frequencies above the Nyquist frequency reach the converter, they do not simply disappear. They fold back down and appear as unrelated, inharmonic tones lower in the spectrum. This is called aliasing. Converters prevent it with an anti-aliasing filter before sampling, and good plugins use oversampling when they add harmonics, as saturation, distortion and some compressors do, to keep those new harmonics from folding back.
Bit Depth: How Precisely We Measure
Each sample is stored as a number with a fixed number of bits. More bits means finer steps between the quietest and loudest possible values. Rounding each measurement to the nearest step is called quantisation, and the tiny rounding errors create a low level of noise.
As a rule of thumb, every bit adds about 6 dB of dynamic range:
| Bit depth | Theoretical dynamic range | Where you will meet it |
|---|---|---|
| 16-bit | About 96 dB | CD, many final masters |
| 24-bit | About 144 dB (real converters achieve less) | Recording and mixing standard |
| 32-bit float | Vast headroom; very hard to clip internally | DAW processing, some field recorders |
The real benefit of 24-bit for creators is headroom. You can record with plenty of space below 0 dBFS and still keep the noise floor far below anything you will hear. Some recorders now capture in 32-bit float, which makes it extremely difficult to ruin a take by setting the level wrong. A compact handheld recorder such as the Zoom H1essential is an affordable example.
dBFS and clipping
Digital levels are measured in dBFS (decibels relative to full scale). 0 dBFS is the absolute ceiling: anything louder is cut off flat, which is called clipping and sounds harsh. That is why we record with peaks comfortably below zero and leave headroom for processing.
Dither
When you reduce bit depth, for example exporting a 24-bit mix to a 16-bit file, the rounding errors can become audible as gritty distortion on quiet fades and reverb tails. Dither adds a tiny amount of carefully shaped noise that smooths those errors into a gentle, far less noticeable hiss. Apply it once, as the very last step, only when lowering bit depth.
Frequency: The Other Way to See Sound
Every sound you hear is made from a mixture of frequencies. A bass guitar has strong energy in the low frequencies, a voice is concentrated in the midrange, and cymbals live mostly in the highs. Viewing audio as a set of frequencies and their levels, rather than as a waveform over time, is called the frequency domain.
Both views describe exactly the same sound. The time domain tells you when things happen; the frequency domain tells you what they are made of. Moving between the two is what Joseph Fourier made possible more than 200 years ago.
For a deeper look at how frequency affects what you hear from your monitors, read Speaker Frequency Response Explained for Content Creators.
The Fourier Series: Building Sounds from Sine Waves
Fourier's big idea was that any repeating waveform, however complicated, can be built by adding together simple sine waves at different frequencies, levels and phases. This recipe is called the Fourier series.
For a musical note, those sine waves are the fundamental (the pitch you hear) plus a series of harmonics at whole-number multiples of it. The balance of those harmonics is what gives each instrument its timbre, which is why a piano and a violin playing the same note still sound completely different.
- Sine wave: just the fundamental, with no harmonics. Pure and smooth.
- Square wave: the fundamental plus odd harmonics only (3rd, 5th, 7th and so on), each quieter than the last. Hollow and woody.
- Sawtooth wave: the fundamental plus every harmonic, each quieter than the last. Bright and buzzy, perfect for strings and leads.
- Triangle wave: odd harmonics that fade away much faster than a square wave's. Soft and flute-like.
Where you use it
- Synthesis: subtractive synths start with harmonically rich waves and filter harmonics away; additive synths build sounds by stacking sine waves directly; wavetable synths sweep between harmonic recipes.
- Saturation and warmth: analogue-style saturation adds harmonics. Even-order harmonics tend to sound warm and smooth; odd-order harmonics sound edgier.
- Sound design: understanding harmonics helps you make a bass that cuts through on small speakers, by adding upper harmonics the listener's brain uses to "hear" the missing fundamental.
The Fourier Transform and the FFT
The Fourier series works for repeating waveforms. Real audio, such as speech, music and noise, constantly changes. The Fourier transform extends the idea to any signal, revealing which frequencies are present and how strong they are.
Computers use a very fast method of calculating it called the Fast Fourier Transform (FFT). Audio software runs the FFT on short, overlapping slices of sound, many times a second. Stack those slices side by side and you get a spectrogram: time runs left to right, frequency runs bottom to top, and brightness shows level. It is like seeing a sound's fingerprint.
The time–frequency trade-off
There is one unavoidable compromise. Longer slices (larger FFT sizes) give finer frequency detail but blur timing, while shorter slices give sharp timing but coarser frequency detail. At 48 kHz, an FFT size of 4,096 samples covers about 85 milliseconds and splits the spectrum into steps of roughly 11.7 Hz. That is great for seeing low notes, but it smears fast transients. This is why analysers and spectral editors let you change the FFT size, and why some spectral processes add latency.
Where the Fourier transform shows up in your workflow
- Spectrum analysers: the real-time display in your EQ or metering plugin is an FFT. Use it to spot rumble, harsh resonances and masking between instruments, but always confirm by ear.
- Spectral noise reduction: tools learn the frequency profile of hiss, hum or room noise and reduce it while leaving the voice. For hands-on clean-up, iZotope RX11 Elements is a popular choice.
- Spectral repair: in a spectrogram editor you can see a phone buzz, a cough or a squeaky chair and paint it out.
- Pitch and time tools: many time-stretching and pitch-shifting algorithms work in the frequency domain.
- Linear-phase EQ and convolution reverb: both rely on FFT maths to work efficiently.
- Audio compression formats: MP3 and AAC use Fourier-related transforms to discard detail you are unlikely to hear, shrinking file sizes dramatically.
- Music recognition and content ID: services identify songs by matching patterns in their spectrograms.
- Mix translation: comparing the spectrum of your mix with a reference helps it sound balanced on headphones, monitors and phones. Check it on a reliable pair such as Samson SR850 Studio Headphones.
Digital Signal Processing (DSP)
Digital signal processing means using maths to change or analyse a digital signal. Once your audio is a stream of numbers, every effect is a calculation: multiply the numbers to change the volume, combine delayed copies to create echo, or weight the frequencies to EQ.
The core building blocks
| Process | What the maths does | What you hear |
|---|---|---|
| Gain | Multiplies every sample by a value | Louder or quieter |
| Filters and EQ | Combine each sample with recent ones to boost or cut frequency ranges | Tone shaping, removing rumble or harshness |
| Dynamics | Measure level and change gain automatically | Compression, limiting, gating, de-essing |
| Delay | Stores samples and plays them back later | Echo, doubling, chorus and flanging |
| Reverb | Builds dense networks of delays, or convolves with a recorded space | The sense of a room or hall |
| Spectral processing | Works on FFT data, then converts back | Noise reduction, spectral repair, some pitch and time effects |
| Analysis | Measures level, loudness and frequency content | Meters, analysers, tuners, loudness readings |
Where DSP lives
- In your computer: every plugin and DAW effect is DSP running on your processor.
- In your audio interface: some interfaces include dedicated DSP chips for zero-latency monitoring effects, mixing and routing. A simple, reliable interface such as the Steinberg IXO22 handles the conversion cleanly so your software has good material to work with.
- In your monitors: many active speakers use DSP for crossovers, protection and room correction. For an honest reference, many home studios start with a pair such as the Yamaha HS5.
- In everyday tech: noise-cancelling headphones, smart speakers, phones, hearing aids and video calls all depend on DSP running in real time.
Latency and buffer size
Processing takes time. Your computer handles audio in small blocks called buffers, and the size of those blocks sets your latency. At 48 kHz, a 256-sample buffer is about 5.3 milliseconds each way, before converter and plugin delays are added. Use a small buffer when recording and monitoring through plugins, and a larger one when mixing, so your computer can run more processing without clicks and dropouts.
Does DSP make a difference?
Absolutely. DSP is what lets a modest home setup compete with studios that once needed racks of hardware. It can rescue noisy recordings, fix problem rooms and give you endless creative effects. It cannot, however, add detail that was never captured. A good microphone, a treated room and sensible gain staging still give DSP the best possible starting point.
Recommended Settings for Creators
| Project | Sample rate | Bit depth | Notes |
|---|---|---|---|
| YouTube, video and podcasts | 48 kHz | 24-bit (or 32-bit float) | Matches video standards and avoids conversion |
| Music production | 44.1 or 48 kHz | 24-bit | Higher rates only if your workflow genuinely benefits |
| Sound design and heavy pitch or time work | 96 kHz | 24-bit | Extra headroom for extreme processing |
| Final delivery | As the platform requires | Usually 16- or 24-bit | Dither once when reducing bit depth |
- Set levels sensibly: aim for speech and instruments to average roughly −18 to −12 dBFS with peaks well below 0 dBFS.
- Keep one sample rate throughout a project to avoid unnecessary conversion.
- Check loudness before you publish with our free LUFS tool.
- Use analysers as a guide, not a judge. If it sounds right on several systems, it usually is.
How to Learn More
Learning DSP is easier than it looks if you start with your ears and add theory gradually:
- Experiment in your DAW. Open a spectrum analyser on different instruments and watch what EQ, saturation and compression do. Free editors such as Audacity include a spectrogram view.
- Play with a synth. Switch between sine, square and sawtooth waves and sweep a filter to hear the Fourier series in action.
- Read a friendly overview. Analog Devices' beginner's guide to digital signal processing is a clear introduction, and The Scientist and Engineer's Guide to Digital Signal Processing is free online when you want the full theory.
- Try some code. The librosa tutorial shows how to analyse audio in Python, including spectrograms and time-stretching.
- Build something. If you enjoy hands-on projects, an Arduino or Raspberry Pi kit is a fun way to explore real-time audio processing.
To see where DSP is heading next, read AI in the Studio: Tools Creators Actually Use.
Final Thoughts
Digital audio can sound intimidating, but the core ideas are simple. Sound becomes samples; sample rate and bit depth set the limits; Fourier lets us see the frequencies inside a sound; and DSP is the maths that shapes it all. Once you understand that chain, your plugins stop being mysterious boxes and become tools you can use with intent.
The best part is that you can hear every one of these ideas for yourself. Open an analyser, record a test at different levels, sweep a filter on a sawtooth wave, and listen. Your ears, guided by a bit of understanding, are still the most powerful processor in the studio.
Enjoyed this guide to how digital audio works? Get occasional audio insight updates when new creator-focused guides go live. No spam, just practical ideas. Subscribe below.
_____________________________________
Frequently Asked Questions (FAQ)
Is a higher sample rate always better quality?
No. 44.1 kHz and 48 kHz already capture the full range of human hearing. Higher rates can help with some extreme processing, but they use more storage and processing power and do not automatically sound better.
Should I record in 16-bit or 24-bit?
Record in 24-bit (or 32-bit float if your recorder supports it). It gives you much more headroom and a lower noise floor, so you can leave space below 0 dBFS without losing quality.
What is the difference between the Fourier series and the Fourier transform?
The Fourier series describes repeating waveforms as a sum of harmonics. The Fourier transform works on any signal, including changing sounds such as speech and music, and shows its frequency content. Software uses the FFT to calculate it quickly.
What does DSP mean on an audio interface or speaker?
It means the device has a processor that runs effects or corrections on the audio itself, such as low-latency monitoring effects, mixing, crossovers or room correction, without relying on your computer.
Why does my audio crackle when I add plugins?
Your computer is struggling to finish its processing within the buffer time. Increase the buffer size while mixing, freeze or bounce heavy tracks, and keep the small buffer for recording.
Do I need maths to use DSP?
Not at all. Understanding the concepts in this guide is enough to make better decisions. The maths only matters if you want to design your own plugins or hardware.
____________________________________
As an Amazon Associate, I earn from qualifying purchases. This means some of the links on this page are affiliate links, and if you choose to make a purchase through them, I may receive a small commission at no extra cost to you. This helps support the free, creator‑focused content I share here—thank you for your support.
