From 3157dbf9931e2bb85e5aa9b2e20e27d9872be7e2 Mon Sep 17 00:00:00 2001 From: Oskar Wallgren Date: Sun, 25 Dec 2016 21:58:52 +0100 Subject: [PATCH] Revert "Envelopes are on now by default" (#3176) --- src/core/EnvelopeAndLfoParameters.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core/EnvelopeAndLfoParameters.cpp b/src/core/EnvelopeAndLfoParameters.cpp index 023d9ce27f..271bfd6f49 100644 --- a/src/core/EnvelopeAndLfoParameters.cpp +++ b/src/core/EnvelopeAndLfoParameters.cpp @@ -92,12 +92,12 @@ EnvelopeAndLfoParameters::EnvelopeAndLfoParameters( Model( _parent ), m_used( false ), m_predelayModel( 0.0, 0.0, 2.0, 0.001, this, tr( "Predelay" ) ), - m_attackModel( 0.002, 0.0, 2.0, 0.001, this, tr( "Attack" ) ), - m_holdModel( 0.0, 0.0, 2.0, 0.001, this, tr( "Hold" ) ), - m_decayModel( 0.0, 0.0, 2.0, 0.001, this, tr( "Decay" ) ), - m_sustainModel( 1.0, 0.0, 1.0, 0.001, this, tr( "Sustain" ) ), + m_attackModel( 0.0, 0.0, 2.0, 0.001, this, tr( "Attack" ) ), + m_holdModel( 0.5, 0.0, 2.0, 0.001, this, tr( "Hold" ) ), + m_decayModel( 0.5, 0.0, 2.0, 0.001, this, tr( "Decay" ) ), + m_sustainModel( 0.5, 0.0, 1.0, 0.001, this, tr( "Sustain" ) ), m_releaseModel( 0.1, 0.0, 2.0, 0.001, this, tr( "Release" ) ), - m_amountModel( 1.0, -1.0, 1.0, 0.005, this, tr( "Modulation" ) ), + m_amountModel( 0.0, -1.0, 1.0, 0.005, this, tr( "Modulation" ) ), m_valueForZeroAmount( _value_for_zero_amount ), m_pahdFrames( 0 ), m_rFrames( 0 ),