get_midi_events
Extract and filter MIDI events from files by time range, event type, track, or specific values for detailed analysis and processing.
Instructions
Get MIDI events from a file with comprehensive filtering options
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": "get_midi_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventTypeFilter | No | Filter events by type | |
| fileId | No | ID of the loaded MIDI file | |
| filePath | No | Path to the MIDI file (if not using fileId) | |
| timeRange | No | Time range to filter events (in MIDI ticks) | |
| trackFilter | No | Filter events by track indexes | |
| valueFilter | No | Filter events by specific values |