void CtrlrPanel::sendMidi (CtrlrMidiMessage &m, double millisecondCounterToStartAt) { if (outputDevice) { if (millisecondCounterToStartAt == -1) outputDevice->sendMidiBuffer (m.getMidiBuffer(), globalMidiDelay); else outputDevice->sendMidiBuffer (m.getMidiBuffer(), millisecondCounterToStartAt); } }