# Cc to note conversion

**URL:** <https://forum.bome.com/t/cc-to-note-conversion/4027>\
**Category:** Bome Products\
**Created:** [February 25, 2022, 6:59pm UTC](https://forum.bome.com/t/cc-to-note-conversion/4027 "2022-02-25T18:59:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![KHARL\_K](https://forum.bome.com/user_avatar/forum.bome.com/kharl_k/32/2251_2.png) [@KHARL\_K](https://forum.bome.com/u/KHARL_K)\
**Post date:** [February 25, 2022, 6:59pm UTC](https://forum.bome.com/t/cc-to-note-conversion/4027/1 "2022-02-25T18:59:58Z")

</div>

Guten Morgen Steve,

jetzt gehts an das nächste Projekt.  
Ich möchte gerne mein Lichtpult via Composer steuern. Das Pult (Botex 136) hat eine Midischnittstelle und man kann über entsprechende Noten Scenes Chases etc. steuern. Hab das per Noteneingabe auf dem entsprechenden Midikanal getestet, funktioniert so weit.  
Ich möchte das aber nicht über die Eingabe von Noten umsetzen, sondern CC Befehle in Noten umwandeln. Ich nehme z.B den CC20, value 1, dieser soll die NOT 22 an das Pult senden.  
Hierfür habe ich entsprechende Translator angelegt und möchte die einzelnen Einstellungen Presets über Rules im Translator auslösen. Alternative habe ich für jedes Preset einen eigenen Translator erstellt, zum testen.

Leider werden im Moment keine Befehle in Form von Noten an das BOTEX Pult geschickt.  
Meine Standatd Btmp Datei schicke ich mal mit. Hast Du vielleicht ne Idee, was falsche sein könnte?

LG

Kharl  
[KHARL\_K Standard Routing.bmtp](https://forum.bome.com/uploads/short-url/pdEofFhk78rRWIqsA4NGZT3AWaV.bmtp) (36.1 KB)  
good morning steve

now on to the next project.  
I would like to control my lighting desk via Composer. The console (Botex 136) has a midi interface and you can control scenes, chases, etc. using the appropriate notes. I tested it by entering notes on the corresponding midi channel, it works so far.  
But I don’t want to do this by entering notes, but convert CC commands into notes. For example, I take the CC20, value 1, this should send the NOT 22 to the desk.  
I have created the appropriate translator for this and would like to trigger the individual preset settings via rules in the translator. Alternatively, I created a separate translator for each preset for testing.

Unfortunately, no commands in the form of notes are sent to the BOTEX console at the moment.  
I’ll send my standard btmp file with it. Do you have any idea what could be wrong?

LG

Kharl

---

<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:** [February 25, 2022, 7:11pm UTC](https://forum.bome.com/t/cc-to-note-conversion/4027/2 "2022-02-25T19:11:12Z")

</div>

Hi Kharl,

Well if you are seeing no output, perhaps your output alias for your Botox 136 is not defined.

For me I am seeing note-on but you are always sending notes from all 14 translators.

If you don’t want to do this, I would do something like the below example in translator 2.0.  
You will need something similar for all translators

// added default qq condition  
qq=-1

if pp==1 then qq=22  
if pp==2 then qq=23  
if pp==3 then qq=24  
if pp==4 then qq=25  
if pp==5 then qq=26  
if pp==6 then qq=27  
if pp==7 then qq=28  
if pp==8 then qq=29  
if pp==9 then qq=30  
if pp==10 then qq=31  
if pp==11 then qq=32  
if pp==12 then qq=33

// added to abort if qq does not follow condition.  
if qq\<0 then exit rules, skip outgoing action

For me I would instead do this in a single translator, however it may not be as well documented as you having split it  
into multiple translators

Incoming :Control Change on CH 16 with CC #12 and value set pp to value

Rules:  
// calculate qq which always appears to be the cc value + 21  
qq=pp+21  
// don’t go out of bounds  
if pp\<22 then exit rules, skip outgoing action  
if qq\>87 then exit rules, skip outgoing action

Outgoing: Note-On MIDI CH 16 value note qq value 127

* * *

Maschinenübersetzung  
Hallo Kharl,

Nun, wenn Sie keine Ausgabe sehen, ist vielleicht Ihr Ausgabe-Alias für Ihr Botox 136 nicht definiert.

Für mich sehe ich Note-on, aber Sie senden immer Notizen von allen 14 Übersetzern.

Wenn Sie dies nicht tun möchten, würde ich so etwas wie das folgende Beispiel in Übersetzer 2.0 tun.  
Sie benötigen etwas Ähnliches für alle Übersetzer

// Standard-qq-Bedingung hinzugefügt

qq=-1

if pp==1 then qq=22  
if pp==2 then qq=23  
if pp==3 then qq=24  
if pp==4 then qq=25  
if pp==5 then qq=26  
if pp==6 then qq=27  
if pp==7 then qq=28  
if pp==8 then qq=29  
if pp==9 then qq=30  
if pp==10 then qq=31  
if pp==11 then qq=32  
if pp==12 then qq=33

// zum Abbrechen hinzugefügt, wenn qq der Bedingung nicht folgt.  
if qq\<0 then exit rules, skip outgoing action

Für mich würde ich dies stattdessen in einem einzigen Übersetzer tun, es ist jedoch möglicherweise nicht so gut dokumentiert, wie Sie es aufgeteilt haben  
in mehrere Übersetzer

Eingehend: Control Change auf CH 16 mit CC #12 und Wert pp auf value gesetzt

Regeln:  
// qq berechnen, was immer der cc-Wert + 21 zu sein scheint  
qq=pp+21  
// nicht außerhalb der Grenzen gehen  
if pp\<22 then exit rules, skip outgoing action  
if qq\>87 then exit rules, skip outgoing action

Ausgehend: Note-On MIDI CH 16 Wert Note qq Wert 127

Steve Caldwell  
Bome Customer Care

---

<div class="post-metadata">

**Author:** ![KHARL\_K](https://forum.bome.com/user_avatar/forum.bome.com/kharl_k/32/2251_2.png) [@KHARL\_K](https://forum.bome.com/u/KHARL_K)\
**Post date:** [February 26, 2022, 1:49pm UTC](https://forum.bome.com/t/cc-to-note-conversion/4027/3 "2022-02-26T13:49:04Z")

</div>

Hi,

danke!

Habe viel zu kompliziert gedacht.  
Werde einfach einen translater einbauen, der cc20 values on not Meldungen konvertiert. Kann ja z.B. cc20 vaule 22 1:1 umwandrln 😉

pp=qq

Das müsste es sein.

Thx

Kharl

---

<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:** [February 26, 2022, 6:15pm UTC](https://forum.bome.com/t/cc-to-note-conversion/4027/4 "2022-02-26T18:15:09Z")

</div>

Glad you got it working!

Steve Caldwell  
Bome Customer Care

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

---

<div class="post-metadata">

**Author:** ![KHARL\_K](https://forum.bome.com/user_avatar/forum.bome.com/kharl_k/32/2251_2.png) [@KHARL\_K](https://forum.bome.com/u/KHARL_K)\
**Post date:** [February 26, 2022, 6:57pm UTC](https://forum.bome.com/t/cc-to-note-conversion/4027/5 "2022-02-26T18:57:45Z")

</div>

I have the idea to make it working 😉

---

<div class="post-metadata">

**Author:** ![KHARL\_K](https://forum.bome.com/user_avatar/forum.bome.com/kharl_k/32/2251_2.png) [@KHARL\_K](https://forum.bome.com/u/KHARL_K)\
**Post date:** [March 26, 2022, 1:57pm UTC](https://forum.bome.com/t/cc-to-note-conversion/4027/6 "2022-03-26T13:57:32Z")

</div>

Hi Steve,

There ist one proble legr with the cc to note converdion. I found out that the Botex DMX pult needs a volume value with the note. I tested is with my keyboard, if i srnd a note with cc7 =7, the Botex pult doesn‘t reacht.

Can you give my an advice, how I convert cc messages into a midi note with a volume value?

Thanks in advance and have a nice weekend…

Best regards

Kharl

---

<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:** [March 26, 2022, 4:53pm UTC](https://forum.bome.com/t/cc-to-note-conversion/4027/7 "2022-03-26T16:53:32Z")

</div>

Hi @KHARL_K ,

Incoming: CC7 MIDI Channel 1 any value set to qq  
Outgoing: Note MIDI Channel 1 Note 7 value qq

Steve Caldwell  
Bome Customer Care

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