# Toggle led on a roland f 100 mkii foot controller

**URL:** <https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544>\
**Category:** Bome Products\
**Tags:** midi-translator\
**Created:** [September 18, 2022, 6:03pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544 "2022-09-18T18:03:22Z")\
**Posts on this page:** 20\
**Page:** 3

<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, 2022, 11:45pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/41 "2022-09-21T23:45:07Z")

</div>

Hi, make sure you are directing the MIDI traffic exactly from the MIDI in ports ans MIDI out ports you want and nowhere else It appears you are sending CC change back to both your F-100 (iRig Pro I/O MIDI OUT) and to your application (Bome MIDI Translator Virtual 1 Out). Also your loopMIDI port.

See [this tutorial](https://www.youtube.com/watch?v=CrE391VJL0s) on the use of aliases.  
See also [this tutorial](https://www.youtube.com/watch?v=KunN2A1rKMY) on how to direct MIDI traffic.

Steve Caldwell  
Bome Customer Care

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

---

<div class="post-metadata">

**Author:** ![couluc](https://forum.bome.com/letter_avatar_proxy/v4/letter/c/9e8a1a/32.png) [@couluc](https://forum.bome.com/u/couluc)\
**Post date:** [September 22, 2022, 1:51pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/42 "2022-09-22T13:51:52Z")

</div>

Good morning Steve. I made some progress and view your appreciated links… I send you my try file to program the dumb…If you look at translator 12 and 13 it is an attempt to toggle led of a pedal at the same time i send a control change using the same raw sysex input event address… Each translator works by itself but when i select the both together only one is doing the translation… Curiously the same process works well with program change in the other translator… Sorry to disturb you and thanks for your light…

[FC100-Sysex-Pedal-dumb2022-09-21.bmtp](https://forum.bome.com/uploads/short-url/h46fdou66rbehlkrxfmWbCz0VBQ.bmtp) (6.6 KB)  
… Thanks for your reply…

---

<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 22, 2022, 5:41pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/43 "2022-09-22T17:41:53Z")

</div>

Hi,

First of all, you have all MIDI in ports going to all MIDI out ports. Each message type will need to be directed to a different port. In the attached examples, because the preset is set for input of FC-100 and output of application, the CC message will only go to the application.

In the second translator, I overrode the destination to send the Sys-EX message by to the FC100

Now the second issue is that the FC-100 requires a bit map for devices so I had to bitmap ga to the 8 pedals. The first 4 bits are mapped to pedals 1-4 and the Sys-Ex address is 0x24. The second 4 bits are mapped to pedals 5-8 and the Sys-EX address is 0x25. I have to use several rules for evaluation and doing the correct mapping. Instead of toggling the entire value of ga, I only toggle the proper bit which is done in translator 0.0

We then evaluate the incoming message in translator 0.1 to determine which address to send to and we send information on all 4 bits for that address.

For bit mapping reference, you can look at t[his post](https://forum.bome.com/t/bitwise-operations-and-reference/1862).

Give it a try. Again, I have no way to test (except on paper).

[FC100-Sysex-Pedal-2022-09-22.bmtp](https://forum.bome.com/uploads/short-url/qwXvRZJgkEcjxWPzJoTqzEJJJen.bmtp) (2.9 KB)

Steve Caldwell  
Bome Customer Care

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

---

<div class="post-metadata">

**Author:** ![couluc](https://forum.bome.com/letter_avatar_proxy/v4/letter/c/9e8a1a/32.png) [@couluc](https://forum.bome.com/u/couluc)\
**Post date:** [September 22, 2022, 6:37pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/44 "2022-09-22T18:37:52Z")

</div>

Thank you very much Steve for all the efforts and the solution provided … You are a great pedagogue and programmer … I hope one day to succeed in understanding all this as well as you … For the moment I develop my logic on the functioning of the midi translation using my intuition …Bome translator is awesome and it’s a whole new world for me… And a language that I hope to master up to the results I am trying to achieve… Thank you for your time and expertise… Have nice day !

---

<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 22, 2022, 8:39pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/45 "2022-09-22T20:39:50Z")

</div>

Thank you for the kind words! Should I assume it is working for you? If so, could you please mark the thread as resolved. I’m sure other users that are interested in Sys-Ex programming may also find this thread useful.

Steve Caldwell  
Bome Customer Care

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

---

<div class="post-metadata">

**Author:** ![couluc](https://forum.bome.com/letter_avatar_proxy/v4/letter/c/9e8a1a/32.png) [@couluc](https://forum.bome.com/u/couluc)\
**Post date:** [September 27, 2022, 1:40pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/46 "2022-09-27T13:40:04Z")

</div>

hello Steve hope you have a good morning… I am trying to understand the program you sent to me…  
i succeeded to make it works, (thanks alot again)… NOw as a good student i want to follow each step one by one… Beginning with

For F0 41 00 29 12 pp qq rr F7 (pedal 5 pp=12 if i am not wrong cc#4)

The code…  
// pp is the petal number (0x0d - 0x15)  
// in latch mode  
// qq is the pedal state 0=off 0x7f is on  
// rr is the checksum

// Make it CC0-CC7  
pp=pp - 14  
// Now pp will be 0-7  
if pp\<4 then exit rules, skip Outgoing Action (Ionly use pedal 5 to 8 to toggle the effect…)  
if pp\>7 then exit rules, skip Outgoing Action

now

If pp=12 in pp=pp-14 pp= -2 How can it exit in the outgoing with pp=4

ex: 1407: OUT 0.16 Control Change on ch. 1 with CC#:pp=4 and value:qq=0

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:** [September 27, 2022, 1:52pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/47 "2022-09-27T13:52:07Z")

</div>

```auto
// pp is the petal number (0x0d - 0x15)
// in latch mode
// qq is the pedal state 0=off 0x7f is on
// rr is the checksum

// Make it CC0-CC7
pp=pp - 14
// Now pp will be 0-7
// This will only trigger if pp==4 (pedal 5 is pressed)
if pp!=4 then exit rules skip outgoing action

```

Steve Caldwell  
Bome Customer Care

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

---

<div class="post-metadata">

**Author:** ![couluc](https://forum.bome.com/letter_avatar_proxy/v4/letter/c/9e8a1a/32.png) [@couluc](https://forum.bome.com/u/couluc)\
**Post date:** [September 27, 2022, 2:05pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/48 "2022-09-27T14:05:05Z")

</div>

ok thanks for the ! hint…

But  
If pp=12 in pp=pp-14 mean pp= -2 so How can it exit in the outgoing as pp=4  
i can’t link the result…

---

<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 27, 2022, 4:38pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/49 "2022-09-27T16:38:42Z")

</div>

For pedal number 4 the original input value should be shown as 17 or 0x11 so when you subtract 14 from that, the the pp value should end up as 3 not -2.

If I remember (not looking at the manual)Pedals are:

0x0e -14 - Pedal 1  
0x0f -15 - Pedal 2  
0x10- 16 - Pedal 3  
0x11- 17 - Pedal 4  
0x12 - 18 - Pedal 5  
0x13 - 19 - Pedal 6  
0x14- 20 - Pedal 7  
0x15 -21 - Pedal 8

Steve Caldwell  
Bome Customer Care

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

---

<div class="post-metadata">

**Author:** ![couluc](https://forum.bome.com/letter_avatar_proxy/v4/letter/c/9e8a1a/32.png) [@couluc](https://forum.bome.com/u/couluc)\
**Post date:** [September 27, 2022, 5:22pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/50 "2022-09-27T17:22:35Z")

</div>

sorry for the beginner error… I simply omitted to convert the hexadecimal value to decimal to perform the Operation…

---

<div class="post-metadata">

**Author:** ![couluc](https://forum.bome.com/letter_avatar_proxy/v4/letter/c/9e8a1a/32.png) [@couluc](https://forum.bome.com/u/couluc)\
**Post date:** [September 28, 2022, 9:47pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/51 "2022-09-28T21:47:31Z")

</div>

hi steve hope you feel good… I want to toggle between 2 preset with the control pedal…The program  
works but j have to press the pedal twice each time to induce the preset toggle . Even if i use the two state of the pedal in the following program… Have you an idea to resolve this… regards…

[FC100-Sysex-Pedal-bitmap-2022-09-28.bmtp](https://forum.bome.com/uploads/short-url/8ihIoZria04ZCZZKZXjDQoRxOgv.bmtp) (6.0 KB)

---

<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 28, 2022, 11:19pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/52 "2022-09-28T23:19:10Z")

</div>

0x0E to 0x15 is for latch mode. Try 0x16 to 0x1d instead.

Maybe you are trying to to get both the pedal and MT Pro to perform the latch.

Steve Caldwell  
Bome Customer Care

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

---

<div class="post-metadata">

**Author:** ![couluc](https://forum.bome.com/letter_avatar_proxy/v4/letter/c/9e8a1a/32.png) [@couluc](https://forum.bome.com/u/couluc)\
**Post date:** [September 30, 2022, 9:46pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/53 "2022-09-30T21:46:09Z")

</div>

HI Steve !  
have you ever had a case where mt pro did not pass the midi information to the target software…  
with the foot controller in midi mode the commands pass to the software (amplitube) the presets change…when I am in sysex mode the commands and translations go to the output in midi, but are not directed to the program (Amplitube)…

: MIDI IN [iRig PRO I/O MIDI IN]: F0 41 00 29 12 0F 00 71 F7  
2: MIDI OUT [iRig PRO I/O MIDI OUT]: C0 01  
3: MIDI OUT [iRig PRO I/O MIDI OUT]: C0 01  
4: MIDI OUT [iRig PRO I/O MIDI OUT]: F0 41 00 29 12 26 02 71 F7  
5: MIDI OUT [iRig PRO I/O MIDI OUT]: F0 41 00 29 12 26 02 71 F7

Ihave tried many test reintalling each program …Trying some tranlation program who was working before but same results…  
Thanks for your hint…  
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:** [October 1, 2022, 1:44am UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/54 "2022-10-01T01:44:16Z")

</div>

Hi, if your MIDI in matches a translator, then the path will match the incoming and outgoing ports set at the project level, preset level or translator level. Preset level overrides project level and translator level overrides both preset and project level. See [this tutorial](https://youtu.be/KunN2A1rKMY).

If your MIDI does not match a translator it will follow the path designated by drawing a line from the designated input port to the output port in the MIDI router.

If your matching translator does not have the swallow option set, the MIDI will also follow the path designated in the MIDI router.

Steve Caldwell  
Bome Customer Care

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

---

<div class="post-metadata">

**Author:** ![couluc](https://forum.bome.com/letter_avatar_proxy/v4/letter/c/9e8a1a/32.png) [@couluc](https://forum.bome.com/u/couluc)\
**Post date:** [October 1, 2022, 9:36pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/55 "2022-10-01T21:36:24Z")

</div>

HI Steve …i am a little at the end of the solution … I tried several project configurations without success…  
with the foot controller in midi mode the commands pass to the software (amplitube) the presets change…when I am in sysex mode the commands and translations go to the output in midi, but are not directed to the program (Amplitube)… At project level i set input and output to irig Midi out and in…Other level preset and translator are set to program by default and nothing swallowed… unfortunately that change nothing…Thanks good evening…

[FC100-Sysex-Pedal-bitmap-2022-09-29(-1).bmtp](https://forum.bome.com/uploads/short-url/zXQFJ0Kf4APFNO92Aj0ZdlJo5aP.bmtp) (10.4 KB)

---

<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:** [October 2, 2022, 3:59am UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/56 "2022-10-02T03:59:05Z")

</div>

What MIDI port are you monitoring with Amplitude? You will need to set up a virtual port for Amplitude and send the CC and PC commands there. Maybe use BMT 2.

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:** [October 2, 2022, 4:26am UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/57 "2022-10-02T04:26:03Z")

</div>

Hi, since we are talking routing only at this point, I removed the bank toggle preset and split your translators into 2 presets. The first preset is from your footpedal back to your footpedal. Routing is set at the preset level.

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

The second preset is from your footpedal to Amplitude (an alias for your chosen Virtual MIDI port.

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

This concept of device selection is discussed in more detail in [this tutorial](https://youtu.be/KunN2A1rKMY).

As mentioned in the tutorial, I tend to like to manage port selection at the preset level as doing so at the translator level takes more time (more translators than presets).

As far as switching banks with presets, you might need to enable and disable more presets at a time since you will need a preset for feedback and a preset for sending to amplitude. For this reason, I would rather handle bank selection by a global variable rather than switching presets. For insance, global variabe g0 for bank 0 g1 for bank 1 and then put in rules the condition on whether you are on the right bank.

// if not bank 0 we will skip this translator  
if gb!=0 then exit rules, skip outgoing action

[FC100-Sysex-Pedal-bitmap-2022-10-01-sjc.bmtp](https://forum.bome.com/uploads/short-url/qTzn1xfge3HA7DxT1MYmqD3hDMO.bmtp) (5.2 KB)

Here is how I set my aliases for testing. I’m using SendSX to send the Sys-Ex messages.

![image](https://forum.bome.com/uploads/default/original/2X/8/85a110b8d0e8baa1ee3414e4c83963e5334ef07d.png)

Steve Caldwell  
Bome Customer Care

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

---

<div class="post-metadata">

**Author:** ![couluc](https://forum.bome.com/letter_avatar_proxy/v4/letter/c/9e8a1a/32.png) [@couluc](https://forum.bome.com/u/couluc)\
**Post date:** [October 3, 2022, 2:14pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/58 "2022-10-03T14:14:53Z")

</div>

Good morning Steve…Thank you for sharing your programming tips, it is appreciate and it will be very useful to me… For the moment I am still at the same point, the translation does not pass to amplitube … I tried your examples without success…even reprogramming a translator from the scratch… I wonder if the problem would not come from the system files of windows…It should not be so complicated… I am border line to format my pc and réinstall all the stuff just to see… But this is a little bit drastic… Maybe a corrupt system file… How to know… yet it worked so well…I had some problem saving a project with BMt before the problems started. The saved files did not reopen as I had saved them… Now it’s ok but with the problem you know… Have a nice day !!

---

<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:** [October 3, 2022, 7:45pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/59 "2022-10-03T19:45:08Z")

</div>

The issue would not be in your system files. Maybe an issue with Amplitude. If you could capture a log of your activity and post it, I can take a closer look. I’m sure it is a routing problem somewhere or perhaps you don’t have Amplitude set up for reading the right MIDI port. Are you using Amplitude as stand-alone or as a VST plugin?

Steve

---

<div class="post-metadata">

**Author:** ![couluc](https://forum.bome.com/letter_avatar_proxy/v4/letter/c/9e8a1a/32.png) [@couluc](https://forum.bome.com/u/couluc)\
**Post date:** [October 3, 2022, 9:55pm UTC](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544/60 "2022-10-03T21:55:30Z")

</div>

i Steve… I’am using amplitube as stand alone…and you know what ??? i finally succeed to make it communicate… as usual you were totally right… I had two options for setting up midi entry in amplitube… I rig pro midi in or bome midi translator… I chosed bome midi tanslator1 in the amplitube project defaut midi port and in Mtpro I chosed I rig pro i/o midi in as entry and Bome midi translator 1 virtual out as output…I cannot explain to myself how I was able to miss this solution. I’ve tried so many combinations… The solution was in front of my eyes and I didn’t see it… Now I will be able to concentrate on paufining the translations… thanks again for all the support provided !!! you are my savior !!

[Previous page](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544.md?page=2)

[Next page](https://forum.bome.com/t/toggle-led-on-a-roland-f-100-mkii-foot-controller/4544.md?page=4)
