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
| ID | note |
|---|---|
| Signal | control · control rate |
| Unit | midiNote |
| Range | 0 to 127 midiNote |
| Default | 60 |
| Coercion | Implicit |
Root In
Optional graph-authored root override as a MIDI note.
| ID | root |
|---|---|
| Signal | control · control rate |
| Unit | midiNote |
| Range | 0 to 127 midiNote |
| Coercion | Implicit |
Scale In
Optional graph-authored scale override: 0 chromatic, 1 major, 2 minor, 3 pentatonic, 4 blues, 5 dorian, 6 mixolydian.
| ID | scale |
|---|---|
| Signal | control · control rate |
| Unit | count |
| Range | 0 to 7 count |
| Coercion | Implicit |
Scale
Optional connected Scale value that overrides the authored Root and Scale parameters.
| ID | scaleContext |
|---|---|
| Signal | scale · event rate |
| Coercion | Forbidden |
Outputs
Note Out
| ID | note |
|---|---|
| Signal | control · control rate |
| Unit | midiNote |
| Range | 0 to 127 midiNote |
| Coercion | Implicit |
Changed
Trigger emitted when quantized note changes
| ID | changed |
|---|---|
| Signal | trigger · event rate |
| Coercion | Implicit |
Parameters
Scale
Chooses the scale used to constrain incoming notes.
| ID | scale |
|---|---|
| Type | enum |
| Control | select |
| Range or Options | Chromatic (chromatic), Major (major), Minor (minor), Pentatonic (pentatonic), Blues (blues), Dorian (dorian), Mixolydian (mixolydian), Custom (custom) |
| Default | Chromatic (chromatic) |
Root
Sets the root pitch class of the selected scale.
| ID | root |
|---|---|
| Type | enum |
| Control | select |
| Range or Options | C (C), C♯ (C#), D (D), D♯ (D#), E (E), F (F), F♯ (F#), G (G), G♯ (G#), A (A), A♯ (A#), B (B) |
| Default | C (C) |
Details
| Canonical ID | pitch.quantize |
|---|---|
| Category | utilities |
| Runtime Surface | control |
| Runtime Targets | control-main-thread |
| JUCE Early Access | Supported |
| Early Access Note | Native-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.