# Help with 3-Step Button Configuration and Visual Feedback

**URL:** <https://forum.bome.com/t/help-with-3-step-button-configuration-and-visual-feedback/6528>\
**Category:** Bome Products\
**Tags:** midi-translator\
**Created:** [September 21, 2024, 5:12pm UTC](https://forum.bome.com/t/help-with-3-step-button-configuration-and-visual-feedback/6528 "2024-09-21T17:12:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tijniszofijn](https://forum.bome.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@tijniszofijn](https://forum.bome.com/u/tijniszofijn)\
**Post date:** [September 21, 2024, 5:12pm UTC](https://forum.bome.com/t/help-with-3-step-button-configuration-and-visual-feedback/6528/1 "2024-09-21T17:12:17Z")

</div>

Hello Bome MIDI Translator Pro community!

I’m new to using this fantastic software, and I’m kicking myself for not discovering it years ago! I’m really enjoying exploring its capabilities, but I’ve run into a challenge that I’m hoping the community can help me solve.

## My Project: 3-Step Button Configuration

I’m trying to configure a 3-step button on my controller (PL-1) using Bome MIDI Translator Pro. Here are the specifics:

### Input:

- Controller: PL-1
- Button: Sends G#1 note on/off

### Desired Output:

1. MIDI Notes to Bome Virtual Port 1:

- Step 1: C5 (note 72), velocity 127
- Step 2: C#5 (note 73), velocity 127
- Step 3: D5 (note 74), velocity 127

1. Visual Feedback to PL-1:

- Step 1: G#1 (note 44), velocity 0
- Step 2: G#1 (note 44), velocity 1
- Step 3: G#1 (note 44), velocity 2

### Functionality:

- Each press of the G#1 button should cycle through the three steps
- For each step, it should send the corresponding MIDI note to Bome Virtual Port 1
- Simultaneously, it should send the visual feedback note back to the PL-1

As a newcomer to Bome MIDI Translator Pro, I’m not quite sure how to set this up correctly. Can someone please help me with the right translators or rules to achieve this functionality?

Any assistance, examples, or tips would be greatly appreciated! I’m excited to learn more about what this software can do.

Thank you in advance for your help!

---

<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:** [September 21, 2024, 6:18pm UTC](https://forum.bome.com/t/help-with-3-step-button-configuration-and-visual-feedback/6528/2 "2024-09-21T18:18:32Z")

</div>

Hi and welcome to the Bome community!

Please find the attached file.

First, I set up aliases for my devices as shown. You will need to redefine them based on the controller and virtual ports you want to use.

![image](https://forum.bome.com/uploads/default/original/2X/7/718cf669fbf010ffbe8f32ae3d11c24ea94fe55b.png)

You should be prompted when opening the project. If you want to later change them you can do it from the following menu item.

![image](https://forum.bome.com/uploads/default/original/2X/3/31388e62ac9d409f2995cd2e03a02d24f322b2dc.png)

You can learn more about aliases from [this tutorial](https://youtu.be/CrE391VJL0s).

There are two preset, I have set each for there own routing. The first preset receives from the controller and goes to the application.

 ![image](https://forum.bome.com/uploads/default/original/2X/3/36863c72a2327cc928eca1422c705fe72f883dd8.png)

The second preset receives from the controller and goes back to the controller for LED feedback.

![image](https://forum.bome.com/uploads/default/original/2X/c/c0a51d32db982ea4812df11bccabd3560e491577.png)

For more information about device selection, see [this tutorial](https://youtu.be/KunN2A1rKMY).

I use the global variable ga to control which step we are on in the rules of translator 0.0. Here are the rules where pp controls the note number and ga provides the step number.

```auto
// increment step
ga=ga+1
if ga>3 then ga=1

if ga==1 then pp=72
if ga==2 then pp=73
if ga==3 then pp=74

Log "Log Application step %ga% note %pp%"

```

We send the value of pp in the outgoing action;

![image](https://forum.bome.com/uploads/default/original/2X/d/dfcea9fd762454ed94712bc99f9b6c4d48e043c6.png)

For translator 1.1 we also use ga for the step counter but set the outgoing value based on the step and put it in the local variable qq.

Here are the rules:

```auto
if ga==1 then qq=0
if ga==2 then qq=1
if ga==3 then qq=2
Log "Log Feedback Step %ga% velocity %qq%"

```

And the output.

![image](https://forum.bome.com/uploads/default/original/2X/3/3124568642e5de68531bc90a8ddaaae7bbb5c3de.png)

[3-step-button-visual-feedbak.bmtp](https://forum.bome.com/uploads/short-url/rvu7f32ticdAg32KmDlMYZngRFu.bmtp) (1.9 KB)

Steve Caldwell  
Bome Customer Care

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

---

<div class="post-metadata">

**Author:** ![tijniszofijn](https://forum.bome.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@tijniszofijn](https://forum.bome.com/u/tijniszofijn)\
**Post date:** [September 23, 2024, 9:18am UTC](https://forum.bome.com/t/help-with-3-step-button-configuration-and-visual-feedback/6528/3 "2024-09-23T09:18:19Z")

</div>

thx you very much… works like a charm. In the end, I did not need the led feedback part because that will come back from the notes I sent. That was easy to set up.
