In this “p5.js Sound Tutorial”, I use the getLevel() function from the p5.js Sound Library to graph the amplitude (volume) over time.

Support this channel on Patreon:

Send me your questions and coding challenges!

p5.js sound library reference:
p5.getLevel function reference:
Kristian Pedersen’s song:

Source Code for the Video Lessons:


For More Sound in p5.js videos:

Help us caption & translate this video!