export_midi_clip
Export one Session or Arrangement MIDI clip from Ableton Live to a new .mid file. Requires stopped playback and refuses overwrites.
Instructions
Export one exact Session or Arrangement MIDI clip through native macOS English Live to a new .mid file. Changes selection/focus; requires stopped recording/playback. Refuses overwrites. Verifies SMF0, source preservation and unmuted note pitch/timing/velocity within file resolution. Includes stored notes outside loop markers; no Live playback, MPE/controller or audible equivalence claim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute new .mid destination in an existing directory. Native export may include notes outside playback/loop markers and omit muted notes. | |
| clipId | Yes | list_clips Session ID or supported list_arrangement_clips ID. | |
| dryRun | No | False executes with token and hash. | |
| trackId | Yes | ID from list_tracks. | |
| planHash | No | Plan hash. | |
| confirmationToken | No | Single-use plan token. | |
| expectedStateVersion | Yes | Observed stateVersion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||