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.
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 |