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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Reply via email to