17.9: Sound Visualization: Graphing Amplitude - p5.js Sound Tutorial
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: https://patreon.com/codingtrain
Send me your questions and coding challenges!
Contact: https://twitter.com/shiffman
p5.js sound library reference: https://p5js.org/reference/#/libraries/p5.sound
p5.getLevel function reference: https://p5js.org/reference/#/p5.Amplitude/getLevel
Kristian Pedersen's this.dot song: https://soundcloud.com/kristianpedersen/this-dot-feat-daniel-shiffman
Source Code for the Video Lessons: https://github.com/CodingTrain/Rainbow-Code
p5.js: https://p5js.org/
Processing: https://processing.org
For More Sound in p5.js videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6aFcVjlDAkkGIixw70s7jpW
Help us caption & translate this video!
http://amara.org/v/Xvaf/
📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct