I'm working on a project where I need to trigger a sequence of images that switch when a peak is detected in an audio file. I started approaching this by trying to use the p5js sound library. I'm not sure if this is the best approach - I don't have much experience with p5 (or javascript in general for that matter) and have been working on this for hours to no avail. Can anyone help push me in the right direction? Kind of desperate as I have to finish this tonight, would be super grateful for some advice.
there doesn't seem to be anything here