From 8095c80428474223ffd2e8b01216a5a80f48d301 Mon Sep 17 00:00:00 2001 From: hemmer <915048+hemmer@users.noreply.github.com> Date: Fri, 22 Mar 2024 13:50:59 +0000 Subject: [PATCH] Fix range --- res/panels/Voltio.svg | 1338 +++++++++++++++++++++++++++++++++++++++++ src/Voltio.cpp | 2 +- 2 files changed, 1339 insertions(+), 1 deletion(-) diff --git a/res/panels/Voltio.svg b/res/panels/Voltio.svg index e69de29..df367fb 100644 --- a/res/panels/Voltio.svg +++ b/res/panels/Voltio.svg @@ -0,0 +1,1338 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Voltio.cpp b/src/Voltio.cpp index b25df3b..550431c 100644 --- a/src/Voltio.cpp +++ b/src/Voltio.cpp @@ -40,7 +40,7 @@ struct Voltio : Module { auto octParam = configParam(OCT_PARAM, 0.f, 10.f, 0.f, "Octave"); octParam->snapEnabled = true; - configSwitch(RANGE_PARAM, 0.f, 1.f, 0.f, "Range", {"-5 to +5", "0 to 10"}); + configSwitch(RANGE_PARAM, 0.f, 1.f, 0.f, "Range", {"0 to 10", "-5 to +5"}); auto semitonesParam = configParam(SEMITONES_PARAM, 0.f, 11.f, 0.f, "Semitones"); semitonesParam->snapEnabled = true;