releasex()

releasex(samples)

Category

Envelope / Control

Description

Alternative release envelope. Use it when a different release curve is musically better for the preset; like release(), the argument is in samples.

Envelope shape

releasex envelope shape

Example: releasex(44100)*sin(X)

Arguments

Typical Values

The argument is in samples. Around 10 to 500 is fast, 1000 to 8000 is medium, and 20000+ gives long pad-like motion.

Example

releasex(1200+42000*param(1))

Notes

For pitched oscillator functions, X already contains the current MIDI note pitch and transpose information. Prefer saw(X), sin(X), or pwm(X, 0.4) unless you intentionally want an octave or ratio shift such as 0.5*X or 2*X.