final float TRAILER_HEIGHT = 33;
final int MaxCubeHeight = 5;
-final int NumBackTowers = 9;
+final int NumBackTowers = 11;
int targetFramerate = 60;
int startMillis, lastMillis;
LXPattern[] patterns;
MappingTool mappingTool;
PandaDriver[] pandaBoards;
+PresetManager presetManager;
MidiEngine midiEngine;
-GridController gridController;
// Display configuration mode
boolean mappingMode = false;
}
return rightPatterns;
}
+
void logTime(String evt) {
int now = millis();
glucose.lx.addEffects(effects(glucose));
logTime("Built effects");
+ // Preset manager
+ presetManager = new PresetManager();
+ logTime("Loaded presets");
+
// MIDI devices
midiEngine = new MidiEngine();
+ presetManager.setMidiEngine(midiEngine);
logTime("Setup MIDI devices");
// Build output driver