The input signal value is truncated to an integer value and used as an index into an octave repeating table of note values. Indices wrap around the table and shift octaves as they do.
bufnum |
Index of the buffer which contains the steps for each scale degree. |
in |
The input signal. |
octave |
The number of steps per octave in the scale. |
mul |
Output will be multiplied by this value. |
add |
This value will be added to the output. |