Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
On Apr 10, 2012, at 1:06 AM, IOhannes m zmölnig wrote: On 04/09/12 23:59, Hans-Christoph Steiner wrote: It understands the global sample rate, but not yet the sample rate set with [block~]. while i haven't looked at the object yet (though it sounds very useful), i would like to suggest adding a message that forces filter coefficients to be calculated for a certain samplerate. e.g. [samplerate 8000( which would override the default (which is to take the subpatches samplerate (as set by [block~]) Why not just make it respect the [block~] settings? .hc News is what people want to keep hidden and everything else is publicity. - Bill Moyers ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
Le 10/04/2012 16:05, Hans-Christoph Steiner a écrit : On Apr 10, 2012, at 1:06 AM, IOhannes m zmölnig wrote: On 04/09/12 23:59, Hans-Christoph Steiner wrote: It understands the global sample rate, but not yet the sample rate set with [block~]. while i haven't looked at the object yet (though it sounds very useful), i would like to suggest adding a message that forces filter coefficients to be calculated for a certain samplerate. e.g. [samplerate 8000( which would override the default (which is to take the subpatches samplerate (as set by [block~]) Why not just make it respect the [block~] settings? i think making it to respect [block~] setting is very important to this object, but having possibility to set an other samplerate would allow other utilisation : it could then be also use to compute filter coefficient for pix_biquad by example. c .hc News is what people want to keep hidden and everything else is publicity. - Bill Moyers ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
On Apr 10, 2012, at 10:14 AM, Cyrille Henry wrote: Le 10/04/2012 16:05, Hans-Christoph Steiner a écrit : On Apr 10, 2012, at 1:06 AM, IOhannes m zmölnig wrote: On 04/09/12 23:59, Hans-Christoph Steiner wrote: It understands the global sample rate, but not yet the sample rate set with [block~]. while i haven't looked at the object yet (though it sounds very useful), i would like to suggest adding a message that forces filter coefficients to be calculated for a certain samplerate. e.g. [samplerate 8000( which would override the default (which is to take the subpatches samplerate (as set by [block~]) Why not just make it respect the [block~] settings? i think making it to respect [block~] setting is very important to this object, but having possibility to set an other samplerate would allow other utilisation : it could then be also use to compute filter coefficient for pix_biquad by example. I agree entirely, but I have run out of time to work on this for a long while. Patches and forks are welcome, and I'll try to make the time to integrate people's work into this one. There is a lot this object could do, including having a logarithmic scale for frequency (its linear now). Another idea is to make it into a library that includes all of the biquad calc objects from ggee, then the math functions written in C could be used for the GUI calcs too, making it faster. They could be written as signal objects also, so we'd have [bandpass] and [bandpass~], etc. Then it would need to include a version of [biquad~] that had 5 signal inlets for the 5 coefficients at signal rate. .hc It is convenient to imagine a power beyond us because that means we don't have to examine our own lives., from The Idols of Environmentalism, by Curtis White ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
Le 10/04/2012 17:03, Hans-Christoph Steiner a écrit : Then it would need to include a version of [biquad~] that had 5 signal inlets for the 5 coefficients at signal rate. yes, that would be very nice. i somehow regret that my bq~ object is not compatible with vanilla biquad~. C .hc It is convenient to imagine a power beyond us because that means we don't have to examine our own lives., from The Idols of Environmentalism, by Curtis White ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
On Apr 10, 2012, at 11:08 AM, Cyrille Henry wrote: Le 10/04/2012 17:03, Hans-Christoph Steiner a écrit : Then it would need to include a version of [biquad~] that had 5 signal inlets for the 5 coefficients at signal rate. yes, that would be very nice. i somehow regret that my bq~ object is not compatible with vanilla biquad~. You could take filterview and make bqview. The new library template makes it much easier to share C code. If you split out the various coeff calcs for the different filter types into individual, generic C functions, then put them all in libnusmuk-audio.c, it'll automatically get built into a shared library and all the objects linked to it (if you are using the most up-to-date Makefile). Then those C functions can be made into Tcl procs, and you can replace the pure Tcl procs in filterview.tcl for doing the coeff calc. .hc kill your television ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
Le 10/04/2012 17:14, Hans-Christoph Steiner a écrit : On Apr 10, 2012, at 11:08 AM, Cyrille Henry wrote: Le 10/04/2012 17:03, Hans-Christoph Steiner a écrit : Then it would need to include a version of [biquad~] that had 5 signal inlets for the 5 coefficients at signal rate. yes, that would be very nice. i somehow regret that my bq~ object is not compatible with vanilla biquad~. You could take filterview and make bqview. The new library template makes it much easier to share C code. If you split out the various coeff calcs for the different filter types into individual, generic C functions, then put them all in libnusmuk-audio.c, it'll automatically get built into a shared library and all the objects linked to it (if you are using the most up-to-date Makefile). Then those C functions can be made into Tcl procs, and you can replace the pure Tcl procs in filterview.tcl for doing the coeff calc. well, there is no need for 2 almost similar object. i will certainlly depreciate bq~ once a better replacement is made... by the way, why are you doing the work for biquad~ since you already know that it must be change to include 5 audio inlet (like bq~)? The bq~ structure look more popular than biquad~ structure. And i read somwhere that it's structure is more stable for low frequency. why not using bq~ better than biquad~? c .hc kill your television ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
On Apr 10, 2012, at 11:43 AM, Cyrille Henry wrote: Le 10/04/2012 17:14, Hans-Christoph Steiner a écrit : On Apr 10, 2012, at 11:08 AM, Cyrille Henry wrote: Le 10/04/2012 17:03, Hans-Christoph Steiner a écrit : Then it would need to include a version of [biquad~] that had 5 signal inlets for the 5 coefficients at signal rate. yes, that would be very nice. i somehow regret that my bq~ object is not compatible with vanilla biquad~. You could take filterview and make bqview. The new library template makes it much easier to share C code. If you split out the various coeff calcs for the different filter types into individual, generic C functions, then put them all in libnusmuk-audio.c, it'll automatically get built into a shared library and all the objects linked to it (if you are using the most up-to-date Makefile). Then those C functions can be made into Tcl procs, and you can replace the pure Tcl procs in filterview.tcl for doing the coeff calc. well, there is no need for 2 almost similar object. i will certainlly depreciate bq~ once a better replacement is made... by the way, why are you doing the work for biquad~ since you already know that it must be change to include 5 audio inlet (like bq~)? The bq~ structure look more popular than biquad~ structure. And i read somwhere that it's structure is more stable for low frequency. why not using bq~ better than biquad~? I know biquad~, that's the only reason. I'll leave it to others to debate which is the best approach to implementing a biquad filter. .hc c .hc kill your television ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish.-William Carlos Williams ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
Here are the steps I took: 1) I opened the help patch in the directory with the .pd_darwin binary file. 2) I turned on audio. 3) I selected a high pass filter. 4) I wondered if changing the bandwidth would do anything, so I moved my cursor over one of the red lines that show bandwidth. The line became highlighted but I could not move it from its position. 5) I selected a band pass filter. 6) I attempted to move the bandwidth, again, to no avail. 7) I single-clicked (no hold) in the area between the bandwidth markers and began changing the frequency of the band pass filter. 8) The filter continued following my pointer as long as it was inside the borders of the GUI. 9) If I moved my pointer out of the GUI and pressed command-E, the frequency would stop moving. 10) Pressing command-E, again, would resume following my pointer without my clicking anywhere. 11) Then, Pd failed with a spinning beach ball. A force quit was necessary. 12) In the meantime, when I clicked on the patch's titlebar, it showed one of the cursor symbols for changing the bandwidth. Let me know if I can help test it more. I suppose I left out one bit of information. I am running Pd-extended 0.42.5-extended. Sam On Apr 8, 2012, at 6:35 , Hans-Christoph Steiner wrote: Hmm, I thought I got rid of that issue with it sticking to the mouse pointer... arg. Can you tell me the steps to reproduce it? I should add more to the help patch. The goal was to make it as self-explanatory as possible. So you can click and move the filter center and gain, and click and drag on the vertical bandwidth lines to control the bandwidth. .hc On Apr 8, 2012, at 4:33 PM, Samuel Burt wrote: Hans, This is so exciting. The binary is working here on a MacIntosh 2.8 GHz Intel Core 2 Duo with OS 10.6.8. I thought you might appreciate some quick user feedback. When I click the graphic, it lets me adjust frequency and amplitude, but then my cursor gets stuck to it like mouse up isn't working. Every time I click it adds another red vertical line. A slight bit more documentation would be helpful in the help patch, too, explaining how one can interact with the graph with the mouse. Is it possible to change the bandwidth with the GUI? is there a key combination one can hold? Sam ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
The last bit is the key bit of information: filterview will only work on 0.43, not 0.42.5. It relies on some of the new features of 0.43. .hc On Apr 9, 2012, at 9:57 AM, Samuel Burt wrote: Here are the steps I took: 1) I opened the help patch in the directory with the .pd_darwin binary file. 2) I turned on audio. 3) I selected a high pass filter. 4) I wondered if changing the bandwidth would do anything, so I moved my cursor over one of the red lines that show bandwidth. The line became highlighted but I could not move it from its position. 5) I selected a band pass filter. 6) I attempted to move the bandwidth, again, to no avail. 7) I single-clicked (no hold) in the area between the bandwidth markers and began changing the frequency of the band pass filter. 8) The filter continued following my pointer as long as it was inside the borders of the GUI. 9) If I moved my pointer out of the GUI and pressed command-E, the frequency would stop moving. 10) Pressing command-E, again, would resume following my pointer without my clicking anywhere. 11) Then, Pd failed with a spinning beach ball. A force quit was necessary. 12) In the meantime, when I clicked on the patch's titlebar, it showed one of the cursor symbols for changing the bandwidth. Let me know if I can help test it more. I suppose I left out one bit of information. I am running Pd-extended 0.42.5-extended. Sam On Apr 8, 2012, at 6:35 , Hans-Christoph Steiner wrote: Hmm, I thought I got rid of that issue with it sticking to the mouse pointer... arg. Can you tell me the steps to reproduce it? I should add more to the help patch. The goal was to make it as self-explanatory as possible. So you can click and move the filter center and gain, and click and drag on the vertical bandwidth lines to control the bandwidth. .hc On Apr 8, 2012, at 4:33 PM, Samuel Burt wrote: Hans, This is so exciting. The binary is working here on a MacIntosh 2.8 GHz Intel Core 2 Duo with OS 10.6.8. I thought you might appreciate some quick user feedback. When I click the graphic, it lets me adjust frequency and amplitude, but then my cursor gets stuck to it like mouse up isn't working. Every time I click it adds another red vertical line. A slight bit more documentation would be helpful in the help patch, too, explaining how one can interact with the graph with the mouse. Is it possible to change the bandwidth with the GUI? is there a key combination one can hold? Sam The arc of history bends towards justice. - Dr. Martin Luther King, Jr. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
On Mon, Apr 9, 2012 at 5:13 PM, Hans-Christoph Steiner h...@at.or.at wrote: The last bit is the key bit of information: filterview will only work on 0.43, not 0.42.5. It relies on some of the new features of 0.43. With filterview version 0.1 I had similar issues as described by Samuel, on OSX 10.5 and with Pd 0.43, but with filterview version 0.2 the 'stick to the cursor after mouseup problem' seems to be solved for mentioned configuration. Thanks for this wonderful object, Hans and Mike! Katja ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
The second outlet will eventually output the current filter bandwith, center, and gain, but right now it does nothing. .hc On Apr 9, 2012, at 2:39 PM, Samuel Burt wrote: Hans, Great to know. It works wonderfully with the beta of 0.43-extended here. What is the second outlet of filterview? I really appreciate the safeguards to prevent the filter from becoming unstable. Sam On Apr 9, 2012, at 11:13 , Hans-Christoph Steiner wrote: The last bit is the key bit of information: filterview will only work on 0.43, not 0.42.5. It relies on some of the new features of 0.43. .hc On Apr 9, 2012, at 9:57 AM, Samuel Burt wrote: Here are the steps I took: 1) I opened the help patch in the directory with the .pd_darwin binary file. 2) I turned on audio. 3) I selected a high pass filter. 4) I wondered if changing the bandwidth would do anything, so I moved my cursor over one of the red lines that show bandwidth. The line became highlighted but I could not move it from its position. 5) I selected a band pass filter. 6) I attempted to move the bandwidth, again, to no avail. 7) I single-clicked (no hold) in the area between the bandwidth markers and began changing the frequency of the band pass filter. 8) The filter continued following my pointer as long as it was inside the borders of the GUI. 9) If I moved my pointer out of the GUI and pressed command-E, the frequency would stop moving. 10) Pressing command-E, again, would resume following my pointer without my clicking anywhere. 11) Then, Pd failed with a spinning beach ball. A force quit was necessary. 12) In the meantime, when I clicked on the patch's titlebar, it showed one of the cursor symbols for changing the bandwidth. Let me know if I can help test it more. I suppose I left out one bit of information. I am running Pd-extended 0.42.5-extended. Sam On Apr 8, 2012, at 6:35 , Hans-Christoph Steiner wrote: Hmm, I thought I got rid of that issue with it sticking to the mouse pointer... arg. Can you tell me the steps to reproduce it? I should add more to the help patch. The goal was to make it as self-explanatory as possible. So you can click and move the filter center and gain, and click and drag on the vertical bandwidth lines to control the bandwidth. .hc On Apr 8, 2012, at 4:33 PM, Samuel Burt wrote: Hans, This is so exciting. The binary is working here on a MacIntosh 2.8 GHz Intel Core 2 Duo with OS 10.6.8. I thought you might appreciate some quick user feedback. When I click the graphic, it lets me adjust frequency and amplitude, but then my cursor gets stuck to it like mouse up isn't working. Every time I click it adds another red vertical line. A slight bit more documentation would be helpful in the help patch, too, explaining how one can interact with the graph with the mouse. Is it possible to change the bandwidth with the GUI? is there a key combination one can hold? Sam The arc of history bends towards justice. - Dr. Martin Luther King, Jr. [T]he greatest purveyor of violence in the world today [is] my own government. - Martin Luther King, Jr. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
I've just taught myself about biquad~ and understand enough to know that a change in sampling rate will change the calculation of the center frequency. I was hoping the second outlet would output this information. Will it change based on the sampling rate or will it always be calculated for 44.1K? Sam On Apr 9, 2012, at 3:20 , Hans-Christoph Steiner wrote: The second outlet will eventually output the current filter bandwith, center, and gain, but right now it does nothing. .hc On Apr 9, 2012, at 2:39 PM, Samuel Burt wrote: Hans, Great to know. It works wonderfully with the beta of 0.43-extended here. What is the second outlet of filterview? I really appreciate the safeguards to prevent the filter from becoming unstable. Sam On Apr 9, 2012, at 11:13 , Hans-Christoph Steiner wrote: The last bit is the key bit of information: filterview will only work on 0.43, not 0.42.5. It relies on some of the new features of 0.43. .hc On Apr 9, 2012, at 9:57 AM, Samuel Burt wrote: Here are the steps I took: 1) I opened the help patch in the directory with the .pd_darwin binary file. 2) I turned on audio. 3) I selected a high pass filter. 4) I wondered if changing the bandwidth would do anything, so I moved my cursor over one of the red lines that show bandwidth. The line became highlighted but I could not move it from its position. 5) I selected a band pass filter. 6) I attempted to move the bandwidth, again, to no avail. 7) I single-clicked (no hold) in the area between the bandwidth markers and began changing the frequency of the band pass filter. 8) The filter continued following my pointer as long as it was inside the borders of the GUI. 9) If I moved my pointer out of the GUI and pressed command-E, the frequency would stop moving. 10) Pressing command-E, again, would resume following my pointer without my clicking anywhere. 11) Then, Pd failed with a spinning beach ball. A force quit was necessary. 12) In the meantime, when I clicked on the patch's titlebar, it showed one of the cursor symbols for changing the bandwidth. Let me know if I can help test it more. I suppose I left out one bit of information. I am running Pd-extended 0.42.5-extended. Sam On Apr 8, 2012, at 6:35 , Hans-Christoph Steiner wrote: Hmm, I thought I got rid of that issue with it sticking to the mouse pointer... arg. Can you tell me the steps to reproduce it? I should add more to the help patch. The goal was to make it as self-explanatory as possible. So you can click and move the filter center and gain, and click and drag on the vertical bandwidth lines to control the bandwidth. .hc On Apr 8, 2012, at 4:33 PM, Samuel Burt wrote: Hans, This is so exciting. The binary is working here on a MacIntosh 2.8 GHz Intel Core 2 Duo with OS 10.6.8. I thought you might appreciate some quick user feedback. When I click the graphic, it lets me adjust frequency and amplitude, but then my cursor gets stuck to it like mouse up isn't working. Every time I click it adds another red vertical line. A slight bit more documentation would be helpful in the help patch, too, explaining how one can interact with the graph with the mouse. Is it possible to change the bandwidth with the GUI? is there a key combination one can hold? Sam The arc of history bends towards justice. - Dr. Martin Luther King, Jr. [T]he greatest purveyor of violence in the world today [is] my own government. - Martin Luther King, Jr. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
It understands the global sample rate, but not yet the sample rate set with [block~]. .hc On Apr 9, 2012, at 3:28 PM, Samuel Burt wrote: I've just taught myself about biquad~ and understand enough to know that a change in sampling rate will change the calculation of the center frequency. I was hoping the second outlet would output this information. Will it change based on the sampling rate or will it always be calculated for 44.1K? Sam On Apr 9, 2012, at 3:20 , Hans-Christoph Steiner wrote: The second outlet will eventually output the current filter bandwith, center, and gain, but right now it does nothing. .hc On Apr 9, 2012, at 2:39 PM, Samuel Burt wrote: Hans, Great to know. It works wonderfully with the beta of 0.43-extended here. What is the second outlet of filterview? I really appreciate the safeguards to prevent the filter from becoming unstable. Sam On Apr 9, 2012, at 11:13 , Hans-Christoph Steiner wrote: The last bit is the key bit of information: filterview will only work on 0.43, not 0.42.5. It relies on some of the new features of 0.43. .hc On Apr 9, 2012, at 9:57 AM, Samuel Burt wrote: Here are the steps I took: 1) I opened the help patch in the directory with the .pd_darwin binary file. 2) I turned on audio. 3) I selected a high pass filter. 4) I wondered if changing the bandwidth would do anything, so I moved my cursor over one of the red lines that show bandwidth. The line became highlighted but I could not move it from its position. 5) I selected a band pass filter. 6) I attempted to move the bandwidth, again, to no avail. 7) I single-clicked (no hold) in the area between the bandwidth markers and began changing the frequency of the band pass filter. 8) The filter continued following my pointer as long as it was inside the borders of the GUI. 9) If I moved my pointer out of the GUI and pressed command-E, the frequency would stop moving. 10) Pressing command-E, again, would resume following my pointer without my clicking anywhere. 11) Then, Pd failed with a spinning beach ball. A force quit was necessary. 12) In the meantime, when I clicked on the patch's titlebar, it showed one of the cursor symbols for changing the bandwidth. Let me know if I can help test it more. I suppose I left out one bit of information. I am running Pd-extended 0.42.5-extended. Sam On Apr 8, 2012, at 6:35 , Hans-Christoph Steiner wrote: Hmm, I thought I got rid of that issue with it sticking to the mouse pointer... arg. Can you tell me the steps to reproduce it? I should add more to the help patch. The goal was to make it as self-explanatory as possible. So you can click and move the filter center and gain, and click and drag on the vertical bandwidth lines to control the bandwidth. .hc On Apr 8, 2012, at 4:33 PM, Samuel Burt wrote: Hans, This is so exciting. The binary is working here on a MacIntosh 2.8 GHz Intel Core 2 Duo with OS 10.6.8. I thought you might appreciate some quick user feedback. When I click the graphic, it lets me adjust frequency and amplitude, but then my cursor gets stuck to it like mouse up isn't working. Every time I click it adds another red vertical line. A slight bit more documentation would be helpful in the help patch, too, explaining how one can interact with the graph with the mouse. Is it possible to change the bandwidth with the GUI? is there a key combination one can hold? Sam The arc of history bends towards justice. - Dr. Martin Luther King, Jr. [T]he greatest purveyor of violence in the world today [is] my own government. - Martin Luther King, Jr. News is what people want to keep hidden and everything else is publicity. - Bill Moyers ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
On 04/09/12 23:59, Hans-Christoph Steiner wrote: It understands the global sample rate, but not yet the sample rate set with [block~]. while i haven't looked at the object yet (though it sounds very useful), i would like to suggest adding a message that forces filter coefficients to be calculated for a certain samplerate. e.g. [samplerate 8000( which would override the default (which is to take the subpatches samplerate (as set by [block~]) fgmadsr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
Ok, big update, this should work a lot better. http://puredata.info/downloads/filterview I changed the formula below to be a fixed resolution of 5 pixels. I was thinking that this should be generalized into a general biquad~ library, so with objects like [bandpass] to calculate biquad coefficients. The calculations could all be written in C as a shared library, then the Tcl code could use those C functions also, which I think would allow for 1 pixel resolution. My guess is that doing the math in C would make things noticeably faster. .hc On Apr 4, 2012, at 3:47 PM, Mike Moser-Booth wrote: That actually can be fixed (or at least improved) in line 75: for {set x [expr int($framex1)]} {$x = $framex2} {incr x [expr $framewidth/40]} { It's only calculating 40 points within however many pixels the width is. It should probably be incrementing by a constant, with 1 being every pixel. .mmb On Wed, Apr 4, 2012 at 10:06 AM, Hans-Christoph Steiner h...@at.or.at wrote: Yeah, I've seen that. That's really a matter of getting the math right for the calculations to draw the lines. I suck at math so I'll leave that up to someone who doesn't. The math is all in the filterview.tcl file. .hc On Apr 4, 2012, at 9:21 AM, batinste wrote: I built it for pd-ext 64bits on ubuntu current, it works well (some crashes at exit, as you said) ! Is there an easy way to make the magnitude response polygon less polygoney ? If you move a strong notch filter along the spectrum, you can actually see the line acting like a bike chain, thus changing the visually perceived response of the filter. On 03/04/2012 21:31, Marco Donnarumma wrote: Looks lovely! Thanks guys, M On Tue, Apr 3, 2012 at 8:03 PM, Hans-Christoph Steiner h...@at.or.at wrote: Announcing [filterview], a new GUI object for generating and visualizing biquad coefficients. It allows to you manipulate the filter band, frequency, and gain using your mouse. The magnatude and phase are then graphed in realtime as the parameters changed, and the list of biquad coefficients are output. It is inspired by the [filtergraph~] object in Max/MSP. Thanks to Mike Moser-Booth for doing all of the math behind the scenes. It requires Pd-extended 0.43 to run. I just got to a beta state, it works well for me, but it does crash Pd sometimes when you close a patch with [filterview] in it. Try it out and let me know how it works for you. http://puredata.info/downloads/filterview Also, as a side note, this object is an experiment with a new way of writing GUI objects. It started out as a pure Tcl program, and the GUI part still runs as a standalone Tcl program (try running ./filterview.tcl from the Terminal). This makes development and debugging vastly easier. Additionally, I tried to move more of the GUI code to the Tcl side, so you'll see that it uses fewer widgetbehaviors, and uses Tk's bind feature quite a bit. .hc kill your television ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher, Director. ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list If you are not part of the solution, you are part of the problem. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Mike Moser-Booth - mmoserbo...@gmail.com Master's Student in Music Technology Schulich School of Music, McGill University Centre for Interdisciplinary Research in Music Media and Technology Words that make questions may not be questions at all. -- Neil deGrasse Tyson Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish.-William Carlos Williams ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
Yay - very nice. Works great with both most recent Pd PdE on Puredyne. Cheers, Julian ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
Hans, This is so exciting. The binary is working here on a MacIntosh 2.8 GHz Intel Core 2 Duo with OS 10.6.8. I thought you might appreciate some quick user feedback. When I click the graphic, it lets me adjust frequency and amplitude, but then my cursor gets stuck to it like mouse up isn't working. Every time I click it adds another red vertical line. A slight bit more documentation would be helpful in the help patch, too, explaining how one can interact with the graph with the mouse. Is it possible to change the bandwidth with the GUI? is there a key combination one can hold? Sam On Apr 8, 2012, at 2:55 , pd-list-requ...@iem.at wrote: Message: 4 Date: Sun, 8 Apr 2012 12:50:05 -0400 From: Hans-Christoph Steiner h...@at.or.at Subject: Re: [PD] [PD-announce] new GUI obect: filterview,for generating and seeing biquad coefficients To: Mike Moser-Booth mmoserbo...@gmail.com Cc: pd-list@iem.at, Marco Donnarumma de...@thesaddj.com Message-ID: 8bb69cdd-86cb-4455-8524-d2200a226...@at.or.at Content-Type: text/plain; charset=us-ascii Ok, big update, this should work a lot better. http://puredata.info/downloads/filterview I changed the formula below to be a fixed resolution of 5 pixels. I was thinking that this should be generalized into a general biquad~ library, so with objects like [bandpass] to calculate biquad coefficients. The calculations could all be written in C as a shared library, then the Tcl code could use those C functions also, which I think would allow for 1 pixel resolution. My guess is that doing the math in C would make things noticeably faster. .hc ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
Hmm, I thought I got rid of that issue with it sticking to the mouse pointer... arg. Can you tell me the steps to reproduce it? I should add more to the help patch. The goal was to make it as self-explanatory as possible. So you can click and move the filter center and gain, and click and drag on the vertical bandwidth lines to control the bandwidth. .hc On Apr 8, 2012, at 4:33 PM, Samuel Burt wrote: Hans, This is so exciting. The binary is working here on a MacIntosh 2.8 GHz Intel Core 2 Duo with OS 10.6.8. I thought you might appreciate some quick user feedback. When I click the graphic, it lets me adjust frequency and amplitude, but then my cursor gets stuck to it like mouse up isn't working. Every time I click it adds another red vertical line. A slight bit more documentation would be helpful in the help patch, too, explaining how one can interact with the graph with the mouse. Is it possible to change the bandwidth with the GUI? is there a key combination one can hold? Sam On Apr 8, 2012, at 2:55 , pd-list-requ...@iem.at wrote: Message: 4 Date: Sun, 8 Apr 2012 12:50:05 -0400 From: Hans-Christoph Steiner h...@at.or.at Subject: Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients To: Mike Moser-Booth mmoserbo...@gmail.com Cc: pd-list@iem.at, Marco Donnarumma de...@thesaddj.com Message-ID: 8bb69cdd-86cb-4455-8524-d2200a226...@at.or.at Content-Type: text/plain; charset=us-ascii Ok, big update, this should work a lot better. http://puredata.info/downloads/filterview I changed the formula below to be a fixed resolution of 5 pixels. I was thinking that this should be generalized into a general biquad~ library, so with objects like [bandpass] to calculate biquad coefficients. The calculations could all be written in C as a shared library, then the Tcl code could use those C functions also, which I think would allow for 1 pixel resolution. My guess is that doing the math in C would make things noticeably faster. .hc I spent 33 years and four months in active military service and during that period I spent most of my time as a high class muscle man for Big Business, for Wall Street and the bankers. - General Smedley Butler ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
Ok, I've fixed the crash-on-close and bug where initial lines where drawn wrong, if you want to build from source. I'm still trying to figure out the weird freak out bug. https://github.com/pd-projects/filterview .hc On Apr 5, 2012, at 2:47 AM, APO33 wrote: Hey Hans thanks for this one! I was using it in max ten years ago, I am happy to be able to use it again in PD, nice shot! I am testing it now, I tell you if I see something wrong, so far, it's all good. cheers Julien Announcing [filterview], a new GUI object for generating and visualizing biquad coefficients. It allows to you manipulate the filter band, frequency, and gain using your mouse. The magnatude and phase are then graphed in realtime as the parameters changed, and the list of biquad coefficients are output. It is inspired by the [filtergraph~] object in Max/MSP. Thanks to Mike Moser-Booth for doing all of the math behind the scenes. It requires Pd-extended 0.43 to run. I just got to a beta state, it works well for me, but it does crash Pd sometimes when you close a patch with [filterview] in it. Try it out and let me know how it works for you. http://puredata.info/downloads/filterview Also, as a side note, this object is an experiment with a new way of writing GUI objects. It started out as a pure Tcl program, and the GUI part still runs as a standalone Tcl program (try running ./filterview.tcl from the Terminal). This makes development and debugging vastly easier. Additionally, I tried to move more of the GUI code to the Tcl side, so you'll see that it uses fewer widgetbehaviors, and uses Tk's bind feature quite a bit. .hc -- APO33 space of research and experimentation http://www.apo33.org i...@apo33.org ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list “We must become the change we want to see. - Mahatma Gandhi ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
Hey Hans thanks for this one! I was using it in max ten years ago, I am happy to be able to use it again in PD, nice shot! I am testing it now, I tell you if I see something wrong, so far, it's all good. cheers Julien Announcing [filterview], a new GUI object for generating and visualizing biquad coefficients. It allows to you manipulate the filter band, frequency, and gain using your mouse. The magnatude and phase are then graphed in realtime as the parameters changed, and the list of biquad coefficients are output. It is inspired by the [filtergraph~] object in Max/MSP. Thanks to Mike Moser-Booth for doing all of the math behind the scenes. It requires Pd-extended 0.43 to run. I just got to a beta state, it works well for me, but it does crash Pd sometimes when you close a patch with [filterview] in it. Try it out and let me know how it works for you. http://puredata.info/downloads/filterview Also, as a side note, this object is an experiment with a new way of writing GUI objects. It started out as a pure Tcl program, and the GUI part still runs as a standalone Tcl program (try running ./filterview.tcl from the Terminal). This makes development and debugging vastly easier. Additionally, I tried to move more of the GUI code to the Tcl side, so you'll see that it uses fewer widgetbehaviors, and uses Tk's bind feature quite a bit. .hc -- APO33 space of research and experimentation http://www.apo33.org i...@apo33.org ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
I built it for pd-ext 64bits on ubuntu current, it works well (some crashes at exit, as you said) ! Is there an easy way to make the magnitude response polygon less polygoney ? If you move a strong notch filter along the spectrum, you can actually see the line acting like a bike chain, thus changing the visually perceived response of the filter. On 03/04/2012 21:31, Marco Donnarumma wrote: Looks lovely! Thanks guys, M On Tue, Apr 3, 2012 at 8:03 PM, Hans-Christoph Steiner h...@at.or.at mailto:h...@at.or.at wrote: Announcing [filterview], a new GUI object for generating and visualizing biquad coefficients. It allows to you manipulate the filter band, frequency, and gain using your mouse. The magnatude and phase are then graphed in realtime as the parameters changed, and the list of biquad coefficients are output. It is inspired by the [filtergraph~] object in Max/MSP. Thanks to Mike Moser-Booth for doing all of the math behind the scenes. It requires Pd-extended 0.43 to run. I just got to a beta state, it works well for me, but it does crash Pd sometimes when you close a patch with [filterview] in it. Try it out and let me know how it works for you. http://puredata.info/downloads/filterview Also, as a side note, this object is an experiment with a new way of writing GUI objects. It started out as a pure Tcl program, and the GUI part still runs as a standalone Tcl program (try running ./filterview.tcl from the Terminal). This makes development and debugging vastly easier. Additionally, I tried to move more of the GUI code to the Tcl side, so you'll see that it uses fewer widgetbehaviors, and uses Tk's bind feature quite a bit. .hc kill your television ___ Pd-announce mailing list pd-annou...@iem.at mailto:pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher, Director. ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com http://marcodonnarumma.com/ Research: http://res.marcodonnarumma.com http://res.marcodonnarumma.com/ | http://www.thesaddj.com http://www.thesaddj.com/ | http://www.flxer.net http://www.flxer.net/ Director: http://www.liveperformersmeeting.net http://www.liveperformersmeeting.net/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
Yeah, I've seen that. That's really a matter of getting the math right for the calculations to draw the lines. I suck at math so I'll leave that up to someone who doesn't. The math is all in the filterview.tcl file. .hc On Apr 4, 2012, at 9:21 AM, batinste wrote: I built it for pd-ext 64bits on ubuntu current, it works well (some crashes at exit, as you said) ! Is there an easy way to make the magnitude response polygon less polygoney ? If you move a strong notch filter along the spectrum, you can actually see the line acting like a bike chain, thus changing the visually perceived response of the filter. On 03/04/2012 21:31, Marco Donnarumma wrote: Looks lovely! Thanks guys, M On Tue, Apr 3, 2012 at 8:03 PM, Hans-Christoph Steiner h...@at.or.at wrote: Announcing [filterview], a new GUI object for generating and visualizing biquad coefficients. It allows to you manipulate the filter band, frequency, and gain using your mouse. The magnatude and phase are then graphed in realtime as the parameters changed, and the list of biquad coefficients are output. It is inspired by the [filtergraph~] object in Max/MSP. Thanks to Mike Moser-Booth for doing all of the math behind the scenes. It requires Pd-extended 0.43 to run. I just got to a beta state, it works well for me, but it does crash Pd sometimes when you close a patch with [filterview] in it. Try it out and let me know how it works for you. http://puredata.info/downloads/filterview Also, as a side note, this object is an experiment with a new way of writing GUI objects. It started out as a pure Tcl program, and the GUI part still runs as a standalone Tcl program (try running ./filterview.tcl from the Terminal). This makes development and debugging vastly easier. Additionally, I tried to move more of the GUI code to the Tcl side, so you'll see that it uses fewer widgetbehaviors, and uses Tk's bind feature quite a bit. .hc kill your television ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher, Director. ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list If you are not part of the solution, you are part of the problem. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
On Wed, Apr 4, 2012 at 10:06 AM, Hans-Christoph Steiner h...@at.or.at wrote: Yeah, I've seen that. That's really a matter of getting the math right for the calculations to draw the lines. I suck at math so I'll leave that up to someone who doesn't. The math is all in the filterview.tcl file. .hc That actually can be fixed (or at least improved) in line 75: for {set x [expr int($framex1)]} {$x = $framex2} {incr x [expr $framewidth/40]} { It's only calculating 40 points within however many pixels the width is. It should probably be incrementing by a constant, with 1 being every pixel. .mmb On Apr 4, 2012, at 9:21 AM, batinste wrote: I built it for pd-ext 64bits on ubuntu current, it works well (some crashes at exit, as you said) ! Is there an easy way to make the magnitude response polygon less polygoney ? If you move a strong notch filter along the spectrum, you can actually see the line acting like a bike chain, thus changing the visually perceived response of the filter. On 03/04/2012 21:31, Marco Donnarumma wrote: Looks lovely! Thanks guys, M On Tue, Apr 3, 2012 at 8:03 PM, Hans-Christoph Steiner h...@at.or.at wrote: Announcing [filterview], a new GUI object for generating and visualizing biquad coefficients. It allows to you manipulate the filter band, frequency, and gain using your mouse. The magnatude and phase are then graphed in realtime as the parameters changed, and the list of biquad coefficients are output. It is inspired by the [filtergraph~] object in Max/MSP. Thanks to Mike Moser-Booth for doing all of the math behind the scenes. It requires Pd-extended 0.43 to run. I just got to a beta state, it works well for me, but it does crash Pd sometimes when you close a patch with [filterview] in it. Try it out and let me know how it works for you. http://puredata.info/downloads/filterview Also, as a side note, this object is an experiment with a new way of writing GUI objects. It started out as a pure Tcl program, and the GUI part still runs as a standalone Tcl program (try running ./filterview.tcl from the Terminal). This makes development and debugging vastly easier. Additionally, I tried to move more of the GUI code to the Tcl side, so you'll see that it uses fewer widgetbehaviors, and uses Tk's bind feature quite a bit. .hc kill your television ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher, Director. ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list If you are not part of the solution, you are part of the problem. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Mike Moser-Booth - mmoserbo...@gmail.com Master's Student in Music Technology Schulich School of Music, McGill University Centre for Interdisciplinary Research in Music Media and Technology Words that make questions may not be questions at all. -- Neil deGrasse Tyson ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
Yeah, I see that on my computer too. It was working well for me in development, I guess I was mostly using ./filterview.tcl... .hc On Apr 4, 2012, at 3:37 PM, Mike Moser-Booth wrote: Thanks, Hans, it's great to see this! Unfortunately, it's not really working well for me on OSX 10.5. It seems that once I click on it, the cutoff just follows the mouse around, even after the mouse button is released. And then eventually the spinning beach ball comes up. (This is using the Pd-extended 0.43 build from March 23.) When I just run the tcl script from the terminal, though, it works fine. .mmb On Tue, Apr 3, 2012 at 3:03 PM, Hans-Christoph Steiner h...@at.or.at wrote: Announcing [filterview], a new GUI object for generating and visualizing biquad coefficients. It allows to you manipulate the filter band, frequency, and gain using your mouse. The magnatude and phase are then graphed in realtime as the parameters changed, and the list of biquad coefficients are output. It is inspired by the [filtergraph~] object in Max/MSP. Thanks to Mike Moser-Booth for doing all of the math behind the scenes. It requires Pd-extended 0.43 to run. I just got to a beta state, it works well for me, but it does crash Pd sometimes when you close a patch with [filterview] in it. Try it out and let me know how it works for you. http://puredata.info/downloads/filterview Also, as a side note, this object is an experiment with a new way of writing GUI objects. It started out as a pure Tcl program, and the GUI part still runs as a standalone Tcl program (try running ./filterview.tcl from the Terminal). This makes development and debugging vastly easier. Additionally, I tried to move more of the GUI code to the Tcl side, so you'll see that it uses fewer widgetbehaviors, and uses Tk's bind feature quite a bit. .hc kill your television ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Mike Moser-Booth - mmoserbo...@gmail.com Master's Student in Music Technology Schulich School of Music, McGill University Centre for Interdisciplinary Research in Music Media and Technology Words that make questions may not be questions at all. -- Neil deGrasse Tyson ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list 'You people have such restrictive dress for women,’ she said, hobbling away in three inch heels and panty hose to finish out another pink-collar temp pool day. - “Hijab Scene #2, by Mohja Kahf ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients
Looks lovely! Thanks guys, M On Tue, Apr 3, 2012 at 8:03 PM, Hans-Christoph Steiner h...@at.or.atwrote: Announcing [filterview], a new GUI object for generating and visualizing biquad coefficients. It allows to you manipulate the filter band, frequency, and gain using your mouse. The magnatude and phase are then graphed in realtime as the parameters changed, and the list of biquad coefficients are output. It is inspired by the [filtergraph~] object in Max/MSP. Thanks to Mike Moser-Booth for doing all of the math behind the scenes. It requires Pd-extended 0.43 to run. I just got to a beta state, it works well for me, but it does crash Pd sometimes when you close a patch with [filterview] in it. Try it out and let me know how it works for you. http://puredata.info/downloads/filterview Also, as a side note, this object is an experiment with a new way of writing GUI objects. It started out as a pure Tcl program, and the GUI part still runs as a standalone Tcl program (try running ./filterview.tcl from the Terminal). This makes development and debugging vastly easier. Additionally, I tried to move more of the GUI code to the Tcl side, so you'll see that it uses fewer widgetbehaviors, and uses Tk's bind feature quite a bit. .hc kill your television ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher, Director. ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list