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-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Looks lovely! Thanks guys,
M
On Tue, Apr 3, 2012 at 8:03 PM, Hans-Christoph Steiner hans@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-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
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 <hans@at.or.at mailto:hans@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-announce@iem.at <mailto:Pd-announce@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
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 hans@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-announce@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.
On Wed, Apr 4, 2012 at 10:06 AM, Hans-Christoph Steiner hans@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 hans@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-announce@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
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 hans@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 hans@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-announce@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 - mmoserbooth@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
Yay - very nice.
Works great with both most recent Pd & PdE on Puredyne.
Cheers,
Julian
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 hans@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-announce@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
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 hans@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-announce@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 - mmoserbooth@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
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
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 info@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