[PD] Simple Subtractive Synth filter envelope

Claude Heiland-Allen claudiusmaximus at goto10.org
Mon Nov 22 23:09:35 CET 2010


On 22/11/10 21:48, samuel rowe wrote:
> an envelope generator with ADSR

vline~ is your friend here:

"1 10, 0.5 100 10, 0 1000 2000"
  |
[vline~]
  |
[*~]\[osc~ 666]
  |
[dac~]

> the output will not feed into the argument for a filter cutoff value.

right. you can't connect signal outlets to message inlets:
http://www-crca.ucsd.edu/~msp/Pd_documentation/x2.htm#s4.2

and most of pd's filters (lop~, hip~, bp~, ...) expect messages for the 
parameters.  the workaround is to use the "raw filter objects" to build 
more complex filters from poles and zeros.

I made a resonant low pass filter using that method:
http://lists.puredata.info/pipermail/pd-list/2007-11/056858.html
[PD] pd filter with pole and zero
Sat Nov 24 19:00:13 CET 2007

There are also externals with more filters (iemlib has many) and some 
abstractions out there somewhere.

Good luck!


Claude
-- 
http://claudiusmaximus.goto10.org



More information about the Pd-list mailing list