// Core engine variables
GLucose glucose;
LX lx;
+Model model;
LXPattern[] patterns;
Effects effects;
MappingTool mappingTool;
logTime("Created viewport");
// Create the GLucose engine to run the cubes
- glucose = new GLucose(this, buildModel());
+ glucose = new GLucose(this, model = buildModel());
lx = glucose.lx;
lx.enableKeyboardTempo();
logTime("Built GLucose engine");
logTime("Setup MIDI devices");
// Build output driver
+ try {
+ GrizzlyOutput[] grizzlies = buildGrizzlies();
+ for (LXOutput output : grizzlies) {
+ lx.addOutput(output);
+ }
+ } catch (Exception x) {
+ x.printStackTrace();
+ }
+
PandaMapping[] pandaMappings = buildPandaList();
pandaBoards = new PandaDriver[pandaMappings.length];
int pbi = 0;