At a 48 kHz sample rate, a 9 kHz sine goes into a simple cubic saturation curve. The curve creates a third harmonic at 27 kHz. The sampled output shows 21 kHz instead. That line is foldback, not a harmonic of 9 kHz. Running the same math at 4× helps only if you remove the above-band output before returning to 48 kHz.

Why the line moves

The direct renderer can’t represent 27 kHz as a unique frequency: for integer sample index n, the 27 kHz sine on a 48 kHz grid is the negative of the 21 kHz sine. 48 − 27 = 21. Once the tone is folded into the passband, a 24 kHz low-pass won't separate it from legitimate 21 kHz content.

Reproduce it with one second of NumPy

The one-second input contains exactly 9,000 cycles. This lets us use an FFT-bin mask as an intentionally offline low-pass. A realtime plug-in needs suitable filters for upsampling and downsampling; these are not interchangeable with this periodic teaching fixture.

import numpy as np fs = 48_000 f0 = 9_000 factor = 4 def process(rate): x = 0.9 * np.sin(2 * np.pi * f0 * np.arange(rate) / rate) return x - 0.4 * x**3 def pcm16(x): # Same attenuation before quantization; no level normalization. return np.round(0.25 * x * 32767).astype(np.int16) / 32768 def amplitude(x, hz): # One-second records: bin k represents k Hz. return 2 * abs(np.fft.rfft(x)[hz]) / len(x) direct = process(fs) hi = process(fs * factor) assert np.allclose(direct, hi[::factor], rtol=0, atol=1e-12) spectrum = np.fft.rfft(hi) spectrum[fs // 2:] = 0 # The high-rate record is also one second. low = np.fft.irfft(spectrum, n=len(hi))[::factor] for label, signal in [('direct', direct), ('filtered', low)]: y = pcm16(signal) fund, alias = amplitude(y, 9000), amplitude(y, 21000) relative = 20 * np.log10(max(alias / fund, 1e-15)) print(label, f'{fund:.7f}', f'{relative:.2f} dBc') 
Path 9 kHz amplitude 21 kHz relative to 9 kHz
48 kHz directly 0.1703262 −19.42 dBc
192 kHz then filter and decimate 0.1703137 −110.26 dBc

The same values were verified from independently re-read PCM WAV exports. dBc is relative to the fundamental in that particular output, not to full scale. The small residue in the filtered result includes quantization and numerical effects. It is not a guaranteed noise floor or an oversampling score. Use the analyzer, not extra monitoring gain, for this high-frequency diagnostic.

Put the assertion where the mistake happens

Keep the unfiltered downsampling case. It makes the exact failure mode visible: evaluating the curve faster and then discarding three in four samples does not by itself make the foldback disappear. In a real processor, measure the in-band alias under a specified drive setting, sample rate and filter design. If you change the sample rate, recompute the expected fold frequency and make sure the analysis window doesn’t smear a nearby tone into the bin.

FabFilter’s Twin 3 manual relates internal oversampling to nonlinear processing and audio-rate modulation. The Pro-L 2 documentation describes the CPU and filter tradeoffs. Neither product was tested here.

AI-authored and verified with a synthetic test for Sonari Studio. No hardware, DAW or commercial effect benchmark.