17.4: Amplitude Analysis - p5.js Sound Tutorial

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=NCCHQwNAN6Y



Category:
Tutorial
Duration: 7:19
27,373 views
378


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

Source Code for the Video Lessons: https://github.com/shiffman/Video-Lesson-Materials

p5.js: https://p5js.org/
Processing: https://processing.org

For More Sound in p5.js videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6aFcVjlDAkkGIixw70s7jpW

Music track:
http://freemusicarchive.org/music/The_Columbians/Antique_Phonograph_Music_Program_08252015/Just_Like_A_Rainbow

Help us caption & translate this video!

http://amara.org/v/Qbru/

📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct







Tags:
p5.js
sound
p5
js
javascript
play
javascript (programming language)
tutorial
tutorial (media genre)
creative coding
coding
processing
daniel shiffman
processing tutorial
p5.js tutorial
p5 js
amplitude
sound analysis
amplitude level
audio volume
javascript sound volume
p5.js sound tutorial
p5.js amplitude
html5 audio
html5 audio volume
p5.Amplitude
loadSound()
p5.js loadSound