Live Stream #63: Sound in p5.js Continued + Q&A
In this Live Stream, I cover additional features of the p5.js sound library. I demonstrate how to analyze inputs (microphone or sound file) and control the elements of a sketch with volume / amplitude. I also discuss FFT analysis (Fast Fourier Transform) and visualize the spectrum / frequency array. Finally, I modify one of my previous Coding Challenge, Flappy Bird, to make it respond to sound.
I also answer a viewer question about how to make a p5.js sketch the background of a web page.
23:30 - Presenting today's topic
27:55 - Sound in p5.js: Using Microphone in sketch
45:11 - Sound in p5.js: Volume Visualization
1:06:06 - Sound in p5.js: Circular Volume Graphing
1:19:43 - Sound in p5.js: FFT
1:43:30 - Clappy Bird!
2:16:26 - Q&A: p5.js Sketch in Background
2:26:56 - Q&A/Conclusion
Video recorded at http://sfpc.io/
Support this channel on Patreon: https://patreon.com/codingtrain
Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics
Contact: https://twitter.com/shiffman
GitHub Repo with all the info for Programming from A to Z: https://github.com/shiffman/A2Z-F16
Links discussed in this video:
p5-manager on npm: https://www.npmjs.com/package/p5-manager
this.dot song: https://soundcloud.com/kristianpedersen/this-dot-feat-daniel-shiffman
p5.js Sound Library: https://p5js.org/reference/#/libraries/p5.sound
Source Code for the all Video Lessons: https://github.com/CodingTrain/Rainbow-Code
p5.js: https://p5js.org/
Processing: https://processing.org
For More Live Streams: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bxnFR6no70vlxxuxDEzflz
For More Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
Help us caption & translate this video!
http://amara.org/v/72qD/
📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct