polyphony and global filter envelope

ffsjake's icon

i've done a polyphonic synthesizer and now i want to do ADSR-filter controls together with Cutoff and Resonance. i found an example of this working on a monophonic synth, but when i try to implement the same function in my poly synth, it doesn't do anything at all.
Anyone? Picture of the patch posted below

2778.Screenshot20111025at1.12.46PM.png
png
Tj Shredder's icon

Better than a screenshot would be the patch itself. Select all, and choose "copy compressed" from the edit menu, then paste it into your message...

In this case you should do that with the poly~ as well as with the main patch...

Stefan

David's icon

Without even looking at it I know, that you most probably forgot to send a "target 0" message to the poly~ object.
Maybe it would be a good idea to make this the default mode for the poly~ object, as this question/problem seems to pop up quite a lot(at least in the last few days).

ffsjake's icon

actually, i did send a "target 0" to the poly object, its on the far right next to the subpatch.

Stefan: im not sure i understand what you're writing. I'll try to upload the patch later

stringtapper's icon

Stefan meant you should post the poly~ as well as the main patch.

And you don't have to upload anything. Just select the contents of the main patch and select "Copy Compressed" from the Edit menu, then paste the contents in your post here on the forum. Then do the same with the contents of your poly~.

ffsjake's icon
Max Patch
Copy patch and select New From Clipboard in Max.

okay, here goes. main patch:

Max Patch
Copy patch and select New From Clipboard in Max.

poly:

spectre's icon

I'm not sure what the problem is?
Everything seems to work just fine for me.
Had to max out the sustain on the filter to notice the effects, but nevertheless they worked. As did polyphony.

Roman Thilenius's icon

not sure what is less work, but you should think about doing a "global" process outside the poly in order to save CPU (and avoid using "target 0" to a 128 voices synth), especially when the process is the last one in the signal chain anyway.

ffsjake's icon

you're right, it works! must have been a brainfart!