get_tracks_list
Retrieve and filter tracks from a MIDI file by channel or program number to analyze musical composition structure.
Instructions
Get list of tracks in a MIDI file with optional filtering by channel or program
Input Schema
Name | Required | Description | Default |
---|---|---|---|
channelFilter | No | Filter tracks by MIDI channel (0-15) | |
fileId | No | ID of the loaded MIDI file | |
filePath | No | Path to the MIDI file (if not using fileId) | |
programFilter | No | Filter tracks by program number (0-127) |
Input Schema (JSON Schema)
{
"properties": {
"channelFilter": {
"description": "Filter tracks by MIDI channel (0-15)",
"maximum": 15,
"minimum": 0,
"type": "number"
},
"fileId": {
"description": "ID of the loaded MIDI file",
"type": "string"
},
"filePath": {
"description": "Path to the MIDI file (if not using fileId)",
"type": "string"
},
"programFilter": {
"description": "Filter tracks by program number (0-127)",
"maximum": 127,
"minimum": 0,
"type": "number"
}
},
"type": "object"
}