Help with tagging notes with a random tag

    Jan 05 2017 | 5:10 pm
    Hi, i'm stuck at trying to make this :
    the main goal is to send MIDI note messages to several hardware synths randomly. To keep the logic from the rest of the patch, i would need to format the messages like this :
    My problem is that just using [pack 0 0 0] and [random], i lose track of note-on messages and i don't associate note-on to note-off messages.
    Any idea ??
    Thanks for checking,

    • Jan 05 2017 | 8:23 pm
      Separate note-on and note-off pitches, make a random tag only for the note-on pitches, use [offer] to make the note-offs use the same random tag as the corresponding note-ons, velocities don't need to be changed. I think this does what you want, but I haven't thoroughly tested it:
    • Jan 06 2017 | 3:45 pm
      I'm checking your patch. Thanks very much !
    • Jan 06 2017 | 3:58 pm
      Brilliant ! i add [offer] to my 2017 list of max objects.
    • Jan 06 2017 | 9:09 pm
      You're welcome, Louis. I've always found [offer] to be the perfect object for stuff like this.