# Turning a MIDI Controller into a 'Stream Deck' using Bome MIDI Translator

**URL:** <https://forum.bome.com/t/turning-a-midi-controller-into-a-stream-deck-using-bome-midi-translator/5636>\
**Category:** Bome Products\
**Tags:** perform\
**Created:** [November 7, 2023, 11:58am UTC](https://forum.bome.com/t/turning-a-midi-controller-into-a-stream-deck-using-bome-midi-translator/5636 "2023-11-07T11:58:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sn1](https://forum.bome.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@sn1](https://forum.bome.com/u/sn1)\
**Post date:** [November 7, 2023, 11:58am UTC](https://forum.bome.com/t/turning-a-midi-controller-into-a-stream-deck-using-bome-midi-translator/5636/1 "2023-11-07T11:58:26Z")

</div>

Hi - attempting to create a Stream Deck equivalent using Bome.

Wondering if its possible to make pad LEDs ‘Always-On’ so they backlight any labels stuck on them.

Besides that I wonder if anyone has any suggestions for this. I will be using the new Perform function surely

Thanks

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [November 7, 2023, 3:43pm UTC](https://forum.bome.com/t/turning-a-midi-controller-into-a-stream-deck-using-bome-midi-translator/5636/2 "2023-11-07T15:43:55Z")

</div>

Hi and welcome back!

Since this question was not directly related to APC-MINI MK2, I split it into a new topic.

Well yes, you can control LEDs on MIDI controllers with MT Pro if the controller supports it. This can get you similar partial support of what Stream Deck can do.  
Of course there are no API’s or ICON updates that Stream Deck handles.

On the forum there are several samples of how to manipulate LED’s. Also there is [this tutorial](https://youtu.be/dLGgOwMNfhw) which give an example of LED feedback.

Of course with the new Perform capability, you could set Perform parameters to an action that sends MIDI out back to your controller.

Let me know more specifically what you want to do and with what controller type and perhaps I can give you a good example using Perform.

The answer I gave to the [original topic](https://forum.bome.com/t/sending-led-colors-to-apc-mini-mk2-using-system-exclusive-sysex/5635/5) you posted might also help but it looks much more complex than what you are trying to do.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![sn1](https://forum.bome.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@sn1](https://forum.bome.com/u/sn1)\
**Post date:** [November 8, 2023, 12:23am UTC](https://forum.bome.com/t/turning-a-midi-controller-into-a-stream-deck-using-bome-midi-translator/5636/3 "2023-11-08T00:23:52Z")

</div>

Hi Steve 👋

I’d like to turn an APC40mk2’s pads into a makeshift Stream Deck, primarily for ‘one-click’ adding of plug-ins in Ableton.

This is done with a sequence of keyboard shortcuts:

> Cmd+f  
> ‘”Plugin name”’  
> Enter  
> Enter

Of course, a delay before the first Enter is preferable/necessary.

Less important: I’m hoping to make the LEDs Always-On, various colors for color-coding (Blue = compressor presets, Green = EQ presets, etc)

(I’ve made some nice labels in the past with an HP Sprocket printer… maybe I can find some small alphabet stickers, that would backlight nicely.)

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [November 8, 2023, 1:57am UTC](https://forum.bome.com/t/turning-a-midi-controller-into-a-stream-deck-using-bome-midi-translator/5636/4 "2023-11-08T01:57:04Z")

</div>

Well keystrokes are a bit difficult in MT Pro, however it is possible. You just have to assign a note number for every possible outgoing keystroke. In this case I assigned them loosely based on their ascii codes that would be used for serial data.

For this exersize, I called the plugin name ‘Hi’ so I only defined 4 keystroke translators

- Cmd(F) - Control F on my Windows machine
- H
- i
- Return

If you want more keystrokes, you will have to add similar translators for each keystroke desired.

The perform action takes two incoming parameters. The first is the ascii key code and the second is the amount of delay you want before you send the keystroke. The delay is in milliseconds.

So this is how it works

Translator 0.0 takes a note on note 0 value 127 for a trigger input.  
The outgoing action is Perform ‘Button1’ with a value of 0 (which is the sequence number.  
Translator 0.1 looks at the sequence number and decided which character to send and what delay to add.

One of the rules is to trigger a Perform ‘Keystroke’ action with the character number and the delay

Then the outgoing action triggers itself again after incrementing the sequence number

IMPORTANT - There is a rule to make sure after all characters are sent, no more Perform actions are triggered.

The application must have focus because it will send to the currently focused application. You could first add another translator to focus the application if you want, then put a delay on the other translators that are already written.

Here are the rules of incoming Perform ‘Button1’. You could do similar translators for other desired sequences.

```auto
// pp is the sequence number

// default delay in ms
ss=10

// What sequence number are we on
// rr will hold the ascii character number
// and ss the outgoing delay

if pp==0 then rr=6
// additional delay for cmd f
if pp==0 then ss=20
if pp==1 then rr=72
if pp==2 then rr=105
// additional delay for the first return
if pp==3 then ss=20
if pp==3 then rr=13
if pp==4 then rr=13
// No more characters in this sequences so quit
// BE CAREFUL NOT DO DELETE THE BELOW RULE AS YOU WILL IT
// WILL NEVER STOP
if pp>4 then exit rules, skip Outgoing Action

// Increment the sequence number
pp=pp+1
Log "Button One Pressed"
// rr is the key id and ss is the delay
Perform "Keystroke", rr,ss

// outgoing action here - pp is the sequence number
// we are calling ourself

```

This requires MT Pro 1.9.1 or greater to work as ‘Perform’ is a new feature that just released last month. Note, there is no need for any global variables using this technique which shows the true power of ‘Perform’ and parameter passing.

[Perform-Key-Sequence.bmtp](https://forum.bome.com/uploads/short-url/w2ELM29FFoKX3TIu0aBZtxIDo9A.bmtp) (3.4 KB)

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [November 8, 2023, 2:05am UTC](https://forum.bome.com/t/turning-a-midi-controller-into-a-stream-deck-using-bome-midi-translator/5636/5 "2023-11-08T02:05:36Z")

</div>

Oh and lighting LED’s on your controller is pretty simple but probably requires a different thread.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![sn1](https://forum.bome.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@sn1](https://forum.bome.com/u/sn1)\
**Post date:** [November 8, 2023, 12:26pm UTC](https://forum.bome.com/t/turning-a-midi-controller-into-a-stream-deck-using-bome-midi-translator/5636/6 "2023-11-08T12:26:13Z")

</div>

Ok, Thank you!

I didn’t realize keystrokes were that cumbersome.

Maybe it is best to use Bome to output a simple key combo, and let that trigger a macro app like Keysmith (AutoHotKey for windows) for the more complex keypress sequence.

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [November 8, 2023, 12:31pm UTC](https://forum.bome.com/t/turning-a-midi-controller-into-a-stream-deck-using-bome-midi-translator/5636/7 "2023-11-08T12:31:40Z")

</div>

Yes, for Mac I usually use Keyboard Maestro and send MIDI to that and have Keyboard Maestro do the text (macro) generation. On Windows, I use AutoHotkey. I just wanted to illustrate that it is possible using Bome MIDI Translator alone.

Note, that for AutoHotkey, you either need to find or write a script to convert MIDI to keystrokes. There may be another application out there for Windows more suitable for macro substitution.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![sn1](https://forum.bome.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@sn1](https://forum.bome.com/u/sn1)\
**Post date:** [November 8, 2023, 2:55pm UTC](https://forum.bome.com/t/turning-a-midi-controller-into-a-stream-deck-using-bome-midi-translator/5636/8 "2023-11-08T14:55:42Z")

</div>

Gotcha - I will check out Keyboard Maestro for the MIDI input, surely Keysmith can’t do that.

Maybe I’ll resolve to buying a Stream Deck during the inevitable upcoming #blackfriday/#cybermonday sales. Those buttons do look pretty 😉
