diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-11-05 12:49:16 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-11-05 12:49:16 +0100 |
commit | 424075047c41b06945801baca104a9ffb23032a3 (patch) | |
tree | dcd99c984adaa68c167892d46e6b018512df1b57 /src/settings.h | |
parent | f287d6244133c935f9b22f0e6302e42149ed88f3 (diff) |
Add stddev scalar to sample selection.
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h index 0b73cf2..8f7c057 100644 --- a/src/settings.h +++ b/src/settings.h @@ -73,6 +73,7 @@ struct Settings Atomic<bool> enable_velocity_modifier{true}; Atomic<float> velocity_modifier_falloff{0.5f}; Atomic<float> velocity_modifier_weight{0.25f}; + Atomic<float> velocity_stddev{1.0f}; Atomic<bool> enable_velocity_randomiser{false}; Atomic<float> velocity_randomiser_weight{0.1f}; @@ -113,6 +114,7 @@ struct SettingsGetter SettingRef<bool> enable_velocity_modifier; SettingRef<float> velocity_modifier_falloff; SettingRef<float> velocity_modifier_weight; + SettingRef<float> velocity_stddev; SettingRef<bool> enable_velocity_randomiser; SettingRef<float> velocity_randomiser_weight; @@ -147,6 +149,7 @@ struct SettingsGetter , enable_velocity_modifier{settings.enable_velocity_modifier} , velocity_modifier_falloff{settings.velocity_modifier_falloff} , velocity_modifier_weight{settings.velocity_modifier_weight} + , velocity_stddev{settings.velocity_stddev} , enable_velocity_randomiser{settings.enable_velocity_randomiser} , velocity_randomiser_weight{settings.velocity_randomiser_weight} , samplerate{settings.samplerate} @@ -185,6 +188,7 @@ public: Notifier<bool> enable_velocity_modifier; Notifier<float> velocity_modifier_falloff; Notifier<float> velocity_modifier_weight; + Notifier<float> velocity_stddev; Notifier<bool> enable_velocity_randomiser; Notifier<float> velocity_randomiser_weight; @@ -225,6 +229,7 @@ public: EVAL(enable_velocity_modifier); EVAL(velocity_modifier_falloff); EVAL(velocity_modifier_weight); + EVAL(velocity_stddev); EVAL(enable_velocity_randomiser); EVAL(velocity_randomiser_weight); |