Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients

2012-04-04 Thread APO33

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

2012-04-04 Thread Hans-Christoph Steiner

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  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

2012-04-04 Thread Mike Moser-Booth
On Wed, Apr 4, 2012 at 10:06 AM, Hans-Christoph Steiner  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 
> 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

2012-04-04 Thread Mike Moser-Booth
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  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


Re: [PD] [PD-announce] new GUI obect: filterview, for generating and seeing biquad coefficients

2012-04-04 Thread Hans-Christoph Steiner

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  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] trying to track down a bug: Pd-extended 0.43-1 beta on Oneric 32 bit

2012-04-04 Thread Hans-Christoph Steiner

On Apr 4, 2012, at 8:09 AM, IOhannes m zmoelnig wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 2012-04-04 14:06, John Harrison wrote:
>> I'll see if I can figure all that out and test this weekend... I assume
>> with git log it will be obvious what commit I need to cherry-pick.
> 
> probably i'm a bit too cryptic: Gem's 0.93 git-branch already has the
> cherry-picked fixes applied.
> so checkout the 0.93 branch, compile and see whether it has the problem
> fixed.

Yes, you were being too cryptic ;)  When there is a commit in Gem's 0.93 
branch, I'm happy to commit it to the Pd-extended 0.43 release branch.  Done:

http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=revision&revision=16109

John, tomorrow's will include this fix, if you can test it again.

.hc




Terrorism is not an enemy.  It cannot be defeated.  It's a tactic.  It's about 
as sensible to say we declare war on night attacks and expect we're going to 
win that war.  We're not going to win the war on terrorism.- retired 
U.S. Army general, William Odom



___
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

2012-04-04 Thread batinste
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 > 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


Re: [PD] trying to track down a bug: Pd-extended 0.43-1 beta on Oneric 32 bit

2012-04-04 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2012-04-04 14:06, John Harrison wrote:
> I'll see if I can figure all that out and test this weekend... I assume
> with git log it will be obvious what commit I need to cherry-pick.

probably i'm a bit too cryptic: Gem's 0.93 git-branch already has the
cherry-picked fixes applied.
so checkout the 0.93 branch, compile and see whether it has the problem
fixed.

fgmasr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk98OeMACgkQkX2Xpv6ydvQM/gCgkkXs2R1KlZHutyPsm7PPzLdH
NDQAoLwURasfhLF4kVrwJLNj1Y59Yexa
=+3eh
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] trying to track down a bug: Pd-extended 0.43-1 beta on Oneric 32 bit

2012-04-04 Thread John Harrison
I'll see if I can figure all that out and test this weekend... I assume
with git log it will be obvious what commit I need to cherry-pick.

-John

On Wed, Apr 4, 2012 at 2:08 AM, IOhannes m zmoelnig  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 2012-04-04 03:25, Hans-Christoph Steiner wrote:
> >> i have hopefully fixed that as well and committed it to Gem's git
> (committish 1458b4f8cf in the 0.93 branch, in case somebody wants to
> backport it)
> >>
> >
> > John or IOhannes,
> >
> > Please let me know when its in the 0.93 branch, and I'll include it in
> Pd-extended.
> >
>
> "committed it to Gem's git (committish 1458b4f8cf in the 0.93 branch)"
>
> it would be nice, if john could test it more directly, without having me
> fix the bug in Gem's master, then backport it to Gem's 0.93, then having
> hans backport the changes to Pd-extended, then wait for the nightly
> build and then report that it is not working...
>
> backporting from Gem's master to Gem's 0.93 is fairly trivial using
> git's cherry-pick. the rest is less fun and should probably only be done
> once the bug is really fixed.
>
> fmasdr
> IOhannes
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk9781EACgkQkX2Xpv6ydvTGPwCfW9oHv5Cwl0YHmUqvnLYjoe7N
> e0YAoNn2ES0T6jha+hvYXy1IsmxGFZUJ
> =NZrN
> -END PGP SIGNATURE-
>
>
> ___
> 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] trying to track down a bug: Pd-extended 0.43-1 beta on Oneric 32 bit

2012-04-04 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2012-04-04 03:25, Hans-Christoph Steiner wrote:
>> i have hopefully fixed that as well and committed it to Gem's git 
>> (committish 1458b4f8cf in the 0.93 branch, in case somebody wants to 
>> backport it)
>>
> 
> John or IOhannes,
> 
> Please let me know when its in the 0.93 branch, and I'll include it in 
> Pd-extended.
> 

"committed it to Gem's git (committish 1458b4f8cf in the 0.93 branch)"

it would be nice, if john could test it more directly, without having me
fix the bug in Gem's master, then backport it to Gem's 0.93, then having
hans backport the changes to Pd-extended, then wait for the nightly
build and then report that it is not working...

backporting from Gem's master to Gem's 0.93 is fairly trivial using
git's cherry-pick. the rest is less fun and should probably only be done
once the bug is really fixed.

fmasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9781EACgkQkX2Xpv6ydvTGPwCfW9oHv5Cwl0YHmUqvnLYjoe7N
e0YAoNn2ES0T6jha+hvYXy1IsmxGFZUJ
=NZrN
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list