Extract chords/polyphonic notes from audio (Basic Pitch)
fl_extract_chordsTranscribe polyphonic WAV/MP3 audio into per-bar chord progressions and a MIDI file, optionally returning note data for piano-roll review before FL Studio import.
Instructions
Transcribe POLYPHONIC audio (full chords) to notes with Basic Pitch. Returns a per-bar chord progression and writes every note to a .mid; include_notes also returns bridge_notes for fl_write_piano_roll_notes. Does NOT write to FL; review first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "fl_extract_chords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | No | Override BPM for bar quantization; auto-detected if omitted. | |
| path | Yes | Path to a WAV/MP3 with chords or several notes at once (keys, piano, guitar stem). | |
| max_notes | No | Cap for include_notes. Default 500. | |
| save_midi | No | Write ALL notes to a .mid file in ~/.flstudio-mcp/exports to drag into FL. | |
| include_notes | No | Also return notes + bridge_notes (first max_notes) for fl_write_piano_roll_notes. Large; use for short clips. | |
| frame_threshold | No | Higher = fewer, surer sustained notes. Default 0.3. | |
| onset_threshold | No | Higher = fewer, surer note starts. Default 0.5. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||