Re: [PD] algorithms for drawing filter response curves

2011-02-17 Thread Mike Moser-Booth
Awesome! I would like to be able to see the phase response, but since most of the time the user is only interested in the magnitude response, I think it should be something you can switch to with a message. .mmb On Wed, Feb 16, 2011 at 1:53 AM, Hans-Christoph Steiner h...@at.or.atwrote: Ok, I

Re: [PD] algorithms for drawing filter response curves

2011-02-17 Thread Hans-Christoph Steiner
On Feb 16, 2011, at 9:17 PM, Spencer Russell wrote: On Wed, Feb 16, 2011 at 1:53 AM, Hans-Christoph Steiner h...@at.or.at wrote: Ok, I got it working in a limited way as a Pd object and I was controlling my first filter against noise! Good fun. You can still run the .tcl file as a

Re: [PD] algorithms for drawing filter response curves

2011-02-17 Thread Hans-Christoph Steiner
Did you see the phase line in the current implementation? I think its nice to have it there all the time, as long as its not dominant. I think having the phase line there will remind people that the effects of filters are never as simple as removing selected frequencies. .hc On Feb 17,

Re: [PD] algorithms for drawing filter response curves

2011-02-17 Thread Hans-Christoph Steiner
Ok, I pushed updates to the git repo so it should now run using Pd older than 0.43. .hc On Feb 17, 2011, at 12:53 PM, Mike Moser-Booth wrote: Awesome! I would like to be able to see the phase response, but since most of the time the user is only interested in the magnitude response, I

Re: [PD] algorithms for drawing filter response curves

2011-02-17 Thread Spencer Russell
Very cool. Works for me, now. Strangely within the help patch my cursor is always the arrow, and doesn't change to the hand when I'm in Edit Mode, and doesn't highlight when the cursor is over inlets/outlets. -spencer On Thu, Feb 17, 2011 at 9:20 PM, Hans-Christoph Steiner h...@at.or.at wrote:

Re: [PD] algorithms for drawing filter response curves

2011-02-17 Thread Mike Moser-Booth
I think people should realize it, but the helpfile will probably remind them, too. I mean, I'm the type of person that would probably want to see it, but I don't think it's something that always needs to be seen. In general, I don't think people are particularly interested in how a lowpass filter

Re: [PD] algorithms for drawing filter response curves

2011-02-16 Thread Spencer Russell
On Wed, Feb 16, 2011 at 1:53 AM, Hans-Christoph Steiner h...@at.or.at wrote: Ok, I got it working in a limited way as a Pd object and I was controlling my first filter against noise!  Good fun. You can still run the .tcl file as a standalone GUI for dev work.  Get it from my git:

Re: [PD] algorithms for drawing filter response curves

2011-02-15 Thread Hans-Christoph Steiner
Nice, it works for me! I'll take a stab at making it work as a Pd object now, I'll try tonight. .hc On Tue, 2011-02-15 at 18:31 -0500, Mike Moser-Booth wrote: Hey Hans, Here's an update of filterview. There are now procs for the following filters: lowpass highpass allpass

Re: [PD] algorithms for drawing filter response curves

2011-02-15 Thread Hans-Christoph Steiner
Ok, I got it working in a limited way as a Pd object and I was controlling my first filter against noise! Good fun. You can still run the .tcl file as a standalone GUI for dev work. Get it from my git: https://github.com/pd-projects/filterview It would be quite nice if the phase was

Re: [PD] algorithms for drawing filter response curves

2011-02-09 Thread Hans-Christoph Steiner
On Feb 7, 2011, at 3:05 PM, cyrille henry wrote: Le 07/02/2011 20:50, Hans-Christoph Steiner a écrit : ... I like that [bq~] has audio inputs, yep, that's very useful. but can you send a list of them to the first inlet, like [biquad~]? no, you need an unpack f f f f f... i think to

Re: [PD] algorithms for drawing filter response curves

2011-02-09 Thread Hans-Christoph Steiner
That's awesome, thanks! I committed it under your name: https://github.com/pd-projects/filterview I'd like to implement all of the relevant filters, which algorithms should I use? Or even better, perhaps you want to take a crack at it while I figure out how to display the x/frequency on

Re: [PD] algorithms for drawing filter response curves

2011-02-09 Thread Mike Moser-Booth
Sure, I can throw the others together. Now that one is done the rest should fall into place pretty easily. It might take me a couple of days to get to it, though. .mmb On Wed, Feb 9, 2011 at 11:47 PM, Hans-Christoph Steiner h...@at.or.atwrote: That's awesome, thanks! I committed it under

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread volker böhm
On 07.02.2011, at 00:12, Hans-Christoph Steiner wrote: I've started to write a GUI for generating biquad coefficients (something like Max/MSP's [filtergraph~]). I've gotten the GUI interaction working well, now I'm looking for the algorithms for generating a plot of the frequency

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread Bernardo Barros
2011/2/6 Hans-Christoph Steiner h...@at.or.at: I've started to write a GUI for generating biquad coefficients (something like Max/MSP's [filtergraph~]).  I've gotten the GUI interaction working well, now I'm looking for the algorithms for generating a plot of the frequency response of a given

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread cyrille henry
Le 07/02/2011 12:12, volker böhm a écrit : On 07.02.2011, at 00:12, Hans-Christoph Steiner wrote: I've started to write a GUI for generating biquad coefficients (something like Max/MSP's [filtergraph~]). I've gotten the GUI interaction working well, now I'm looking for the algorithms

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread Hans-Christoph Steiner
On Feb 7, 2011, at 6:36 AM, cyrille henry wrote: Le 07/02/2011 12:12, volker böhm a écrit : On 07.02.2011, at 00:12, Hans-Christoph Steiner wrote: I've started to write a GUI for generating biquad coefficients (something like Max/MSP's [filtergraph~]). I've gotten the GUI

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread Hans-Christoph Steiner
On Feb 7, 2011, at 6:12 AM, volker böhm wrote: On 07.02.2011, at 00:12, Hans-Christoph Steiner wrote: I've started to write a GUI for generating biquad coefficients (something like Max/MSP's [filtergraph~]). I've gotten the GUI interaction working well, now I'm looking for the

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread Hans-Christoph Steiner
On Feb 7, 2011, at 12:43 PM, Hans-Christoph Steiner wrote: On Feb 7, 2011, at 6:12 AM, volker böhm wrote: On 07.02.2011, at 00:12, Hans-Christoph Steiner wrote: I've started to write a GUI for generating biquad coefficients (something like Max/MSP's [filtergraph~]). I've gotten the

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread Claude Heiland-Allen
On 06/02/11 23:12, Hans-Christoph Steiner wrote: now I'm looking for the algorithms for generating a plot of the frequency response of a given set of biquad coefficents? See perhaps: http://www-users.cs.york.ac.uk/~fisher/mkfilter/ In particular:

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread cyrille henry
Le 07/02/2011 18:40, Hans-Christoph Steiner a écrit : On Feb 7, 2011, at 6:36 AM, cyrille henry wrote: Le 07/02/2011 12:12, volker böhm a écrit : On 07.02.2011, at 00:12, Hans-Christoph Steiner wrote: I've started to write a GUI for generating biquad coefficients (something like

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread Hans-Christoph Steiner
On Feb 7, 2011, at 2:39 PM, cyrille henry wrote: Le 07/02/2011 18:40, Hans-Christoph Steiner a écrit : On Feb 7, 2011, at 6:36 AM, cyrille henry wrote: Le 07/02/2011 12:12, volker böhm a écrit : On 07.02.2011, at 00:12, Hans-Christoph Steiner wrote: I've started to write a GUI for

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread Mathieu Bouchard
On 07.02.2011, at 00:12, Hans-Christoph Steiner wrote: I've started to write a GUI for generating biquad coefficients (something like Max/MSP's [filtergraph~]). I've gotten the GUI interaction working well, now I'm looking for the algorithms for generating a plot of the frequency response

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread Hans-Christoph Steiner
On Feb 7, 2011, at 3:33 PM, Mathieu Bouchard wrote: On 07.02.2011, at 00:12, Hans-Christoph Steiner wrote: I've started to write a GUI for generating biquad coefficients (something like Max/MSP's [filtergraph~]). I've gotten the GUI interaction working well, now I'm looking for the

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread Spencer Russell
On Sun, Feb 6, 2011 at 11:15 PM, Mathieu Bouchard ma...@artengine.ca wrote: On Sun, 6 Feb 2011, Spencer Russell wrote: [1] gives the magnitude frequency response given the biquad coefficents, and it linked to from several places around the net. Is this the sort of thing you're looking for?

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread Hans-Christoph Steiner
On Feb 7, 2011, at 8:35 PM, Spencer Russell wrote: On Sun, Feb 6, 2011 at 11:15 PM, Mathieu Bouchard ma...@artengine.ca wrote: On Sun, 6 Feb 2011, Spencer Russell wrote: [1] gives the magnitude frequency response given the biquad coefficents, and it linked to from several places around the

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread Mike Moser-Booth
I don't really know how to test this and I don't really know tcl, but I tried looking at the code to see if I could make some sense of it anyway, because why the hell not. ;-) Anyway, the only part I really understood was the calculation of the coefficients, and I noticed something wrong. You are

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread Hans-Christoph Steiner
I'll check out the settings. As for running this, its a script, you can just run it on the Terminal. On GNU/Linux, it should just work. On Mac OS X, you'll probably need to have run it like this: /usr/bin/wish filterview.tcl .hc On Feb 7, 2011, at 11:20 PM, Mike Moser-Booth wrote: I

Re: [PD] algorithms for drawing filter response curves

2011-02-06 Thread Spencer Russell
[1] gives the magnitude frequency response given the biquad coefficents, and it linked to from several places around the net. Is this the sort of thing you're looking for? [1] http://bit.ly/eFck4j -s On Sun, Feb 6, 2011 at 6:12 PM, Hans-Christoph Steiner h...@at.or.at wrote: I've started to

Re: [PD] algorithms for drawing filter response curves

2011-02-06 Thread Mathieu Bouchard
On Sun, 6 Feb 2011, Spencer Russell wrote: [1] gives the magnitude frequency response given the biquad coefficents, and it linked to from several places around the net. Is this the sort of thing you're looking for? [1] http://bit.ly/eFck4j This link got me directly to : USB complete:

Re: [PD] algorithms for drawing filter response curves

2011-02-06 Thread Mathieu Bouchard
On Sun, 6 Feb 2011, Hans-Christoph Steiner wrote: I've started to write a GUI for generating biquad coefficients (something like Max/MSP's [filtergraph~]). I've gotten the GUI interaction working well, now I'm looking for the algorithms for generating a plot of the frequency response of a

Re: [PD] algorithms for drawing filter response curves

2011-02-06 Thread Mike Moser-Booth
I don't know if this is what you're asking, but iirc it's really just a matter of substituting exp(j*2*pi*fc/Fs) for z in the transfer function. I can send a Pd patch illustrating it later, if you like. .mmb On Sunday, February 6, 2011, Hans-Christoph Steiner h...@at.or.at wrote: I've started

Re: [PD] algorithms for drawing filter response curves

2011-02-06 Thread Mike Moser-Booth
Sorry, sent that a little too quickly. I should've also mentioned that fc=cutoff frequency and Fs=sample rate. And the magnitude of the result will give the magnitude frequency response and the angle will give the phase response. .mmb On Monday, February 7, 2011, Mike Moser-Booth