Forums > MaxMSP

vst~ all notes off

June 20, 2012 | 10:30 am

Hi all,

is there a general way to send a MIDI all notes off depending on channel?
I’d like to send informations to a vst virtual instrument with one command, I think there should be. now the way I do it is very unelegant (like with a uzi and counter send really ALL notes off ;-)


June 20, 2012 | 11:37 am

all notes off should always be per channel – if a device is in omny mode, all notes
off should be ignored anyway.

if a VST plug-in in max/msp can be sent all notes off or all sound off, is another
prior the max 6 vst~ update i would say no, in max 6 i dont really know but would
guess still no.


June 20, 2012 | 12:42 pm

I do it by sending the All Notes Off CC command – just send this message to vst~:

midievent 176 123 0

Hope that helps.

June 20, 2012 | 2:56 pm

i don’t know if it’s a Kontakt problem or what but notes are still there…
if I want to select a specific MIDI channel, let’s say a note off to channel 8, how should i pack it?

(144 + 7) 176 12 0
176 (+7) 12 0


assuming 176 is for channel 1

June 20, 2012 | 4:28 pm

Yes, 176 is channel 1, so channel 8 would be 183.

183 123 0

Kontakt may just not respond to this CC message, but it *is* pretty standard:

June 20, 2012 | 4:48 pm

If it doesn’t respond, there’s probably not much you can do for All Notes Off, but you could also try All Sound Off, controller 120. So that would be

midievent 176 120 0
for channel 1, assuming it’s per-channel.

You can also ramp the volume of the channel down before sending All Notes/Sounds Off to make a fade-out by using controller 7, I assume Kontakt responds to that one. Then you can ramp back up to 127 or wherever controller 7 was previously.

BTW great MIDI spec page, thanks for the link!

June 20, 2012 | 5:53 pm

I’ve used Jeff Glatt’s MIDI site for years, it’s the clearest and best one out there. Plus, any site who’s home page says "MIDI is the language of gods" has something going for it…

June 21, 2012 | 1:41 pm

thanks everybody, and yes, the link is very good!
don’t know why all sounds off works, while all notes off doesn’t…
btw, again: thanks!

Viewing 8 posts - 1 through 8 (of 8 total)