merging multiple midi tracks into one using send and receive
Hello,
I would like to send the midi notes from several midi tracks to one single midi track.
I am sending data from each midi track using midi devices like this:
and receiving with one midi device on one midi track:
After around 5 seconds of working great, the receiving device stops sending midi to its midiout. Even a simple "64 127" to the midiformat doesn't go through.
Suspecting a note off handling issue, I've tried to midiparse the data and use stripnote, makenote, and flush with something like this:
But it still breaks after 5 seconds or so.
Sometime notes get stuck like if they didn't receive their note off message, but flush doesn't help. Sometimes pitches are incorrect, as if the order [pitch, velocity] was broken by another [pitch, velocity] message arriving at the same time.
Is there a proper way of merging multiple note messages from different sources?
Or is it a limitation of send/receive objects in Max For Live?
any help would be greatly appreciated!
Florent
the midiparse should be in the send patcher, so you can send a list "note 64 127". I make it this way, and never had a problem.
thanks DOUBLEUG
what do you do with this message [note 64 127]? you go to a [route note] in the receiver?
sending [pitch, velocity] instead of raw midi message doesn't seem to solve my issue unfortunately
it seems that the issue happens when two notes are played at the exact same time in two clips on two different tracks; the receiver then freaks out and the midi stops working
using Live 9.7.3 and macOS 10.12.6
the issue happens when two notes are played at the exact same time
is it possible to use iter or zl.stream in this case?
thanks Ben Sonic, actually pipe 0 did the job!
It seems like when two notes are played at the same time in two midi clips, they actually arrive at the exact same time in the receiver patch, making MIDI crash since MIDI likes events to be one after the other.
Somehow adding a [pipe 0] after the receive objects, seems to bring back the right-to-left order, sending the midi notes one after the other, and MIDI is happy.
thanks for your suggestions though!