Analyze Contour
analyze_contourExtracts frame-by-frame pitch contours for monophonic lines to reveal slides, vibrato, ornaments, and quarter-tone intonation inside or between notes.
Instructions
Pitch contour of a monophonic line: one row per hop_ms frame with time, bar, beat, f0 in Hz, the pitch as
a float MIDI number, the nearest note and its cents offset, and pYIN's voicing probability ('-' = unvoiced).
For slides, vibrato, ornaments and intonation (maqam steps a quarter tone apart) inside or between notes; for a
pitch per note use analyze_melody(cents=True). Output is one window of at most max_rows frames (cap 1000) from
frame start; the last line names the start of the next window. bars up to 64; only the window is analysed.
Narrow fmin/fmax around the line when a backing or an octave error pulls the reading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | ||
| fmax | No | C7 | |
| fmin | No | C1 | |
| start | No | ||
| hop_ms | No | ||
| source | No | ref:other | |
| project | Yes | ||
| max_rows | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |