summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibDSP/Synthesizers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibDSP/Synthesizers.cpp')
-rw-r--r--Userland/Libraries/LibDSP/Synthesizers.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibDSP/Synthesizers.cpp b/Userland/Libraries/LibDSP/Synthesizers.cpp
index 23b291cc88..38761af048 100644
--- a/Userland/Libraries/LibDSP/Synthesizers.cpp
+++ b/Userland/Libraries/LibDSP/Synthesizers.cpp
@@ -17,10 +17,10 @@ namespace LibDSP::Synthesizers {
Classic::Classic(NonnullRefPtr<Transport> transport)
: LibDSP::SynthesizerProcessor(transport)
, m_waveform("Waveform"sv, Waveform::Saw)
- , m_attack("Attack"sv, 0, 2000, 5)
- , m_decay("Decay"sv, 0, 20'000, 80)
- , m_sustain("Sustain"sv, 0, 1, 0.725)
- , m_release("Release", 0, 6'000, 120)
+ , m_attack("Attack"sv, 0.01, 2000, 5, Logarithmic::Yes)
+ , m_decay("Decay"sv, 0.01, 20'000, 80, Logarithmic::Yes)
+ , m_sustain("Sustain"sv, 0.001, 1, 0.725, Logarithmic::No)
+ , m_release("Release", 0.01, 6'000, 120, Logarithmic::Yes)
{
m_parameters.append(m_waveform);
m_parameters.append(m_attack);