Extract melody from audio (pyin/CREPE)
fl_extract_melodyTranscribe monophonic audio to quantized MIDI notes with confidence scoring. Review all notes before writing to FL Studio's piano roll.
Instructions
Transcribe a monophonic melody to quantized notes; engine-selectable (CREPE = accurate/heavy, pyin = light). Returns ALL notes with confidence
a
keptflag; bridge_notes holds only the confident notes, ready for fl_write_piano_roll_notes. Does NOT write to FL -- review first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to a MONOPHONIC source (solo vocal/lead/stem). | |
| bpm | No | Override BPM for bar quantization; auto-detected if omitted. | |
| engine | No | Pitch engine: 'crepe' (accurate, needs [audio-accurate] extra), 'pyin' (light), or 'auto' (default: crepe if installed). Overrides $FLSTUDIO_MCP_PITCH_ENGINE. | |
| min_conf | No | Confidence gate 0..1 deciding which notes enter bridge_notes (default 0.8 crepe / 0.0 pyin). ALL notes are still returned with voiced_prob + a kept flag. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||