Am 23.10.2016 um 18:36 schrieb Christopher Arndt:
for channel in range(16):
mo.send_message([CONTROL_CHANGE, ALL_SOUND_OFF, 0])
mo.send_message([CONTROL_CHANGE, RESET_ALL_CONTROLLERS, 0])
Sorry, that should be:
mo.send_message([CONTROL_CHANGE & channel, ALL_SOUND_OFF, 0])
mo.send_message([CONTROL_CHANGE & channel,
RESET_ALL_CONTROLLERS, 0])
(Fixed the Gist as well.)
Chris