diff --git a/README.md b/README.md index 6238914..b1cd8c8 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Miredis hooks to all midi devices connected and listen for events. Miredis can optionnaly hook to opensourced Link protocol (200+ music & videos apps) -> "/beat" & "/bpm" All events are forwarded to a redis server and an OSC server. +![Clitools](https://www.teamlaser.fr/images/miredispad.png) + Run : python3 miredis.py @@ -20,6 +22,7 @@ python3 miredis.py -link - Added verbose mode -v - Added redis subscribe events +- Added Clitools program selection mode for Launchpads ## OSC diff --git a/libs/midix.py b/libs/midix.py index fbae782..b7f1c5b 100644 --- a/libs/midix.py +++ b/libs/midix.py @@ -928,24 +928,28 @@ def AllColorPad(color): PadTopOn(topled+1,color) #midiport[port].send_message([CONTROLLER_CHANGE, topled, color]) +# Led line 1,2 color 58 def ClsCli1(): for x in range(8): PadNoteOnXY(x,1,58) PadNoteOnXY(x,2,58) +# Led line 3,4 color yellow def ClsCli2(): for x in range(8): PadNoteOnXY(x,3,yellow) PadNoteOnXY(x,4,yellow) +# Led line 5,6 color 58 def ClsCli3(): for x in range(8): PadNoteOnXY(x,5,58) PadNoteOnXY(x,6,58) +# Led line 7,8 color yellow def ClsCli4(): for x in range(8):