EnvGate:
Filter:
Classes | JITLib > NodeProxy

EnvGate : Object

singleton fade envelope

Description

Convenience class for an envelope generator combining fadeTime and gate arguments.

Class Methods

EnvGate.new(i_level: 1, gate, fadeTime, doneAction: 2, curve: 'sin')

Returns an EnvGen.

Arguments:

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

Inherited class methods

Instance Methods

Inherited instance methods

Examples