This is a demo of envelope-generator, a module for creating ADSR envelopes. Click "unmute" to hear the actual sound it creates (the audio source is white noise), or simply adjust the inputs to see the impact on the waveform. A few options aren't represented in the demo. meandavejustice/draw-wave made rendering these waveforms easy.