User manual

Table Of Contents
373
The Logical Editor, Transformer and Input Transformer
In this example, the action will be performed when the
note C1 is pressed (the “Note is playing” condition is only
available in the Input Transformer and in the Transformer
effect):
In this example, the action will be performed after playing
the C1 note:
Combining multiple condition lines
As described above, you can add condition lines by click-
ing the Add Line button to the right of the list. The result of
combining condition lines depends on the boolean And/
Or operators and the brackets.
The bool column
By clicking in the “bool” column to the right in the list, you
can select a boolean operator: “And” or “Or”. A boolean
operator combines two condition lines and determines the
result in the following way:
Ö If two condition lines are combined with a boolean
And, both conditions must be fulfilled for an event to be
found.
The Logical Editor will only find events that are notes and start at the
beginning of the third bar.
Ö If two condition lines are combined with a boolean Or,
one of the conditions (or both) must be fulfilled for an
event to be found.
The Logical Editor will find all events that are notes (regardless of their
position) and all events starting at the beginning of the third bar (re-
gardless of their type).
Using brackets
The bracket (parenthesis) columns let you enclose two or
more condition lines, dividing the conditional expression
into smaller units. This is only relevant when you have
three or more condition lines and want to use the boolean
Or operator. This is how it works:
Ö Without brackets, the conditional expressions are
evaluated according to their order in the list.
In this case we have the expression Type = Note AND Pitch = C3
(Win)/60 (Mac) OR Channel = 1, without brackets. This means that the
Logical Editor will find all MIDI notes with the pitch C3, as well as all
events (regardless of their type) set to MIDI channel 1.
Maybe you wanted to find all notes that either had the
pitch C3 or the MIDI channel 1 (but no non-note events)?
Then you need to add some brackets:
Here the expression is Type = Note AND (pitch = C3 (Win)/60 (Mac)
OR Channel = 1), which will find what you want. The rule behind this is:
Filter Target Condition Parameter 1 Parameter 2
Type is Equal Note
Last Event Equal Note is playing 36/C1
Filter Target Condition Parameter 1 Parameter 2
Last Event Equal Value 1 36/C1
!
When you add a new condition line, the boolean set-
ting defaults to And. Therefore, if all you want to do is
set up two or more conditions that all must be met
for an event to be found, you don’t have to think
about the boolean column – just add the required
lines and make the usual filter settings.