Send MIDI note off message (0x90) with Max

max's icon

Hello,

I'm working with an arduino hardware which seems not working with the combination makenote->noteout I use habitually. We discovered Max doesn't send real note off message (0x80) but rather note on message with a velocity of zero.

So, I'm looking for an object allowing to change the classic note off message - from the note on 0x90 with velocity zero to classic note off messages (0x80).

an idea ?

thanks by advance for your great help !

M.

Source Audio's icon

It has nothing to do with arduino hardware, but midi library that you use, which seems not to work without note off with release velocity.
if you must use that lib, separate note on and off messages
and send them to midiout with prepended status bytes.

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

max's icon

thanks for your reply Source Audio !
but how I can update my library ?
I saw also a possibility to solve that problem using the Xnoteout object, isn't it ?

Source Audio's icon

midi is nothing but series of bytes, one needs no library to
parse midi stream.

But as it is easy to send needed note off from max,
you can keep using the lib.

xnoteout also needs few objects