Package processing.sound
Class Env
java.lang.Object
processing.sound.Env
- Record Components:
parent- PApplet: typically use "this"
This is an ASR (Attack Sustain Release) Envelope Generator.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidplay(SoundObject input, float attackTime, float sustainTime, float sustainLevel, float releaseTime) Triggers the envelope.
-
Constructor Details
-
Env
-
-
Method Details
-
play
public void play(SoundObject input, float attackTime, float sustainTime, float sustainLevel, float releaseTime) Triggers the envelope.- Parameters:
input- Input sound sourceattackTime- Attack time value as a float.sustainTime- Sustain time value as a float.sustainLevel- Sustain level value as a float. (as fraction of the input amplitude)releaseTime- Release time value as a float.
-