Convenience class for an envelope generator combining fadeTime and gate arguments.
Returns an EnvGen.
i_level |
initial level of envelope (if set to 1, it starts open) |
gate |
a gate input. if nil, EnvGate creates a NamedControl named 'gate' |
fadeTime |
an input for both attack and decay time. if nil, EnvGate creates a NamedControl named 'fadeTime' (default time: 0.02) |
doneAction |
doneAction of the EnvGen |
curve |
envelope curve |