It is difficult too say which head room is required for your specific effect. You should simply try it out (with White noise, this gives the highest differencies)
I can only Show you how much the head room must be to use a high Quality resampling in Nyquist.
Put this code into the Nyquist prompt (under effects) and press the debug button.
Code: Select all
(setf srates '(192000 96000 48000 44100 32000 24000 22050 16000 12000 11025 8000))
(setf sr-len (length srates))
(abs-env
(dotimes (i sr-len) (dotimes (j sr-len)
(setf peak (peak (mult (/ 0.95)
(resample (sound-srate-abs (nth i srates)(noise))
(nth j srates))) ny:all))
(format t
"From ~a to ~a:
New peak ~a
Suggested amplification: ~a dB~%"
(nth i srates) (nth j srates) peak (linear-to-db (/ peak))))))
It's a Long listbecause it Shows 121 different combinations.
If the conversion is between the same sample rates, then this is intended and Shows how a high Quality Interpolation modifies a wave form when forced.
You can edit the 'srates' list and remove or add sample rates.
In General a head room of 3 to dB should be sufficient.
The values of the code example are based on White noise with a Peak of 1 (0 dB).
sharp edged wave forms will most likely overshoot the most.
Note that there are also results where the opposite is true - the Peak is smaller after the resamppling.
Note also that this resampling algorithm is not the one used by Audacity
(in the menu or on exporting).
If you want to use a limiter is up to you
There are mastering VSTs out there that do all in one.