Add a program change and bank select event to the track_data.
(self, channel, instr, bank=1)
| 138 | [self.stop_Note(x) for x in notecontainer[1:]] |
| 139 | |
| 140 | def set_instrument(self, channel, instr, bank=1): |
| 141 | """Add a program change and bank select event to the track_data.""" |
| 142 | self.track_data += self.select_bank(channel, bank) |
| 143 | self.track_data += self.program_change_event(channel, instr) |
| 144 | |
| 145 | def header(self): |
| 146 | """Return the bytes for the header of track. |
no test coverage detected