keep note on after a change

    Apr 07 2006 | 2:35 pm
    Hi, I have just started to learn max/msp and I was toying with make a simple synth controlled by a midi keyboard. But I have noticed that if I play a note and then change a note before my envelope finishes, I get that nasty clip sound. Can anyone suggest a way that I could keep the tone going until the end of its envelope rather then it clipping out when I play the next note? I suppose I could use a reverb-like delay or polyphony but I would like to take one step at a time.
    Cheers, Jason

    • Apr 07 2006 | 4:08 pm
      ADSR~ will do this for you. Using the legato message, or you could just use poly~. You could also use borax to tell you how many notes on are being held. If it is more than one, use a second envelope that doesn't have an initial value (i.e. the first point is at 1., 100 msec into the envelope). You can make it just like the first, but erase the initial 0.
      I'd also like to put in my request for another example in the file; it'd be nice to see something like the poly~ example that's tucked away in the adsr~ file (except polyphonic). Right now, it's not immediately clear what poly~ might be useful for. (and this would be helpful particularly to people starting out)
      Peter McCulloch