03:4717.4: Amplitude Analysis - p5.js Sound Tutorial
From the creator
In this video, I show how to analyze the amplitude (i.e. volume) of a song (any sound input) to control elements of a p5.js sketch. Code: https://thecodingtrain.com/tracks/sound/sound/4-amplitude_analysis 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/QdROT5Nvr 🎥 Previous: https://youtu.be/SfA5CghXw18 🎥 Next: https://youtu.be/40Me1-yAtTc References: 🔗 p5.sound library: https://p5js.org/reference/#/libraries/p5.sound Timestamps: 0:00 Hello 0:26 Add a play button after the song is loaded 2:52 p5.amplitude() 3:50 getLevel() 5:12 Make size of ellipse responsive to volume. 6:13 Outro Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound 🚂 Website: https://thecodingtrain.com/ 👾 Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide 🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box 💡 GitHub: https://github.com/CodingTrain 💬 Discord: https://thecodingtrain.com/discord 💖 Membership: http://youtube.com/thecodingtrain/join 🛒 Store: https://standard.tv/codingtrain 🖋️ Twitter: https://twitter.com/thecodingtrain 📸 Instagram: https://www.instagram.com/the.coding.train/ 🎥 https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA 🔗 p5.js: https://p5js.org 🔗 p5.js Web Editor: https://editor.p5js.org/ 🔗 Processing: https://processing.org 📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct
Published 2016-06-09 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





