diff --git a/src/Push.cpp b/src/Push.cpp index 29a75b7..f37e2bf 100644 --- a/src/Push.cpp +++ b/src/Push.cpp @@ -56,13 +56,13 @@ struct Push : Module { // Push button bool push = params[PUSH_PARAM].getValue() > 0.f; - push ^= hold; // Push input pushSchmitt.process(inputs[PUSH_INPUT].getVoltage(), 0.1f, 1.f); // Gate and trigger outputs bool gate = push || pushSchmitt.isHigh(); + gate ^= hold; if (pushBoolean.process(gate)) { trigPulse.trigger(1e-3f); }