Module synth_utils::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

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

Constants