Rack DSP API levels


(Nikolai V. Chr.) #1

There is something I came to wonder about:
Does the Rack DSP API expect levels to be kept with certain amounts? (like +/- 1.0f or +/- 12.0f)
For example for using dsp/resampler.hpp


(Andrew Belt) #2

Processes like resampling, FFTs, and biquad filters are linear operations and therefore don’t care about the scale of their input. Usually I scale between -1 and 1, but this is just for bookkeeping. Nonlinear operations like distortions and analog-modeling filters are nonlinear so their input scale will give different behavior, like more saturation in those cases.


(Nikolai V. Chr.) #3

Thanks :slight_smile: