OK, here is what I did
Created a new preset called “Init”. Put 3 translators there. 1st translator fires timer “Init” on project open.
2nd translator will also fire the “Init” timer on when you hit escape key on computer keyboard.
3rd translator monitors for the “Init” Timer and sends the MIDI initialization message to the APC Key 25 only.
This way you have two was to send the initialization message, on project open or hitting your computer escape key.
Then I deleted your default routes, since you probably will want everything to be done by translators. You may want to add the route back in from APC Key 25 to Bome MIDI Translator Virtual 1 port. I generally like to do everything in translators instead of default routes as I don’t like side affects of things coming through that I don’t know about. Keep in mind, anything that is not “swallowed” in a translator will pass through the default route.
Under the Init preset I set the output project port as APC Key 25 only since that is the only place we want to send the initialization string.
I renamed “New Preset” to “Work”. You can change it to something more descriptive if you would like but New Preset is the default name when creating a new one so I usually like to change it to know what I have touched.
The newly named “Work” preset I set input device as APC Key 25 and output Device as Bome MIDI Translator Virtual One port
That way every translator under that preset will receive from and send to BMT1 only. I try to do most port management at the preset level based on the devices I’m controlling.
Now since the initialization setting should make all buttons momentary instead of toggle, I changed Clip R1C1On and R1C1 Off as follows.
R1C1 Off I will disable. More on this later.
Under R1C1 On, I toggle a global variable ga every time it is pressed with the rule:
Then the rules here will determine the output value
if ga==1 then pp=144 (this is decimal for 90 or note on)
if ga==0 then pp=128 (this is decimal for 80)
On output we send a raw midi message
pp 0A 7F
So essence we are sending note on if ga=1 and note off if ga=0 and we can do it with only one translator instead of two.
Finally a preset for LED Feedback called “LED Control”
Input for this preset is APC Key 25 and output is also APC Key 25.
I copied R1C1 On from the other translator but we have to change the output going back to
APC Key 25
I use this logic to determine the output
if ga==1 then pp=127
if ga==0 then pp=0
and then output will be 90 35 pp
We don’t do ga=ga^1 here because it was already done in an earlier translator. We don’t want to double toggle.
So if this works for you, you will need to go through and change the other clips to look like this, however each button will need anothre global variable. I suggest gb, gc , gd etc.
I went ahead and did R1C2 as will so you should see how to carry it forward.
I don’t have an APC Key 25 so hopefully I didn’t make any mistakes because I could not test.
I hope this works for you.