Linen:
Filter:
Classes | UGens > Envelopes

Linen : UGen : AbstractFunction : Object

Simple linear envelope generator.
Source: EnvGen.sc

Description

Simple linear envelope generator.

Class Methods

Linen.kr(gate: 1.0, attackTime: 0.01, susLevel: 1.0, releaseTime: 1.0, doneAction: 0)

Arguments:

gate

This triggers the envelope and holds it open while > 0.

If gate < 0, force release with time -1.0 - gate. See EnvGen: Forced release.

attackTime

The duration of the attack portion.

susLevel

The level of the sustain portion.

releaseTime

The duration of the release portion.

doneAction

An integer representing an action to be executed when the envelope is finished. See Done for more detail.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.canFreeSynth

From extension in /usr/share/SuperCollider/SCClassLibrary/Common/Audio/canFreeSynth.sc

Examples