Cc to note conversion

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 (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

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

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 :wink:

pp=qq

Das müsste es sein.

Thx

Kharl

Glad you got it working!

Steve Caldwell
Bome Customer Care


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

I have the idea to make it working :wink:

1 Like

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

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