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
switching between 2 running midi sequences
5 posts
• Page 1 of 1
switching between 2 running midi sequences
Hi,
Having some problems with switching between 2 midi sequences that run at the same time. So far, no success to switch between them with a simple green selector without
Ending up with stuck notes, pops and clicks. So maybe ruby got the answer? The challenge is to make a smooth and deccent switch that will completely block the switched sequence durring the switch and on the other hand, will smoothly combine the second sequence. Tried so far every possible ruby "if then" i got in my tool box, but couldn't figure it out. Any ideas?
Having some problems with switching between 2 midi sequences that run at the same time. So far, no success to switch between them with a simple green selector without
Ending up with stuck notes, pops and clicks. So maybe ruby got the answer? The challenge is to make a smooth and deccent switch that will completely block the switched sequence durring the switch and on the other hand, will smoothly combine the second sequence. Tried so far every possible ruby "if then" i got in my tool box, but couldn't figure it out. Any ideas?
-
kortezzzz - Posts: 763
- Joined: Tue Mar 19, 2013 4:21 pm
Re: switching between 2 running midi sequences
Your problem might be, that when you switch off a section, notes get stuck because they don't receive note off massage anymore. To fix this problem you need to "kill" all currently playing notes by sending respective "note off" massages.
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: switching between 2 running midi sequences
Thanks for the fast respond, KG. what is the easiest (yet reliable) way to kill the notes? should I use midi splitting\event combination and and just disconnect it's triggers on switching, or there might be a much elegant and naughty ruby trick for that?...
-
kortezzzz - Posts: 763
- Joined: Tue Mar 19, 2013 4:21 pm
Re: switching between 2 running midi sequences
YOu may create a ruby module, that will detect note on massages and store their pitches into array and remove the pitches form array on note off massages. then when it receives trigger to switch, it will produce "note off" massages for all pitches that are currently in the array (which means they are on at the moment).
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: switching between 2 running midi sequences
Thanks, I'll try that
-
kortezzzz - Posts: 763
- Joined: Tue Mar 19, 2013 4:21 pm
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 71 guests