add_program_change
Insert a program change into a MIDI item to switch an instrument's sound, with optional bank select for synths using banks.
Instructions
Switches the sound of a MIDI instrument that follows program changes (General MIDI synths, hardware synths through ReaControlMIDI, multitimbral plugins), with an optional bank select first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"item_id": "<item_id>",
"program": "<program>"
},
"name": "add_program_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | ||
| item_id | Yes | MIDI item id from create_midi_item/get_track_details, or "selected" | |
| program | Yes | 1-128, or a General MIDI name like 'Electric Piano 1', 'String Ensemble 1' | |
| bank_lsb | No | Bank select LSB (CC32) | |
| bank_msb | No | Bank select MSB (CC0), for synths with banks | |
| position | No | QN from the item start |