Resend the same midi message stored in a local variable shortly after hitting space

Hello, here is the thing, I am trying to re create this translator from keyboard maestro as detailed here Expression Maps MIDI Channel Reset - #15 by remark39 - Cubase - Steinberg Forums

I am using my stream deck to send Program Change messages (from 1 to 27) to Cubase to select the correct articulation.
The issue with Cubase is that everytime we hit STOP, it reset the current articulation to the default first articulation.
The goal of this is that we want to force Cubase to re-reset itself to the ā€˜last articulation sent’ a few ms after hitting STOP (spacebar)

The thing is, I only know how to work with local variables, I don’t know how to configure the output of my spacebar translator

Thanks

Hi,

Instead of having StreamDeck send directly to Cubase, have it send to Bome MIDI Translator instead. That way we can capture each program change and then resend it 100ms after you press the space bar.

The first translator captures the value of the program change in global variable ā€˜ga’ and then forwards the same MIDI message to Cubase.

The second translator looks for the space bar (which is passed through to whatever application is focused) and then 100ms (.1 second later) sends that program change again, thereby setting it to the last program change that was sent.

Of course, Cubase will probably need to have focus for the spacebar to properly process.

For testing, I have my aliases set up as follows. You will need to set them accordingly to your assigned MIDI ports.

image

You can learn more about aliases from this tutorial.

Streamdeck-to-Cubase-2023-10-22.bmtp (1.3 KB)

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

mesmerizing !
I didn’t know global variables work by manually typing in the rules text box.

This simple script is so powerful, it fixes a bug that’s been going on in Cubase forever

Thanks

1 Like

Two years later and still struggling with this issue. My expression maps are midi notes. Any way this can be modified to reset to a midi note rather than a program change? Any input is greatly appreciated

Hi see the attached.

Translator 0.2 take an incoming note and sets the articulation note number for outgoing when a space is pressed.

Translator 0.3 converts the space bar the the last known outgoing note number as specified in the rules of translator 0.2.

Streamdeck-to-Cubase–note-2025-09-28.bmtp (1.8 KB)

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

Thank you for this. How can I import this preset into a Bome project?

Hi, there is no ā€œimportā€ feature in Bome MIDI Translator Pro, however if you go to setting and enable multiple instances, you can use copy and paste to paste translators from one instance to the other. Make backups before in case you mess up because there is also no ā€œundoā€ capability.

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz