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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "record_midi_performance"
}
}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 | |||