HISE Filter Display Inconsistencies
-
@aaronventure tried it already got only gibberish…
-
@Christoph-Hart I got it working without the Q for the ladder filter but now I‘m stuck.
-
@Christoph-Hart sorry, what is normed x axis? You're passing in the frequency and then you're taking the return somewhere down the line and doing the log scaling?
-
@aaronventure I think
normedXAxis
means a 0-1 linear value for freq (log), to be confirmed...@Christoph-Hart Zavalishin's VA paper, aka THE paper...
I got a grasp on VA filters from some DSP popularising books. Now, to understand the original paper is a whole different story -
@Christoph-Hart said in HISE Filter Display Inconsistencies:
but to figure out the transfer function for the other filter types (ladder, moog, etc) would require me to actually understand this paper lol...
Yeah that things a nightmare _ i've tried a bunch of times, and struggle to get past the first section....
-
Alright, I've pushed the new filter graph API and also added support for creating custom filter curves using a SNEX node! You can now create your custom filters and then add a function to your SNEX class
double getPlotValue(int getMagnitude, double fNorm) { return 1.0f; // calculate the filter response here }
I've added a example to the snippet browser that implements the one pole filter including the filter graph creation entirely in SNEX.
https://docs.hise.dev/tutorials/scriptnode/index.html#snex-one-pole-filter
Let me know if you hit any issues. Maybe now that we've levelled the playing field and anybody can create those filter graphs, we can tackle the ladder filter response together...
-
@Christoph-Hart said in HISE Filter Display Inconsistencies:
we can tackle the ladder filter response together...
Maybe you can find some clues here?
https://github.com/grame-cncm/faustlibraries/blob/master/filters.lib
The ladder filter (as well as the filters.ladder node) currently in HISE is somewhat busted:
- Frequency parameter only does something until 7k, past that it does nothing
- Q only works from 0.6 to 8.0
-
@Christoph-Hart I could probably help with this. I'm calculating transfer functions all day