1. First steps in Reaktor Core - Native Instruments
1. First steps in Reaktor Core - Native Instruments
1. First steps in Reaktor Core - Native Instruments
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
6. Conditional process<strong>in</strong>g<br />
6.<strong>1.</strong> Event rout<strong>in</strong>g<br />
Events <strong>in</strong> <strong>Reaktor</strong> <strong>Core</strong> do not always have to travel along the same predef<strong>in</strong>ed<br />
paths. It is possible to dynamically change these paths. You can achieve this<br />
by us<strong>in</strong>g the Router module (Built-In Module > Flow > Router):<br />
The Router module accepts events at its signal <strong>in</strong>put (bottom) and routes them<br />
to either its output 1 (top) or its output 0 (bottom). The rout<strong>in</strong>g, i.e. whether<br />
the event goes to output 1 or output 2, depends on the current state of the<br />
Router, which is controlled from the Ctl <strong>in</strong>put (top)<br />
The Ctl <strong>in</strong>put accepts a connection of a new type, which is not compatible with<br />
either normal signals or OBC connections. It is a BoolCtl (Boolean control)<br />
signal type. The BoolCtl signal can be <strong>in</strong> one of two states: true or false (on<br />
or off, 1 or 0). If the control signal is <strong>in</strong> the true state the events are routed<br />
to output <strong>1.</strong> If the control signal is <strong>in</strong> the false state the events are routed to<br />
output 0.<br />
The control signals have a significant difference from normal signals <strong>in</strong><br />
<strong>Reaktor</strong> <strong>Core</strong>: they do not transmit events and therefore cannot trigger<br />
any process<strong>in</strong>g by their own.<br />
To control a Router you obviously need a control signal source, the most<br />
common of which is the Comparison module found under Built-In Module ><br />
Flow > Compare:<br />
This module performs a comparison of the two <strong>in</strong>com<strong>in</strong>g signals and outputs<br />
the result as a BoolCtl signal. The upper <strong>in</strong>put is assumed to be on the left of<br />
the comparison sign and the lower <strong>in</strong>put, on the right. So a module read<strong>in</strong>g<br />
‘>’ produces a true control signal if the value at the upper <strong>in</strong>put is greater<br />
than the value at the lower <strong>in</strong>put.<br />
You can change the comparison criterion <strong>in</strong> the properties of the module:<br />
REAKTOR CORE – 105