Why is my poly~ not working ?

Gary Leyrn's icon

Hello,

I need help, please : my poly~synth stops working when I add a filter after the adsr, what am I missing here ?
When I take out the filter, it works. Thanks I appreciate it.

Poly-synth.zip
application/zip 3.96 KB

Bradley Korth's icon

Because when you load your patch, the filter is automatically set to 0 Hz, so it filters out the entire sound. You put 400. as the default frequency in onepole~, but line~ is still outputting, and it defaults to 0, so that overrides it. When I send the second inlet a message of "target 0, 220", then it works just fine.