Tom,
Your approach is really sensible and what I was originally seeking to do, but it's difficult in Pd without the help of a few externals I imagine. [vectral~] has ended up working just fine and may open some doors into other strange manipulations :)
Thanks for being willing to share your info - it is much appreciated! Really I was just trying to sort of emulate some of the functionality of your plug so I could use something like it in Pd; on OS X there's no VST support at the moment. If I release an abstraction I will most certainly give you credit for ideas and inspiration (and Frank Barknecht too since he turned me on to FFT with his excellent tutorial and started this patch).
Also, your plugins are visually just fantastic - maybe when Pd's gui advances a little bit more we will be able to enjoy the hypnotic dancing lines too.
Kevin
On 3/29/07, Tom Erbe tre@music.ucsd.edu wrote:
sorry for the delayed reply - i'm a bit behind on the pd-list...
in my plug, i keep a table of gain factors for each fft band. before each fft, i update the gain factors by multiplying by an attack multiplier if we are below the threshold or by a release multiplier if above the threshold. after that, each gain factor is limited, so it doesn't go past the gate gain setting after attack, or past 1.0 after release.
this recalcing of the gain table only happens once per fft...
the attack multiplier and release multiplier are recalculated based on both time and the gate gain setting.
On Mar 29, 2007, at 10:56 AM, Kevin McCoy wrote:
Of course, Tom Erbe's soundhack filters already do this, but he hasn't responded to this on how he got attack/release to work for him - it may need to be handled differently in Pd as opposed to whatever he used to code those VSTs.
tom erbe ~ tre@ucsd.edu ~ studio director - computer music ~ ucsd department of music