[LAD] Session wide panic functionality?

Christopher Arndt chris at chrisarndt.de
Sun Oct 23 16:40:45 UTC 2016


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 961 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20161023/e8f9f34f/attachment.pgp>


More information about the Linux-audio-dev mailing list