From 8129f569b33d6d2c4b95794f685277296570cf10 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sat, 20 Nov 2021 07:27:04 -0500 Subject: [PATCH] Make LFOs unipolar by default. --- src/LFO.cpp | 2 +- src/WTLFO.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LFO.cpp b/src/LFO.cpp index fd664df..8706c9b 100644 --- a/src/LFO.cpp +++ b/src/LFO.cpp @@ -52,7 +52,7 @@ struct LFO : Module { LFO() { config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS); - configSwitch(OFFSET_PARAM, 0.f, 1.f, 0.f, "Offset", {"Bipolar", "Unipolar"}); + configSwitch(OFFSET_PARAM, 0.f, 1.f, 1.f, "Offset", {"Bipolar", "Unipolar"}); configSwitch(INVERT_PARAM, 0.f, 1.f, 0.f, "Invert"); struct FrequencyQuantity : ParamQuantity { diff --git a/src/WTLFO.cpp b/src/WTLFO.cpp index ff20896..9c5fbd4 100644 --- a/src/WTLFO.cpp +++ b/src/WTLFO.cpp @@ -50,7 +50,7 @@ struct WTLFO : Module { WTLFO() { config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS); - configSwitch(OFFSET_PARAM, 0.f, 1.f, 0.f, "Offset", {"Bipolar", "Unipolar"}); + configSwitch(OFFSET_PARAM, 0.f, 1.f, 1.f, "Offset", {"Bipolar", "Unipolar"}); configSwitch(INVERT_PARAM, 0.f, 1.f, 0.f, "Invert"); struct FrequencyQuantity : ParamQuantity {