vst~ all notes off

personal_username's icon

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 ;-)

Thanks!

Roman Thilenius's icon

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
question.
prior the max 6 vst~ update i would say no, in max 6 i dont really know but would
guess still no.

-110

Dan Nigrin's icon

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

midievent 176 123 0

Hope that helps.

personal_username's icon

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
or
176 (+7) 12 0

?

assuming 176 is for channel 1

Dan Nigrin's icon

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: http://home.roadrunner.com/~jgglatt/tech/midispec.htm

seejayjames's icon

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!

Dan Nigrin's icon

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... http://home.roadrunner.com/~jgglatt/

personal_username's icon

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!