env function

Amplitude envelope of a time wave