Currently I'm working out plotting biquads in a VST/AU plugin and have problems with the graphics part. I posted in several forums but haven't got a really useful answer for this case.
First, tell me if I'm right how to get the magnitude response. For this I use this equation http://rs-met.com/documents/dsp/BasicDigitalFilters.pdf
Am I right that I have to get an array of values, the "points" which are my Y-axis values in my filter plot?
So far, so good. Now, how should I move on to plot this magnitude on screen? I'm really on a point I don't know how to go on.
I'm using the WDL/IPlug framework in which I can use DrawPoints(x,y) and DrawLine (x,y,x1,y1) classes for drawing.
Any help would be appreciated, especially code examples/snippets (I'm learning easier when I can see it...)!