setenv function

Set the amplitude envelope of a time wave to another one