Page 1 of 1

All MIDI off messages

Posted: Tue Oct 28, 2014 1:19 pm
by Nowhk
Hi,

I'm new to Flowstone, and I'm looking to create a plugin that will stop ALL current playing notes.

I've used the Split Module, linked to MidiEven tool, and I see that for every key pressed, gate is open with 144 (note on) and close at 128 (note off) values.

If I change that value, it changes only for the last pressed key.
What's the way to send the value to all previous triggered keys? So every note (the old ones, which are sustaining) will stop. Is there a way?

Or can I just send a All note off midi message #123 to that control and it will automatically stop them all?
Can you help me?

Thank you

Re: All MIDI off messages

Posted: Tue Oct 28, 2014 4:12 pm
by KG_is_back
Try this one. It uses ruby code. The code has an array called @notes which holds true/false that indicates whether the note is on or off. When a trigger from input (1) is received the loop checks the array @notes and sends 128 message with appropriate data for each held note.

On the other hand it might be cheaper on CPU to simply send off message for all notes. I've heard some keyboards do it that way.

Re: All MIDI off messages

Posted: Tue Oct 28, 2014 4:58 pm
by Nowhk
Thanks for the reply!
Tried your example, but its too much CPU taker. It "freeze" a bit FL when using it. I need somethings "fluid" and immediate.

Yes, I could simply send "All notes off", but how can I deal with it inside FlowStone? Or how can a Button send a MIDI Message?