Use skewed range for frequency parmater
This commit is contained in:
parent
7752ce6771
commit
d5fde24854
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue