Increased envelope times

This commit is contained in:
Oskar Wallgren
2014-03-05 03:10:15 +01:00
parent fcf5c054ac
commit 81aa00c978
2 changed files with 7 additions and 7 deletions

View File

@@ -92,12 +92,12 @@ EnvelopeAndLfoParameters::EnvelopeAndLfoParameters(
Model * _parent ) :
Model( _parent ),
m_used( false ),
m_predelayModel( 0.0, 0.0, 1.0, 0.001, this, tr( "Predelay" ) ),
m_attackModel( 0.0, 0.0, 1.0, 0.001, this, tr( "Attack" ) ),
m_holdModel( 0.5, 0.0, 1.0, 0.001, this, tr( "Hold" ) ),
m_decayModel( 0.5, 0.0, 1.0, 0.001, this, tr( "Decay" ) ),
m_predelayModel( 0.0, 0.0, 2.0, 0.001, this, tr( "Predelay" ) ),
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, 1.0, 0.001, this, tr( "Release" ) ),
m_releaseModel( 0.1, 0.0, 2.0, 0.001, this, tr( "Release" ) ),
m_amountModel( 0.0, -1.0, 1.0, 0.005, this, tr( "Modulation" ) ),
m_valueForZeroAmount( _value_for_zero_amount ),
m_pahdEnv( NULL ),

View File

@@ -62,7 +62,7 @@ const int SUSTAIN_KNOB_X = DECAY_KNOB_X+KNOB_X_SPACING;
const int RELEASE_KNOB_X = SUSTAIN_KNOB_X+KNOB_X_SPACING;
const int AMOUNT_KNOB_X = RELEASE_KNOB_X+KNOB_X_SPACING;
const float TIME_UNIT_WIDTH = 35.0;
const float TIME_UNIT_WIDTH = 24.0;
const int LFO_GRAPH_X = 6;
@@ -366,7 +366,7 @@ void EnvelopeAndLfoView::mousePressEvent( QMouseEvent * _me )
void EnvelopeAndLfoView::dragEnterEvent( QDragEnterEvent * _dee )
void EnvelopeAndLfoView::dragEnterEvent( QDragEnterEvent * _dee ) // TODO: Remove the expKnobVals, time should be linear
{
stringPairDrag::processDragEnterEvent( _dee,
QString( "samplefile,tco_%1" ).arg(