
Web Audio API: Making A Mosquito
In an attempt to learn a little more about the web audio API, I created a mosquito from nothing! This bite sized weekend project started out innocent enough, I wanted to mimic the noise of a mosquito using tech on the web.
The initial steps were easy. Listen to some mosquito videos on youtube (yes, they exist!). Create an oscillator to mimic the most annoying mosquito pitch possible. Then, get into the mind of the mosquito, to create the random pitch and volume variations that drive someone insane.
I had originally planned to build this out like an API, so people could add mosquitos to their website. Maybe hook it into the mouse movements, so you could “play” the mosquito so to speak, but the very act of creating it sent me insane.
*****
��: Learn to write clean code and build well-architected systems with audiobooks of the #1 bestselling programming series: https://www.cleancodeaudio.com/?utm_source=codingtech 4.6/5 stars, 4000+ reviews. Get 40% off all four with the code CODINGTECH
*****
Become a more effective Developer by using Kite!
Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it!
To learn more, click here: https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=codingtech&utm_content=description-only
*****
PUBLICATION PERMISSIONS:
Original video was published with the Creative Commons Attribution license (reuse allowed). Link: https://www.youtube.com/watch?v=EReoVpb9LJo