Using brackets

The bracket (parenthesis) columns let you enclose 2 or more condition lines, dividing the conditional expression into smaller units. This is only relevant when you have 3 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.



    Figure: In this case 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:



  • Expressions within brackets are evaluated first.

    If there are several layers of brackets, these are evaluated “from the inside out”, starting with the innermost brackets.

You add brackets by clicking in the bracket columns and selecting an option. Up to triple brackets can be selected.