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.
The value of the coefficient b can be taken equal to the normalized circular<br />
cutoff frequency, which can be computed us<strong>in</strong>g the follow<strong>in</strong>g formula:<br />
F c = 2*π*f c / f SR<br />
where<br />
f c is the desired cutoff frequency <strong>in</strong> Hz<br />
f SR is the sampl<strong>in</strong>g rate <strong>in</strong> Hz<br />
π is 3.14159…<br />
F c is normalized circular cutoff (<strong>in</strong> radians)<br />
In fact, the coefficient b is equal to the normalized cutoff only approximately,<br />
the error <strong>in</strong>creas<strong>in</strong>g at high cutoff values, but it should be<br />
more or less OK for our purposes, especially if we do not need to have<br />
a precise sett<strong>in</strong>g of the cutoff frequency for our filter.<br />
We start by creat<strong>in</strong>g an audio core cell with two <strong>in</strong>puts: one for the audio<br />
<strong>in</strong>put and one for cutoff. We are go<strong>in</strong>g to use an event <strong>in</strong>put for the cutoff <strong>in</strong><br />
this version of the module.<br />
Actually, because we th<strong>in</strong>k it’s a good habit to build <strong>Reaktor</strong> <strong>Core</strong> structures<br />
as core macros to enhance their reusability, we a go<strong>in</strong>g to create our filter as<br />
a macro. So we create a new macro <strong>in</strong>side the structure and create the same<br />
<strong>in</strong>puts for that macro:<br />
Now let’s build the circuitry for convert<strong>in</strong>g the cutoff frequency <strong>in</strong>to the normalized<br />
circular cutoff:<br />
102 – REAKTOR CORE