Problems with LFO triggering adsr~ inside of poly~

cudnylon's icon

I'm sending an LFO to trigger a poly synth patch. If a new note is triggered before the previous is finished, I want the previous note to be allowed to fade out. I am attempting to do this all at signal rate with standard objects. If I have to fix it with externals so be it, but I'd prefer not to.

Here's what is going wrong. Either one of two things happen:
--- All the instances are being triggered at the same time with the same note, and when a new trigger comes it ramps the envelope back up instead of fading out.
--- All the instances are busy or muted, causing no output when triggered.

And now the example patches I developed to show how I have things set up. There is also a zip of the files below if that is preferred.

The main patch (cudlfo.pat):

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

The poly patch (cudlfopoly.pat):

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

719.cudlfo_example.zip
zip
Ben Bracken's icon

I haven't looked really closely at the patch, but signal inputs are sent to all voices, so I believe what you are experiencing is expected.

Why don't you put your ramp and pulse signals in the poly~?

-Ben

cudnylon's icon

sad to hear that this is the normal function. hopefully someone knows a way around it.

the ramp and pulses are going to be sent to other places as well once the patch develops. plus wouldn't it not make any difference?