02.02.2013 Views

1. First steps in Reaktor Core - Native Instruments

1. First steps in Reaktor Core - Native Instruments

1. First steps in Reaktor Core - Native Instruments

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The size property of the array can be set to 44,100. This will allow us as much<br />

as 1 second of delay (actually one sample less) at 44.1 kHz sampl<strong>in</strong>g rate:<br />

Now we need to compute the read <strong>in</strong>dex, which we will do by build<strong>in</strong>g two<br />

macros. The first macro will convert the requested delay time <strong>in</strong>to the distance<br />

<strong>in</strong> samples:<br />

That can be done by multiply<strong>in</strong>g the time <strong>in</strong> seconds by the sampl<strong>in</strong>g rate <strong>in</strong><br />

Hz. We also should not forget to clip the result, a clipp<strong>in</strong>g macro Expert Macro<br />

> Clipp<strong>in</strong>g >IClipM<strong>in</strong>Max should be good for that:<br />

We clip to N-1 because that’s the maximum distance between two different<br />

array elements. Note the conversion to <strong>in</strong>tegers, which is done after the<br />

multiplication.<br />

REAKTOR CORE – 131

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!