Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

All MIDI off messages

For general discussion related FlowStone

All MIDI off messages

Postby Nowhk » Tue Oct 28, 2014 1:19 pm

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
Nowhk
 
Posts: 275
Joined: Mon Oct 27, 2014 6:45 pm

Re: All MIDI off messages

Postby KG_is_back » Tue Oct 28, 2014 4:12 pm

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.
Attachments
midi off all.osm
(702 Bytes) Downloaded 727 times
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: All MIDI off messages

Postby Nowhk » Tue Oct 28, 2014 4:58 pm

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?
Nowhk
 
Posts: 275
Joined: Mon Oct 27, 2014 6:45 pm


Return to General

Who is online

Users browsing this forum: No registered users and 68 guests