Forums > MaxMSP

Poly~ and ADSR~

September 24, 2012 | 8:54 am

I know I’m not the first to have trouble with this combination, but I can’t seem to find the answers in the documentation and other posts. I’m hoping someone can help me troubleshoot this one.

I have a simple patch that contains a poly~ abstraction. The poly component works fine. My problem is in the adsr~ object. I seem to get inconsistent results with it, and never a proper envelope with attack, decay, sustain and release. Sometimes I’ll get the attack, but no release, or various combinations like that. Any help would be grand!!

Thanks,
Mike

Main Patch:

– Pasted Max Patch, click to expand. –

Poly Abstraction:

– Pasted Max Patch, click to expand. –

September 24, 2012 | 9:43 am

I have an example, called StupidSynth, that shows using adsr~ in a poly~. It can be found here:

http://www.xfade.com/max/examples/


September 24, 2012 | 9:51 am

Looking at your top level patch, I wonder why you are using poly in addition to poly~?

Here’s an untested simplified version of your top level patch:

– Pasted Max Patch, click to expand. –

September 24, 2012 | 12:18 pm

Thanks for the reply.

I followed the same method used in the MSP tutorial on

. is used with the target attribute of to route messages to a specific voice of . Maybe what I’m doing is unnecessary. I’ll try to do another method of polyphony without it, since it seems odd to have that to you. Maybe the on/off velocities from the MIDI is being allocated to different voices or something, thus creating problems in the envelope. Thanks for the input and looking at my patch. Always appreciated.

I appreciate another example too. Thanks for posting that.


September 24, 2012 | 1:44 pm

Ok. Got it. Here’s the working patch – might be helpful for someone else. Obviously you’ll have to connect some of the broken patch cords after you paste it.

Thanks to Chris for noticing the oddity of using the poly object.

Main Patch:

– Pasted Max Patch, click to expand. –

Poly~ Patch:

– Pasted Max Patch, click to expand. –

September 24, 2012 | 7:51 pm

Also, send/receive is a good tactic for this, since you want to make sure all copies are getting the same info.


Viewing 6 posts - 1 through 6 (of 6 total)