Filter Curve Display

Post any examples or modules that you want to share here
Post Reply
glitchcpt
Posts: 54
Joined: Wed Oct 01, 2014 3:42 pm

Filter Curve Display

Post by glitchcpt »

Hey guys its me again :mrgreen:

I have another query, i think its still noob haha

anyway, I am trying to create a filter display curve, I managed to get this far, but it is acting rather like a peaking filter than a LPF in the display window.

Basically i need to make the float array append only the values below the "freq" input to -1, i think that should fix it, however I'm struggling with that,

Thanks in advance :D
Attachments
Filter Curve0.2.fsm
(28.02 KiB) Downloaded 1404 times
Last edited by glitchcpt on Sat Jan 17, 2015 12:29 pm, edited 2 times in total.
glitchcpt
Posts: 54
Joined: Wed Oct 01, 2014 3:42 pm

Re: Filter Curve Display

Post by glitchcpt »

UPDATE:

I managed to get the Band Pass, Band Reject and Peaking modes to display correctly :D
Still struggling with the Low Pass and High Pass
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Filter Curve Display

Post by KG_is_back »

I think your main problem is, that you're doing it all wrong. Inside there is a "biquad frequency response" primitive, that builds the graph. You input the biquad coefficients and it builds the array for graph in given range.

Just before the prim you have a module called "Peaking EQ Biquad Coeffs" that calculates the biquad coefficients of a peaking filter from frequency, rez and gain. In order to make the graph to show also other filter types than peaking, you need to make more of these modules - for each filter type one and select between them.

This may prove complicated, since you want to show response of a 3x oversampled state-variable filter (which is somewhat equivalent to oversampled biquads LPF BPF HPF combination).

What I recommend is to use copy of the filter, connect it to impulse and Analyser prims. And use FFTgraph prim to extract the frequency response.
glitchcpt
Posts: 54
Joined: Wed Oct 01, 2014 3:42 pm

Re: Filter Curve Display

Post by glitchcpt »

Thanks KG, I guess its all a learning experience right? :lol:

I will try that idea, thanks man
glitchcpt
Posts: 54
Joined: Wed Oct 01, 2014 3:42 pm

Re: Filter Curve Display

Post by glitchcpt »

Editted

So far so good, thanks KG :)

I just need to touch up the graphic elements a bit, but its kind of exactly what i was looking for :twisted:
Post Reply