User's Manual
Table Of Contents
- 1 Welcome
- 2 Quick Start
- 3 MIDI Setup Guide
- 4 Program Interface
- 5 MIDI Translator Concepts
- 6 The Project
- 7 The Preset
- 8 The Translator Entry
- 9 Actions
- 9.1 MIDI
- 9.2 Keystrokes
- 9.3 Timer
- 9.4 Preset Change
- 9.5 Disable/Enable Processing Actions
- 9.6 Mouse (Outgoing)
- 9.7 Execute File (Outgoing)
- 9.8 Serial Port
- 9.9 AppleScript
- 10 Rules and Variables
- 11 Settings
- 12 Behind the Scenes
- 13 Tips & Tricks
- 14 Usage Example
- 15 MIDI Translator in Hardware: the BomeBox
- 16 Reference
Bome MIDI Translator: User's Manual 10 Rules and Variables
| bit-wise OR
Calculate the combination of the left operand's bits OR the
right operand's bits. A given bit is set in the result when it is
set in the left operand, or in the right operand, or in both.
Example:
h0=0x90 | 3
h0 has the value 0x93→
Note: variables and calculations use 32-bit signed integer
numbers.
^ bit-wise XOR
Calculate the XOR combination of the left operand's bits with
the right operand's bits. A given bit is set in the result when it
is either set in the left operand or in the right operand (but
not both). Example:
h0=0x90 ^ 13
h0 has the value 157 (0x9D)→
Note: variables and calculations use 32-bit signed integer
numbers.
>>
bit-wise shift
right
Shift the left operand's bits to the right by the number of bits
given in the right operand. Left bits are filled with 0 bits.
Example:
ga=0x90 >> 4
ga has the value 9→
Note: variables and calculations use 32-bit signed integer
numbers.
Note: shifting right by 1 is equivalent to dividing by 2, shifting
right by 2 divides by 4, then by 8, etc.
<<
bit-wise shift
left
Shift the left operand's bits to the left by the number of bits
given in the right operand. Right bits are filled with 0 bits.
Example:
ga=0xB << 4
ga has the value 0xB0→
Note: variables and calculations use 32-bit signed integer
numbers.
Note: shifting left by 1 is equivalent to multiplying with 2,
shifting left by 2 multiplies with 4, then by 8, etc.
10.2.2 Goto
Redirects the processing of the rules to a 'Label' point.
A Label name may be typed in directly, or an existing label goto destination
may be picked from the drop-down box.
Take extra care that you do not create an infinite loop!
10.2.3 Label
This is the destination point in the rules processing that you would like a
Goto point to redirect to. Labels are useful for defining functions in your
rules sets.
(c) 2019 by Bome Software GmbH & Co. KG page 68










