<![CDATA[Tone stack in pd]]>Hi,
I'd like to implement in pure data the tone stack model I found in the DAFX book. It's a linear third order transfer function. In the book they use mathlab which seems to have a routine to solve it so the code they give is of no use to me.
In pd, should I find the roots of both third order polynomials and use poles and zeros objects like in Maelstorm tutorial? Does his method transpose? Should I use fexpr~ instead? Is there another method?
]]>http://forum.pdpatchrepo.info/topic/13907/tone-stack-in-pdRSS for NodeWed, 11 Sep 2024 23:17:34 GMTWed, 20 Apr 2022 10:15:53 GMT60<![CDATA[Reply to Tone stack in pd on Wed, 20 Apr 2022 10:15:53 GMT]]>Hi,
I'd like to implement in pure data the tone stack model I found in the DAFX book. It's a linear third order transfer function. In the book they use mathlab which seems to have a routine to solve it so the code they give is of no use to me.
In pd, should I find the roots of both third order polynomials and use poles and zeros objects like in Maelstorm tutorial? Does his method transpose? Should I use fexpr~ instead? Is there another method?
]]>http://forum.pdpatchrepo.info/topic/13907/tone-stack-in-pdhttp://forum.pdpatchrepo.info/topic/13907/tone-stack-in-pdWed, 20 Apr 2022 10:15:53 GMT<![CDATA[Reply to Tone stack in pd on Wed, 20 Apr 2022 13:53:31 GMT]]>so far my best guess would be https://en.wikipedia.org/wiki/Cubic_equation#Trigonometric_solution_for_three_real_roots
]]>http://forum.pdpatchrepo.info/topic/13907/tone-stack-in-pd/2http://forum.pdpatchrepo.info/topic/13907/tone-stack-in-pd/2Wed, 20 Apr 2022 13:53:31 GMT<![CDATA[Reply to Tone stack in pd on Fri, 22 Apr 2022 10:55:15 GMT]]>Wew lads! What a complicated topic. Finding real roots for the denominator, finding either 3 real or 1 real and 2 conjugated complex roots for the numerator... The current filter is 100% highly unstable, I hope I'll get it working eventually.
]]>http://forum.pdpatchrepo.info/topic/13907/tone-stack-in-pd/3http://forum.pdpatchrepo.info/topic/13907/tone-stack-in-pd/3Fri, 22 Apr 2022 10:55:15 GMT<![CDATA[Reply to Tone stack in pd on Wed, 27 Apr 2022 12:27:43 GMT]]>so I totally gave up on solving my maths problems in pd. I used FAUST instead and run my tonestack~.dsp in [faustgen~].
you can access the 3 parameters with [low/med/top $1( from 0 to 1.
first time with FAUST, looks awesome.
]]>http://forum.pdpatchrepo.info/topic/13907/tone-stack-in-pd/4http://forum.pdpatchrepo.info/topic/13907/tone-stack-in-pd/4Wed, 27 Apr 2022 12:27:43 GMT