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!
Contact:

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

Source Code for the Video Lessons:

p5.js:
Processing:

For More Sound in p5.js videos:

Help us caption & translate this video!