Maybe there would be a better way to do what i do but i don't know. This class provides the possibility to write an Env to a soundfile. I think that is not needed anymore.
set the sample rate of the sound file to be written.
creates a soundfile that contains the envelope
length of the soundfile in samples
filename of the sound file