P5 Envelope Sound Clipping/Crackle

Hi all,

Have been trying to create a sequencer using the p5.sound library with the use of Parts. It works smoothly with sample files, however I would like to add more parameters (ADSR) to the sound to play with by using envelopes. I created 5 envelopes for each individual soundfile, and it seems like when i run all of them together the audio clips and crackles after a short period of time. Can’t seem to wrap my head around this issue and have been trying to fix it for days. Any help would be appreciated, thank you :slight_smile: