[QoL] Write Slope Information for Each Filter Node in ScriptNode and FilterFX
Let's take out the guesswork.
@aaronventure no need to guess:
- one pole => 6db/ octave
- ladder filter & moog => 4 pole => 24db/octave
- every other filter is 2 pole => 12dB/octave
@Christoph-Hart thanks, chief.
you sure LR isn't 4-pole, too? I checked against 4 one-pole filters and it sounded similar. I wonder why that may be if it's 2 pole indeed.
Anyway, I'm sure to remember this but for the greater greatness and for everyone else who won't see this thread I'd kindly ask you to put that in the node descriptions and possibly somewhere in the FX Filter (text somehwere that changes once a different filter is selected from the dropdown) once you find yourself in that part of the codebase.
@aaronventure Ooops, you're right, from the JUCE docs:
Linkwitz-Riley filters are widely used in audio crossovers that have two outputs,
a low-pass and a high-pass, such that their sum is equivalent to an all-pass filter
with a flat magnitude frequency response. The Linkwitz-Riley filters available in
this class are designed to have a -24 dB/octave slope (LR 4th order).
Now that's what I call good documentation :)