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