1
0
Fork 0

Use skewed range for frequency parmater

This commit is contained in:
Robbert van der Helm 2022-02-01 23:38:27 +01:00
parent 7752ce6771
commit d5fde24854

View file

@ -73,10 +73,10 @@ impl Default for SineParams {
}, },
frequency: FloatParam { frequency: FloatParam {
value: 420.0, value: 420.0,
// TODO: Add logarithmic ranges range: Range::Skewed {
range: Range::Linear {
min: 1.0, min: 1.0,
max: 20_000.0, max: 20_000.0,
factor: Range::skew_factor(-2.0),
}, },
name: "Frequency", name: "Frequency",
unit: " Hz", unit: " Hz",