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.
Index of the buffer which contains the steps for each scale degree.
The input signal.
The number of steps per octave in the scale.
Output will be multiplied by this value.
This value will be added to the output.