Browse Source

Fix timing

pull/218/head
ben 7 years ago
parent
commit
1a32828dbd
1 changed files with 8 additions and 3 deletions
  1. +8
    -3
      src/core/MidiInterface.cpp

+ 8
- 3
src/core/MidiInterface.cpp View File

@@ -788,13 +788,18 @@ void MIDIClockToCVInterface::step() {
if (start) {
clockStartPulse.trigger(0.1);
start = false;
c1_16th = 0;
c2_16th = 0;
c1_16th = -1;
c2_16th = -1;
tick = true;
}

if (stop) {
clockStopPulse.trigger(0.1);
start = false;
stop = false;
clock1Pulse.time = 0.0;
clock1Pulse.pulseTime = 0.0;
clock2Pulse.time = 0.0;
clock2Pulse.pulseTime = 0.0;
}

if (running && tick) {


Loading…
Cancel
Save