AudioMasher
[continue autosave] Learn Sporth
log in learn new browse

ADSR

A gate-based ADSR envelope generator.

ADSR takes the following arguments:

Example

In the example below a toggle signal generated with the ugens dmetro and tog are fed into adsr. This signal is then multiplied with a 440hz sine wave.

 2 dmetro tog 0.1 0.1 0.9 0.8 adsr 440 0.5 sine * 



Compile & play Stop audio