v0.1Latest

Quantize Pitch

A path-local pitch constraint that quantizes an incoming note value to this node's authored root and scale.

A path-local pitch constraint that snaps an incoming note value to this node’s authored root and scale. Unlike a global setting it applies only along the routing it sits on, so different branches of a patch can enforce different tonalities. Use it to keep a specific voice or line in key without affecting the rest of the graph.

Inputs

Note In

IDnote
Signalcontrol · control rate
UnitmidiNote
Range0 to 127 midiNote
Default60
CoercionImplicit

Root In

Optional graph-authored root override as a MIDI note.

IDroot
Signalcontrol · control rate
UnitmidiNote
Range0 to 127 midiNote
CoercionImplicit

Scale In

Optional graph-authored scale override: 0 chromatic, 1 major, 2 minor, 3 pentatonic, 4 blues, 5 dorian, 6 mixolydian.

IDscale
Signalcontrol · control rate
Unitcount
Range0 to 7 count
CoercionImplicit

Scale

Optional connected Scale value that overrides the authored Root and Scale parameters.

IDscaleContext
Signalscale · event rate
CoercionForbidden

Outputs

Note Out

IDnote
Signalcontrol · control rate
UnitmidiNote
Range0 to 127 midiNote
CoercionImplicit

Changed

Trigger emitted when quantized note changes

IDchanged
Signaltrigger · event rate
CoercionImplicit

Parameters

Scale

Chooses the scale used to constrain incoming notes.

IDscale
Typeenum
Controlselect
Range or OptionsChromatic (chromatic), Major (major), Minor (minor), Pentatonic (pentatonic), Blues (blues), Dorian (dorian), Mixolydian (mixolydian), Custom (custom)
DefaultChromatic (chromatic)

Root

Sets the root pitch class of the selected scale.

IDroot
Typeenum
Controlselect
Range or OptionsC (C), C♯ (C#), D (D), D♯ (D#), E (E), F (F), F♯ (F#), G (G), G♯ (G#), A (A), A♯ (A#), B (B)
DefaultC (C)

Details

Canonical IDpitch.quantize
Categoryutilities
Runtime Surfacecontrol
Runtime Targetscontrol-main-thread
JUCE Early AccessSupported
Early Access NoteNative-supported in the plugin for the current catalog/runtime support contract.

Notes

  • Scale and root are authored on this node, so two Quantize Pitch nodes can impose different harmonic constraints in one patch.
  • A connected Scale value overrides the authored Root and Scale parameters and is lowered into those params for runtime.
  • When connected, Root In and Scale In override the stored root and scale parameters for explicit host or graph-driven harmony.
  • Does not read patch-wide key context; connect or configure a Quantize Pitch node wherever a pitch path needs harmonic constraints.