MCPcopy Create free account
hub / github.com/bspaans/python-mingus / program_change_event

Method program_change_event

mingus/midi/midi_track.py:206–208  ·  view source on GitHub ↗

Return the bytes for a program change controller event.

(self, channel, instr)

Source from the content-addressed store, hash-verified

204 return self.controller_event(BANK_SELECT, channel, bank)
205
206 def program_change_event(self, channel, instr):
207 """Return the bytes for a program change controller event."""
208 return self.midi_event(PROGRAM_CHANGE, channel, instr)
209
210 def set_tempo(self, bpm):
211 """Convert the bpm to a midi event and write it to the track_data."""

Callers 1

set_instrumentMethod · 0.95

Calls 1

midi_eventMethod · 0.95

Tested by

no test coverage detected