void setup() { ofSetFrameRate(60); ofSetVerticalSync(false); ledRing.setup(); fbo.allocate(512, 512); fbo.begin(); ofClear(0); fbo.end(); ofSetCircleResolution(64); ofSetLineWidth(2); ofLog() << "MIDI Ports: " << ofToString(midi.getPortList()); midi.openPort(); Pulse::midiWrapper = &midiWrapper; pulses.push_back(Pulse(0, 0)); }
void openPort(const string& deviceName) { mMidiOut.openPort(deviceName); }