The DSP Toolbox
Most digital audio processors are built from combinations of a surprisingly small number of operations. Learn these building blocks and many “different” effects stop looking mysterious.
1. The small toolbox
z−1 is the standard DSP notation for a one-sample delay. We can also delay by many samples by storing a longer history in a buffer.
2. Click a processor — see what it is made from
3. You already know these examples
The signal is multiplied by a changing envelope value.
Several signals are added together.
A buffer stores samples, then a read position chooses which stored values to output.
STORE + many read positions + WINDOW × + ADD overlapping grains.
DELAY/STORE + FILTER + × gain + feedback + ADD.
STORE a tiny waveform and repeatedly read/interpolate it.
4. A filter is already a little DSP machine
A simple digital filter can combine the current input with earlier input or output samples. Those stored values are multiplied by coefficients and then added.
↑ ↑
DELAY/STORE → × coefficient
5. Dynamics add measurement and decisions
A compressor has to know something about the signal before it can decide how much gain to apply.
Attack, release, ratio, knee and detector behaviour make the system more sophisticated, but the conceptual skeleton is already visible.
6. Distortion can be a function
Distortion is a very direct DSP idea: change the numerical relationship between input and output.
A straight line gives clean gain. Bend, clip or curve that relationship and harmonics appear. Later we can draw the transfer function and hear it.
7. Reverb: the toolbox turns into a forest
A synthetic reverberator can contain many delayed paths, gains, filters, feedback loops and sums. The diagram becomes complicated, but the individual operations do not.
8. The map for the DSP chapter
↓
FILTERS · DELAYS · MODULATION EFFECTS · DISTORTION · DYNAMICS · REVERB
We will now take these operations one at a time, make them audible and visual, then recombine them into familiar processors and effects.