User's Manual

Table Of Contents
Bome MIDI Translator: User's Manual 10 Rules and Variables
Rules are normally processed from top to bottom: the rule on the first line is
processed first, followed by the second and so on. Rules can also use Labels
and Goto to direct programming flow. Existing rules can be moved up and
down in the rules box by first selecting the rule, then clicking the 'Up' or
'Down' buttons next to the Rules list.
Variables can either be defined in an incoming action, or through the Rules
section of a translator. Incoming actions defined with a variable as part of
the action will pass the variable on to the rules section to be processed and
potentially used as a global variable or passed on to the outgoing action.
10.2 Rule Types
There are eight types of rules in Bome MIDI Translator. Three of these rules
(Assignment, Expression and Conditional) deal directly with variables,
changing their values and operating off of conditionals determined by
existing values. Two of the rules (Goto and Label) are used for directing the
flow of the rules programming, allowing you to make 'Functions' for complex
rule sets. The two exit rules (Exit Rules and Execute, Exit Rules and Ignore)
are especially useful for conditionals, only enabling the outgoing action when
a specific condition is met. The last rule is a comment, allowing you to
document your rules in free form.
The rule types are described in detail below.
10.2.1 Assignment
Examples:
pp = 20
ga = qq
This rule type allows a straight assignment of a variable's value to a specific
number or another variable's value. The variable you wish to assign is
chosen on the left side of the equation from a drop-down box, while the
source value or variable is selected or entered on the right side. Assignment
rules are useful for assigning an input local variable to a global variable.
They can also be used for assigning a specific value to an outgoing action
depending on a conditional.
Expression
Examples:
pp = 30 + qq
h0 = 128 / ga
(c) 2019 by Bome Software GmbH & Co. KG page 66