In Part 4 of the Sound with p5.js series, I show how to analyze the amplitude (i.e. volume) of a song (any sound input) to control elements of a p5.js sketch.

Support this channel on Patreon:

Send me your questions and coding challenges!
Contact:

p5.js sound library reference:

Source Code for the Video Lessons:

p5.js:
Processing:

For More Sound in p5.js videos:

Music track:

Help us caption & translate this video!