summaryrefslogtreecommitdiff
path: root/plugingui/humanizerframecontent.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2019-05-11 16:33:28 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2019-05-11 16:33:28 +0200
commit0cb6057fd3a55b23b419ebfe9648cb63d4e13b24 (patch)
tree66441a1380cb00ac324cfcbc450f575b663f0c89 /plugingui/humanizerframecontent.h
parent9c5efc23764522597a53a8745860cec54ea55d69 (diff)
Move sample selection GUI parameters to own frame.
Diffstat (limited to 'plugingui/humanizerframecontent.h')
-rw-r--r--plugingui/humanizerframecontent.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/plugingui/humanizerframecontent.h b/plugingui/humanizerframecontent.h
index e8c0810..048aea7 100644
--- a/plugingui/humanizerframecontent.h
+++ b/plugingui/humanizerframecontent.h
@@ -47,37 +47,22 @@ public:
private:
static float constexpr stddev_factor = 4.5f;
- static float constexpr f_distance_factor = 4.f;
- static float constexpr f_recent_factor = 1.f;
- static float constexpr f_random_factor = .5f;
void attackValueChanged(float value);
void falloffValueChanged(float value);
void stddevKnobValueChanged(float value);
- void fDistanceKnobValueChanged(float value);
- void fRecentKnobValueChanged(float value);
- void fRandomKnobValueChanged(float value);
void stddevSettingsValueChanged(float value);
- void fDistanceSettingsValueChanged(float value);
- void fRecentSettingsValueChanged(float value);
- void fRandomSettingsValueChanged(float value);
- GridLayout layout{this, 3, 2};
+ GridLayout layout{this, 3, 1};
LabeledControl attack{this, "Attack"}; // drummer strength
LabeledControl falloff{this, "Release"}; // regain
LabeledControl stddev{this, "StdDev"};
- LabeledControl f_distance{this, "fDistance"};
- LabeledControl f_recent{this, "fRecent"};
- LabeledControl f_random{this, "fRandom"};
Knob attack_knob{&attack};
Knob falloff_knob{&falloff};
Knob stddev_knob{&stddev};
- Knob f_distance_knob{&f_distance};
- Knob f_recent_knob{&f_recent};
- Knob f_random_knob{&f_random};
Settings& settings;
SettingsNotifier& settings_notifier;