BogaudioModules

BogaudioModules for VCV Rack
Log | Files | Refs | README | LICENSE

commit ba54b6a5f93123bf7041eb2b7843c22a8210bd2b
parent 19192d239b0f8af1e10b089b10130dda6eef695e
Author: Matt Demanett <matt@demanett.net>
Date:   Fri,  5 Jan 2018 00:17:53 -0500

DGate: fix to have minimum 1-ms delay, no continuous gate when looping or trigger is continuously high.

Diffstat:
Msrc/DGate.cpp | 8+-------
1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/DGate.cpp b/src/DGate.cpp @@ -78,13 +78,7 @@ void DGate::step() { if (stepStage(params[GATE_PARAM])) { complete = true; if (params[LOOP_PARAM].value <= 0.0 || _trigger.isHigh()) { - if (params[DELAY_PARAM].value > 0.0) { - _stage = DELAY_STAGE; - } - else { - // _stage = GATE_STAGE; - envelope = 1.0; - } + _stage = DELAY_STAGE; _stageProgress = 0.0; } else {