DSP Basics
0 words 1 min read
The handful of digital-audio facts that explain most of the behaviour you will actually observe. Skip this and several things in the effects pages will look like superstition.
dB is a ratio, not a unit
Every dB value in this app is a ratio between two levels:
| Change | Amplitude ratio | Perceived as |
|---|---|---|
| +3 dB | ×1.41 | Barely louder |
| +6 dB | ×2.0 | Clearly louder |
| +10 dB | ×3.16 | About twice as loud |
| +20 dB | ×10 | Far louder, usually too much |
The consequence people miss: +3 dB is not "a little bit" — it is 41% more amplitude. That is why a "gentle" +3 dB shelf is audible immediately on good material, and why stacking four +3 dB moves gives you +12 dB (a 4× amplitude increase) without feeling like you did much.
Two different zeros
0 dBFS is digital full scale — the largest number a sample can hold. 0 dB SPL is the threshold of hearing. They share a unit name and nothing else. When this documentation says "−1 dBFS", it means "1 dB below maximum", never "quiet".
Sample rate sets bandwidth, bit depth sets dynamic range
| Property | Determined by | 44.1 kHz / 16-bit gives |
|---|---|---|
| Highest reproducible frequency | Sample rate ÷ 2 (Nyquist) | 22.05 kHz |
| Dynamic range (noise floor to full scale) | Bit depth × ~6 dB | ~96 dB |
| File size | Both | The baseline |
Two practical consequences:
- Upsampling does nothing. A 44.1 kHz file played at 96 kHz has no content above 22.05 kHz to reproduce — the extra samples are interpolated from the same information. Only the DAC's reconstruction filter changes, which is a hardware detail, not a fidelity gain.
- 24-bit exists for headroom, not detail. Its 144 dB of theoretical dynamic range is mostly unusable in a listening environment. Its real value is that you can record and process at low levels without hitting the noise floor — which is exactly what this app's internal float pipeline does for you.
Why the chain runs in floating point
Inside the DSP chain, samples are float, and they are allowed to exceed ±1.0 without distortion. That is the single most important architectural fact:
- An EQ boost can push a peak to +6 dB over full scale.
- A saturator can then work on that signal with its full curve.
- Only at the very end is the signal converted to 16-bit output, where anything above ±1.0 is clipped.
This is why the Preamp exists and why it matters: it moves the whole signal down so step 3 never has to clip. If you clipped at every stage the chain would sound completely different — every boost would be permanent distortion.
The one place it still bites
Truly analogue-domain clipping cannot be undone in float, and neither can clipping that already happened in the source file. A master that was crushed to −6 LUFS at the studio is already distorted; no amount of DSP here restores it.
Loudness and peak are different measurements
| Measurement | What it captures | Why it matters |
|---|---|---|
| Peak / dBTP | Highest single excursion, including inter-sample | What clips the DAC |
| LUFS (integrated) | Perceived loudness over time | What streaming platforms normalize on |
| RMS | Average energy | A rough loudness proxy, ignores frequency weighting |
A track can be quiet in LUFS and still clip (percussive material with isolated transients), or loud in LUFS and never clip (dense, limited material). That is why Limiter and Brickwall Limiter measure different things.
Masking: why fixing one thing breaks another
Human hearing does not analyse frequencies independently. A strong component at one frequency raises the threshold for nearby frequencies — they become inaudible even though they are still present in the signal.
Practical effects:
- Boost 3 kHz and the bass seems to lose weight, even though the bass is untouched.
- Cut 300 Hz and the treble seems brighter, for the same reason.
- Adding an exciter makes the low end feel tighter — not because it changed, but because the new harmonics mask it differently.
This is not imagination and it is not a bug. It is why the Tuning Guide insists on changing one thing at a time: every move you make changes how you hear everything else.
Latency comes from buffers, not from processing
Every stage here adds latency somewhere:
| Source | Typical |
|---|---|
| AudioTrack buffer | 20 – 100 ms depending on device |
| Convolution (Impulse) | Length of the IR |
| Brickwall lookahead | 1 – 10 ms |
| Time stretch | ~200 ms internal reserve |
For playback this is irrelevant. It matters only if you are watching video alongside — which is why lip-sync offset settings exist on some players, and why this app does not attempt video sync.
Where to go next
Signal Chain for why the stages are ordered as they are, Mixing Essentials for the listening rules that survive any gear, and Tuning Guide for how to put it to work.
