Module quantizer

Source
Expand description

§Quantizer

Quantizers are used to force continuous inputs into discrete output steps. Musically they are used to generate in-tune outputs from various inputs.

This quantizer operates similarly to common hardware quantizers, using 1volt/octave scaling. This means that each octave spans 1 volt, and so each semitone spans 1/12 of a volt, or about 83.3mV

Specific notes may be allowed or forbidden, allowing the user to program user defined scales.

Structs§

Conversion
A quantizer conversion is represented here.
Note
Note names are represented here, the quantizer can allow and forbid various notes from being converted
Quantizer
A quantizer which converts smooth inputs into stairsteps is represented here.

Constants§

HALF_SEMITONE_WIDTH
NUM_NOTES_PER_OCTAVE
SEMITONE_WIDTH
The width of each bucket for the semitones.