@@ -53,23 +53,27 @@ envelopeAndLFOParameters::envelopeAndLFOParameters(
5353 model * _parent ) :
5454 model( _parent ),
5555 m_used( FALSE ),
56- m_predelayModel( 0.0 , 0.0 , 1.0 , 0.001 , this ),
57- m_attackModel( 0.0 , 0.0 , 1.0 , 0.001 , this ),
58- m_holdModel( 0.5 , 0.0 , 1.0 , 0.001 , this ),
59- m_decayModel( 0.5 , 0.0 , 1.0 , 0.001 , this ),
60- m_sustainModel( 0.5 , 0.0 , 1.0 , 0.001 , this ),
61- m_releaseModel( 0.1 , 0.0 , 1.0 , 0.001 , this ),
62- m_amountModel( 0.0 , -1.0 , 1.0 , 0.005 , this ),
56+ m_predelayModel( 0.0 , 0.0 , 1.0 , 0.001 , this , tr( " Predelay-time " ) ),
57+ m_attackModel( 0.0 , 0.0 , 1.0 , 0.001 , this , tr( " Attack-time " ) ),
58+ m_holdModel( 0.5 , 0.0 , 1.0 , 0.001 , this , tr( " Hold-time " ) ),
59+ m_decayModel( 0.5 , 0.0 , 1.0 , 0.001 , this , tr( " Decay-time " ) ),
60+ m_sustainModel( 0.5 , 0.0 , 1.0 , 0.001 , this , tr( " Sustain-level " ) ),
61+ m_releaseModel( 0.1 , 0.0 , 1.0 , 0.001 , this , tr( " Release-time " ) ),
62+ m_amountModel( 0.0 , -1.0 , 1.0 , 0.005 , this , tr( " Modulation amount " ) ),
6363 m_valueForZeroAmount( _value_for_zero_amount ),
6464 m_pahdEnv( NULL ),
6565 m_rEnv( NULL ),
66- m_lfoPredelayModel( 0.0 , 0.0 , 1.0 , 0.001 , this ),
67- m_lfoAttackModel( 0.0 , 0.0 , 1.0 , 0.001 , this ),
68- m_lfoSpeedModel( 0.1 , 0.01 , 1.0 , 0.0001 , 20000.0 , this ),
69- m_lfoAmountModel( 0.0 , -1.0 , 1.0 , 0.005 , this ),
70- m_lfoWaveModel( SineWave, 0 , NumLfoShapes, this ),
71- m_x100Model( FALSE , this ),
72- m_controlEnvAmountModel( FALSE , this ),
66+ m_lfoPredelayModel( 0.0 , 0.0 , 1.0 , 0.001 , this ,
67+ tr ( " LFO-predelay-time" ) ),
68+ m_lfoAttackModel( 0.0 , 0.0 , 1.0 , 0.001 , this , tr( " LFO-attack-time" ) ),
69+ m_lfoSpeedModel( 0.1 , 0.01 , 1.0 , 0.0001 , 20000.0 , this ,
70+ tr ( " LFO-speed" ) ),
71+ m_lfoAmountModel( 0.0 , -1.0 , 1.0 , 0.005 , this ,
72+ tr ( " LFO-modulation-amount" ) ),
73+ m_lfoWaveModel( SineWave, 0 , NumLfoShapes, this ,
74+ tr ( " LFO wave shape" ) ),
75+ m_x100Model( FALSE , this , tr( " Freq x 100" ) ),
76+ m_controlEnvAmountModel( FALSE , this , tr( " Modulate Env-Amount" ) ),
7377 m_lfoFrame( 0 ),
7478 m_lfoAmountIsZero( FALSE ),
7579 m_lfoShapeData( NULL )
0 commit comments