If you want, you should also be able to use the alternative bandwidth calculations for bell and shelf from the cookbook with these... though whether those are "better" are up for debate; straight BLT is too narrow at high frequencies (cramping), but the RBJ formula (in the case of the bell filter at least) is too wide, because it tries to preserve bandwidth between lower and upper band-edges which forces the lower band-edge way too low if the upper band-edge cramps against Nyquist.kerfuffle wrote: Tue Nov 05, 2024 10:42 pm Here is a basic implementation of the Cytomic SVF in C++: https://gist.github.com/hollance/2891d8 ... f0e1e55c4b
One simple trick that I like that provides a sort of "middle ground" for bell filters is to compute the tan-prewarp for both the cutoff and the theoretical lower band-edge, then compute the analog bandwidth from these two prewarped frequencies to get the Q for BLT. What this does is essentially keep the lower band-edge where it should be, while ignoring the total bandwidth... so the response below cutoff is closer to what it should be, even though the response above cutoff is still heavily cramped. I'll leave the math as an exercise to reader, but it's .. actually not terribly difficult.
