From 344427f2545fba80d1112505a3276ae848182248 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Mon, 7 Mar 2022 20:22:16 +0100 Subject: [PATCH] Skew the pitch parameter range --- plugins/puberty_simulator/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/puberty_simulator/src/lib.rs b/plugins/puberty_simulator/src/lib.rs index 8bd0c70a..1b59f743 100644 --- a/plugins/puberty_simulator/src/lib.rs +++ b/plugins/puberty_simulator/src/lib.rs @@ -77,9 +77,11 @@ impl Default for PubertySimulatorParams { pitch_octaves: FloatParam::new( "Pitch", -1.0, - FloatRange::Linear { + FloatRange::SymmetricalSkewed { min: -5.0, max: 5.0, + factor: FloatRange::skew_factor(-1.0), + center: 0.0, }, ) .with_unit(" Octaves")