record_midi_performance
Capture MIDI notes, control changes, and pitch bend from a connected device for a set duration, then save the performance to a MIDI file for production or editing.
Instructions
Record a MIDI performance from an input device.
Captures all MIDI events (notes, control changes, pitch bend) from the specified device for the given duration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_file | No | Path to save MIDI file (auto-generated if empty) | |
| device_index | No | Index of MIDI input device (from list_midi_devices) | |
| duration_seconds | No | How long to record (5-300 seconds) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||