Export MIDI
export_midiA link to the score as a MIDI file (one track per part) to listen to or rehearse with; optionally one part and transposed. Repeats are played once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | target key, e.g. 'G', 'Bb', 'F#m', 'E minor' | |
| file | No | collection mode only: which MusicXML of `files`, e.g. '003.musicxml' | |
| part | No | only this part: id (P2), name (Alto) or number (2) | |
| save_to | No | local path to write the .mid to (stdio only) | |
| semitones | No | semitones to move, e.g. -2 (a tone down), 5 | |
| recognition_id | Yes | id returned by recognize_sheet_music, e.g. rec_… |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||