Export arrangement to .mid
fl_export_midiGenerate multi-track MIDI files from arrangement specifications. Write type-1 .mid files with named tracks, notes, tempo, and time signature, bypassing one-pattern limits.
Instructions
Write a type-1 multi-track .mid from an arrangement spec. YOU (Claude) generate the whole arrangement -- multiple named tracks, each with notes {pitch, start_bars, length_bars, velocity} across all sections -- and this writes ONE .mid. Bypasses the note-bridge's one-pattern + MCP_Apply limits.
Does NOT touch FL: IMPORT the file yourself (FL: File > Import > MIDI file, or drag it into the playlist). FL won't auto-load instruments -- assign a channel to each imported track. Returns the saved file path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tracks | Yes | ||
| bpm | No | Tempo (BPM). | |
| output_path | No | Output .mid path; defaults to ~/.flstudio-mcp/exports/. | |
| beats_per_bar | No | Time-signature numerator (4 = 4/4). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||