update_instrument
Modify an instrument's voice or settings; all patterns using it update automatically. Switching to a drumkit removes notes without matching drum items.
Instructions
Changes an instrument's voice or settings. Every pattern using it changes too. Switching a pattern's instrument to a drumkit drops notes that have no matching item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voice | No | Voice from list_voices: "MIDI/Grand Piano", a unique part of a name, or its index. | |
| cutoff | No | Low-pass filter cutoff, 0-128. 128 (the default) means no filtering. | |
| volume | No | 0-256, 256 by default. | |
| resonance | No | Low-pass filter resonance, 0-9. | |
| instrument | Yes | Index of the instrument. |