Envelope Op

Envelope

This op is deprecated!

It will not receive any updates

ADSR envelope generator, can be connected to an Audio Port


Envelopeis an ADSR envelope generator. Tone.Envelope outputs a signal which can be connected to dynamic input port of another tone.js-op or a signal. The second output port can be used to set the ADSR on synth-ops.


Full Name
  • Ops.Extension.Deprecated.Tonejs.Envelope
Visibility
  •  Extension Op - Visible to all users
License
  • MIT
AuthorgithubMaintained by TeamJavascript Libraries








No op example found on this server

INPUT PORTS


Attack (Number)

When triggerAttack is called, the attack time is the amount of time it takes for the envelope to reach it's maximum value.

Decay (Number)

After the attack portion of the envelope, the value will fall over the duration of the decay time to it's sustain value.

Sustain (Number)

The sustain value is the value which the envelope rests at after triggerAttack is called, but before triggerRelease is invoked.

Release (Number)

After triggerRelease is called, the envelope's value will fall to it's miminum value over the duration of the release time.

Trigger Attack (Trigger)

Trigger the attack/decay portion of the ADSR envelope.

Velocity (Number)

How loud the attack will be triggered (0 = quiet, 1 = loud)

Attack Time (Number)

When Trigger Attack is triggered this is the time when it actually happens, +0 means now, +2 means in two seconds from now

Trigger Release (Trigger)

Triggers the release of the envelope.

Release Time (Number)

When Trigger Release is triggered this is the time when it actually happens, +0 means now, +2 means in two seconds from now

OUTPUT PORTS


Signal (Object)

Can be connected to a dynamic audio param port

Envelope Object (Object)

Can be connected to an envelope-port of a synth


Patches using Envelope

  • Examples
  • Public
  • My Patches