Set the channel to the instrument _instr_.
(self, channel, instr, bank=0)
| 109 | c.notify(msg_type, params) |
| 110 | |
| 111 | def set_instrument(self, channel, instr, bank=0): |
| 112 | """Set the channel to the instrument _instr_.""" |
| 113 | self.instr_event(channel, instr, bank) |
| 114 | self.notify_listeners( |
| 115 | self.MSG_INSTR, |
| 116 | {"channel": int(channel), "instr": int(instr), "bank": int(bank)}, |
| 117 | ) |
| 118 | |
| 119 | def control_change(self, channel, control, value): |
| 120 | """Send a control change message. |