mpeevent to midiout

double_UG's icon

How to send the mpeevent´s to midiout? I want a device that simply delays the the note on/off a few ms to make shure the CC´s first set the parameter per live mapping, before the note on arrives. I have problems to output the mpeevents to the midiout.

Max Patch
Copy patch and select New From Clipboard in Max.

Source Audio's icon

why do you not separarte note events and also pass them separately ?

midi needs no list, but streaming bytes.

you separate $4 and $5 from mpeevent 1 1 -1 144 60 70

that outputs -1 144

to separate notes you need all 3 bytes 144 nn nn and 128 nn nn

if you also want to delay note off messages.

P.S. I don't know what your MPE stream at the end is, but maybe you need all channels, and to make sure that delayed note events get paired with their mpeevent header.

double_UG's icon

mpepolygen from the RISE package does it. Thanx for your Input.

Source Audio's icon

are you sure your mpe data gets preserved ?

To my eyes it seems that any channel separation gets lost ...