Returns an envelope: a function from Sound to Sound.
When the adsr envelope is applied to a Sound, it returns
a new Sound with its amplitude modified according to parameters
The relative amplitude increases from 0 to 1 linearly over the
attack proportion, then decreases from 1 to sustain level over the
decay proportion, and remains at that level until the release
proportion when it decays back to 0.
Returns an envelope: a function from Sound to Sound. When the adsr envelope is applied to a Sound, it returns a new Sound with its amplitude modified according to parameters The relative amplitude increases from 0 to 1 linearly over the attack proportion, then decreases from 1 to sustain level over the decay proportion, and remains at that level until the release proportion when it decays back to 0.