summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2019-05-11 22:10:16 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2019-05-11 22:10:16 +0200
commit1d0fb78aa2dcda5e31be85a4bac263792e1535bc (patch)
tree27bc074b7f497328b76c61a422445e7d91bddd43
parent18650bf589c459e60c2435d9a547218a744cdb32 (diff)
Parameter tweaking of sample selection.
-rw-r--r--plugingui/sampleselectionframecontent.h4
-rw-r--r--src/settings.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugingui/sampleselectionframecontent.h b/plugingui/sampleselectionframecontent.h
index 272d620..20765ed 100644
--- a/plugingui/sampleselectionframecontent.h
+++ b/plugingui/sampleselectionframecontent.h
@@ -46,8 +46,8 @@ public:
SettingsNotifier& settings_notifier);
private:
- static float constexpr f_close_factor = 4.f;
- static float constexpr f_diverse_factor = 1.f;
+ static float constexpr f_close_factor = 16.f;
+ static float constexpr f_diverse_factor = .5f;
static float constexpr f_random_factor = .5f;
void fCloseKnobValueChanged(float value);
diff --git a/src/settings.h b/src/settings.h
index 1974bcd..4872236 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -75,8 +75,8 @@ struct Settings
static float constexpr velocity_modifier_falloff_default = 0.5f;
static float constexpr velocity_modifier_weight_default = 0.25f;
static float constexpr velocity_stddev_default = 1.0f;
- static float constexpr sample_selection_f_close_default = 2.f;
- static float constexpr sample_selection_f_diverse_default = .3f;
+ static float constexpr sample_selection_f_close_default = 4.f;
+ static float constexpr sample_selection_f_diverse_default = .1f;
static float constexpr sample_selection_f_random_default = 0.05f;
Atomic<float> velocity_modifier_falloff{velocity_modifier_falloff_default};
Atomic<float> velocity_modifier_weight{velocity_modifier_weight_default};