repositories
/
SugarCubes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41c436e
)
Turn off track selection LEDs
author
Mark Slee
<mcslee@Mark-Slees-MacBook-Pro.local>
Sat, 19 Oct 2013 18:41:47 +0000
(11:41 -0700)
committer
Mark Slee
<mcslee@Mark-Slees-MacBook-Pro.local>
Sat, 19 Oct 2013 18:42:10 +0000
(11:42 -0700)
_MIDI.pde
patch
|
blob
|
blame
|
history
diff --git
a/_MIDI.pde
b/_MIDI.pde
index a584ef9097d72a69543336def3fc6ef872620b3f..9a27f8ca79f18981eedc0e8958f4db522b896df2 100644
(file)
--- a/
_MIDI.pde
+++ b/
_MIDI.pde
@@
-641,6
+641,12
@@
class APC40MidiOutput implements LXParameter.Listener, GridOutput {
lx.cycleBaseHue(60000);
output.sendNoteOn(6, 49, 127);
+
+ // Turn off the track selection lights
+ for (int i = 0; i < 8; ++i) {
+ output.sendNoteOn(i, 51, 0);
+ }
+ output.sendNoteOn(0, 80, 0);
}
private void resetParameters() {