Midi Implementation Note On with velocity 0

Learn about building and using Max for Live devices.
Post Reply
MichaelAbletonForum
Posts: 45
Joined: Sat Nov 20, 2021 7:53 pm

Midi Implementation Note On with velocity 0

Post by MichaelAbletonForum » Sat Feb 17, 2024 11:52 pm

I have some gear that needs Note On with velocity 0. I understand that makenote or similar functions will translate 90 0 0 to 80 0 40, But the midiout which is described as "outputs RAW midi data" should do the but it translates it also. So, ok, its not possible because of existing devices. But a new object with real note offs and multi cannel support would be nice.

And i think every device developer will be standalone compatible in the future, than it is not a good idea to use external libraries.

Thanks in advanced! ;-)

chapelier fou
Posts: 6025
Joined: Mon May 15, 2006 12:15 pm

Re: Midi Implementation Note On with velocity 0

Post by chapelier fou » Sun Feb 18, 2024 7:57 am

MichaelAbletonForum wrote:
Sat Feb 17, 2024 11:52 pm
translate 90 0 0 to 80 0 40,
Not sure I understand that.

I guess you could always grab the raw midi input, process it, and send it out. Notes off always start with 128 then 2 numbers, so you could use [route 128] then [unpack] and replace whatever you need to replace (sorry, too lazy to check midi specifications).
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

MichaelAbletonForum
Posts: 45
Joined: Sat Nov 20, 2021 7:53 pm

Re: Midi Implementation Note On with velocity 0

Post by MichaelAbletonForum » Sun Feb 18, 2024 11:31 am

Sorry, it’s 0x90 (hexadecimal) = 144 Note on and 0x80 is 128 Note off.

you cant send a Note on with velocity 0. It will be changed to a note off.

Post Reply