Note Off from Note On?
-
I have some situations where I need to transform Note On to Note Off messages.
For starters, I am just trying to generate the Note Off messages from Note On, but I do not see a clear way to do this.
I have tried this, but it does not do anything to the messages:
I thought this would output a Note On and Note Off message simultaneously for each Note On received.
Is there some other method to use to create Note Off from Note On?
-
@VirtualVirgin Change the velocity to 0, most hosts count this as note off
-
@d-healey said in Note Off from Note On?:
@VirtualVirgin Change the velocity to 0, most hosts count this as note off
Thanks!
Yes I forgot to try this.
My only concern is situations where it may be needed that the messages are distinctly categorized as "note off" as opposed to "note on". I can't think of exactly where it would be crucial, but I may find out down the road a bit.In HISE it seems that the note on of velocity 0 remains in the note on category, so when I do subsequent processing with MIDI script modules, the notes will still be going to the "onNoteOn" callback, instead of getting forwarded to the "onNoteOff".
No so terrible as I can treat those by using filter for == 0 velocity in the "onNoteOn" callback, but maybe a bit messy to have note offs appear in two different places.