Static/Crackling sound

When using the Sound library on Android, I sometimes get a static or crackling noise. It usually occurs when playing too many sound files at the same time. It is definitely not from something else on my phone since closing the sketch stops it. It is affected by the phone’s volume. I have tried setting the amplitude to 0 with fileName.amp(0); and also tried stopping the file even when it has finished playing with fileName.stop();. What else could be the issue? Or how else can I fix it?

1 Like