From a587b4035b2d217301142973520af72caad63155 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Wed, 23 Sep 2020 00:20:32 +0200 Subject: [PATCH] Give room for FM index greater than 1 --- src/sfizz/Defaults.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sfizz/Defaults.h b/src/sfizz/Defaults.h index df71352e..dc54a6c2 100644 --- a/src/sfizz/Defaults.h +++ b/src/sfizz/Defaults.h @@ -72,8 +72,8 @@ namespace Default constexpr Range oscillatorDetuneRange { -9600, 9600 }; constexpr Range oscillatorDetuneCCRange { -9600, 9600 }; constexpr float oscillatorModDepth { 0 }; - constexpr Range oscillatorModDepthRange { 0, 100 }; - constexpr Range oscillatorModDepthCCRange { 0, 100 }; + constexpr Range oscillatorModDepthRange { 0, 10000 }; // depth%, allowed to be >100 for FM + constexpr Range oscillatorModDepthCCRange { 0, 10000 }; constexpr int oscillatorQuality { 1 }; constexpr Range oscillatorQualityRange { 0, 3 };