repositories
/
SugarCubes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add full DPat compatibility to presets
[SugarCubes.git]
/
_MIDI.pde
diff --git
a/_MIDI.pde
b/_MIDI.pde
index 79c3860e487aa74489806029fa34eebe65bc1dd1..535194f8264d63d40c7cf403464fde4cc841b666 100644
(file)
--- a/
_MIDI.pde
+++ b/
_MIDI.pde
@@
-706,6
+706,9
@@
class APC40MidiOutput implements LXParameter.Listener, GridOutput {
if (focusedPattern instanceof DPat) {
((DPat)focusedPattern).updateLights();
} else {
if (focusedPattern instanceof DPat) {
((DPat)focusedPattern).updateLights();
} else {
+ for (int j = 0; j < 8; ++j) {
+ output.sendNoteOn(j, 48, 0);
+ }
for (int row = 0; row < 7; ++row) {
for (int col = 0; col < 8; ++col) {
setGridState(row, col, 0);
for (int row = 0; row < 7; ++row) {
for (int col = 0; col < 8; ++col) {
setGridState(row, col, 0);