env()

env(stretch, presetEnvelope)

Category

Envelope / Control

Description

Reads an envelope stored inside the currently loaded .vstpreset. The first argument is a time stretch factor and the second is the preset-envelope number.

Arguments

Typical Values

Stretch around 0.5 to 4.0 is typical. 1.0 plays the envelope at normal speed; values below 1.0 play it faster, and values above 1.0 play it slower. The second value selects an envelope stored inside the loaded .vstpreset.

Example

env(1, 0)*saw(X)

Notes

Preset envelopes can be edited graphically in Syntropy's Envelope Editor. In the Edit view, press the Envelopes button in the editor toolbar to open the Envelope Editor, where you can draw and modify the envelope shape used by env() and save it back into the preset. If a formula uses several envelope readers, Syntropy assigns the internal reader instances automatically; write env() for all of them.