- slEnvelope my_envelope ( 2, SL_SAMPLE_LOOP ) ;
- my_envelope.setStep ( 0, 0.0, 1.0 ) ;
- my_envelope.setStep ( 1, 10.0, 2.0 ) ;
- my_envelope.setStep ( 2, 20.0, 1.0 ) ;
+ pitch_envelope.setStep ( 0, 0.0, 1.0 ) ;
+ pitch_envelope.setStep ( 1, 5.0, 2.0 ) ;
+ pitch_envelope.setStep ( 2, 10.0, 1.0 ) ;
+
+ p_envelope.setStep ( 0, 5.0, 2.0 ) ;
+
+ volume_envelope.setStep ( 0, 0.0, 1.0 ) ;
+ volume_envelope.setStep ( 1, 5.0, 2.0 ) ;
+ volume_envelope.setStep ( 2, 10.0, 1.0 ) ;