From 855219f0740965b4169cbe85fad6e9b5cb8b583a Mon Sep 17 00:00:00 2001 From: Jim Tupper Date: Mon, 1 Apr 2019 20:05:43 +0100 Subject: [PATCH] Fixing stop/go timing issue Code to handle clocked's "high outputs" state didn't handle stop-go during a run properly. --- src/PianoRoll/PianoRollModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PianoRoll/PianoRollModule.cpp b/src/PianoRoll/PianoRollModule.cpp index 6c4e564..1ccf597 100644 --- a/src/PianoRoll/PianoRollModule.cpp +++ b/src/PianoRoll/PianoRollModule.cpp @@ -103,7 +103,7 @@ void PianoRollModule::step() { if (runInputTrigger.process(inputs[RUN_INPUT].value)) { transport.toggleRun(); - if (currentClockLevel > 1.f) { + if (currentClockLevel > 1.f && transport.currentStepInPattern() == -1) { clockTick = true; }