MIDI polyphony question


    Feb 16 2017 | 12:19 pm
    I realized that i can't send the same note N times to noteout and keep N instances of this note sounding simultaneously. Instead, it just keeps 1 copy of the note, removing the previous one and retriggering it again for every new bang.
    I guess this should be solved using some poly trickery... but i don't have much experience using it.
    Does anyone know of a workaround for this?
    (i attach a simple demonstration of this...)
    thank you!

    • Feb 16 2017 | 12:52 pm
      EDIT: multiple note-ons are actually sent. The problem is that a single note-off eliminates every hanging note-on.
      I'm afraid this is a characteristic of the MIDI protocol itself, nothing to do with MAX.
      Maybe i should keep track of how many repetitions of the same note are actually hanging, and just send the off message when the number of note-offs is equal to the number of hanging notes.
      Did anyone found a similar case?