tubeshowcase●920,095 videos♡ My collection 0
← Learn to Code

Learn to Code07:11

17.8: Microphone Input - p5.js Sound Tutorial

The Coding Train ↗

From the creator

In this video, I demonstrate how to use your system microphone as an input to a sketch, controlling elements with the volume. Code: https://thecodingtrain.com/tracks/sound/sound/8-microphone-input 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/goeU3RUbU 🎥 Previous: https://youtu.be/wUSva_BnedA 🎥 Next: https://youtu.be/jEwAMgcCgOA References: 🔗 p5.sound library: https://p5js.org/reference/#/libraries/p5.sound Related Coding Challenges: 🚂 https://youtu.be/l0HoJHc-63Q Timestamps: 0:00 Introduction 1:03 AudioIn() 2:54 Create a mic variable 4:14 getLevel() 4:53 The volume numbers are very small 5:22 Use the sound level to visualize an ellipse 6:47 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.

Published 2016-10-17 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code