prodance
2019-10-08 05:24:19
I have problem with understand variables. I want add 70 to incoming CC, example:
incoming Control Change 41 (any values), outcomming CC111 (because 41+70=111) with the same values;
How look entry text in Rules ?
what is pp, xx.., i dont find describe of this..
Sorry for my bad english, im foreigner..
Steve-Bome Forum Moderator
2019-10-08 06:23:02
Hi,
Try this
Incoming: Control Change On Channel 1 Any Control any CC# Set to pp any value set to qq
Rules:
pp=pp+70
Outgoing: Control Change On Channel 1 CC# pp value qq
You might want to add this rule at the end assuming you never want to see controls 120-127 which are generally used for special purposes.
if pp>=120 then exit rules, skip outgoing action
The references to oo,pp,qq,rr,ss,tt,uu,vv,ww,xx are all local variables and are visible only within the incoming trigger which means in general they will not affect other translators.
The references to g0-g9 and ga-gz, h0-h9 and ha-hz … n0-n9 and na-nz, y0-y9 and ya-yz and z0-z9 and za-zz are global variables and any changes to these will be visible everywhere.
Local variables have no defined values unless you define them. Undefined global variables have a value of 0. All of this is referenced in the user manual that you can get from from the help menu or F1.
Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz
PS Although with English as your non-native language the documentation may be difficult. I suggest you try and use google translate.
Steve-Bome Forum Moderator
2019-10-10 07:10:09
comment
prodance
2019-10-10 08:47:45
ThankYou; now i more understand about this logic, my conversion already running : ) .
Now i need/wait for method/function/module midi to OSC conversion too, and Bome Translator is king of kings : )
Steve-Bome Forum Moderator
2019-10-10 17:31:55
comment
Glad you got it working. What do you want to do with OSC? As you may be aware OSC can be free form text. There are some tools on both Mac and Windows that can convert from MIDI to OSC. If interested, provide more detail via email an I might be able to help further although this would be outside of the scope of free Bome support since it would be with other third party software.
Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz