Analyze Melody
analyze_melodyTranscribes a monophonic stem or solo line into a note list with confidence warnings, optional cent-level pitch data, and vibrato handling.
Instructions
Monophonic pitch -> note list in notes_write format (max 16 bars). Best on a stem or a soloed line. Ends with its confidence: pYIN voicing over the notes, and a WARNING when another pitch sits within 6 dB on a quarter of the notes or more (a backing in the source: the reading can follow it, so restrict fmin/fmax). cents=True gives every note's measured pitch as numbers, for intonation and quarter tones (maqam steps): tab-separated rows start, note, dur, vel, midi (float), hz, cents from the named note. For the pitch moving inside a note (slides, vibrato, ornaments) read analyze_contour. vibrato_ms: a held note with a wide vibrato (a singer, a violin) reads as two notes a semitone apart when its centre sits near a half step; vibrato_ms=190 (one cycle, about 5 Hz) averages the pitch before rounding. It also merges trills faster than the window, so compare with analyze_roll where an ornament matters. On a full mix the loudest line wins (usually the bass): read a stem, or raise fmin over the bass.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | ||
| fmax | No | C7 | |
| fmin | No | C1 | |
| cents | No | ||
| quant | No | ||
| source | No | ref:other | |
| project | Yes | ||
| min_conf | No | ||
| vibrato_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |