since my midi sequencer doesn’t process CC messages, I’d like to convert CC64 messages to delayed note off commands. Specifically, I’m looking to achieve the following: If midi note off commands are received while CC64 is equal to or larger than 63, delay those midi note off commands until CC64 is smaller than 63 again.
Is this possible with MIDI Translator Pro? If yes, how would such a project look like? I’ve been unsuccessful so far.
Thanks and best regards
Marked as spam
thanks for the quick answer!
One follow-up question: What about notes that are still held while Midi CC drops under 63? They will also be cut-off, right? Any chance to have a workaround where only note off commands that actually occurred during the sustain-pedal-down phase are delayed until the sustain pedal is released?
Thanks so much
Marked as spam
In order to only turn off notes that were held down while sustain was on, you would need to track each of them in global variables and then upon release of the sustain pedal, only turn off those notes. This is beyond the level of support we offer here on the forum, however I could do this for you as an independent contractor if you will. Just drop me an email and I will give you a quote.
A little more explanation here. You could you 4 global variables to bit map each note . A global variable is a 32 bit integer so 48×32 =128 notes. Most keyboards have no more than 88 so you could probably bitmap just 3 or 96 notes. You have a translator that when you send note-on, it figures out which variable and bit to set to 1. You have a similar transator to clear the bit when you release the note. That way you are tracking the up/down state of all notes. Then you modify the all-off timer to test the state of each bit and only send the note-off message for keys that are released (have zero state). If the bit state is 1, then you execute, exit rules, skip outgoing actions. Make sense?
Thanks again for the comprehensive reply. I’ve also just dropped you a private Email.
The attached should work.
Set up your aliases as follows:
From Keyboard – Whatever MIDI port your keyboard is on
To Sequencer – Whatever MIDI port your sequencer is on
We have 4 translators.
The first one “CC 64 Control” looks at the value of your CC 64 and sets the global variable ga to 1. This will later tell Bome MT whether to pass through note-off messages or not.
If CC drops below 64, it will also start iterate through a timer “All Notes Off” (which is the second translator). The timer All Notes off, iterates from note 127 to 0 on MIDI channel one turning off every possible note on MIDI CH 1. The timer translator (second translator) will only trigger if CC 64 is below 63 AND has moved from above 63 (so that we don’t get all notes off if we go for instance, from 62 to 61.
Then we have a third translator that looks at the Note off messages on MIDI CH 1 and only passes them through if ga=0
Finally we have a translator (forth) that suppresses Note Off messages that are generated by MIDI the MIDI through path I’ve set in the project. Here I have the output as None as this is required to suppress the Note Off and bypass the default route for that type of message.
By setting a MIDI through path. Any thing that does not have a translator will pass through untouched.
I hope this helps.
Marked as spam
Please log in to post a topic
(this is your bome account, not the old forum account):.