Forums > MaxMSP

help getting [poly~] to work with [adsr~]


DJF
April 18, 2012 | 7:14 pm

when I play midi notes through a [poly~] object with [adsr~] I hear some notes enveloping and some notes not. For example, with a long release time, some notes played via a midi controller have the specified duration whilst others just seem to produce a quick gated sound. Can anyone help determine why this is happening? Suggest any known examples out there or alternatives to note polyphony?

The patch I am using inside the poly~ is attached. I have also looked at the maxhelp for poly~.

– Pasted Max Patch, click to expand. –

April 18, 2012 | 7:23 pm

The adsr~ values you are sending are only going to the active voice. The easiest solution is to use send and receive for values that you want sent to all voices. (also, check out the target message for sending to specific / all voices)



DJF
April 18, 2012 | 7:58 pm

Thanks that was great! I just added a receive/unpack message to the inside of the [poly~] and a send/pack to the controls outside of the object. How did you know that was the the case? Did I miss it when I was looking at the help files?

– Pasted Max Patch, click to expand. –

April 19, 2012 | 3:36 am

Glad it helped. You can use the pak object in place of pack if you want it to output for input on any inlet.

I teach Max, so this one always comes up with poly~…


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