Melody / Help / Analysis / Pitch

Pitch

Hear what you SING. Wire a mono signal in — a voice through a Microphone, a whistle, a single-note instrument — and the kernel detects its pitch (YIN, robust to harmonics) and shows it as a TUNER (the note + cents sharp/flat). Its Pitch + Gate outputs are the SAME interface the Keyboard exposes, so wire them into a synth voice (Pitch → an Oscillator's Freq, Gate → an ADSR's Gate) and the synth tracks your voice in real time — a keyboard you play by singing. Set a Key + Scale to CONSTRAIN it to a key: captured notes snap to that scale (the in-between pitches of a slide stop becoming wrong notes), and AUTOTUNE (soft / hard) bends the synth's pitch onto the nearest scale note as you glide — cleaning up the transit between notes. To RECORD a sung melody as notes, arm a Piano Roll (its Rec) on a playing Clock and sing: the segmented notes land in the roll, the SAME recording path the Keyboard uses (the Vocal Transcribe rig is pre-wired). Detection + key-snapping live in the kernel (chroma::detect_pitch_yin, harmony::snap_freq_to_key); audio.js taps the samples it owns and drives the voice.

Inputs

PortSignal
audio_inaudio · audio
Keyaudio · key

Outputs

PortSignal
Pitchaudio · hz
Gateaudio · gate
Notesaudio · note

Parameters

ParameterRangeDefault
KeyC, C#, D, D#, E, F, F#, G, G#, A, A#, BC
Scalechromatic, major, minor, dorian, mixolydian, pentatonic, blueschromatic
Autotuneoff, soft, hardoff

Used in these rigs

Vocal Transcribe · Voice Synth

More analysis nodes

Formants · Harmonic Field · Meter · Radar · Spectrum · Stereo Field · Tonnetz

Open Melody →