Modern browsers can do much more than display information—they can create interactive audio-visual web experiences!
In this lesson, you’ll learn the fundamentals of creating sound from scratch using the Web Audio API. The sounds in this lesson will be synthesized, or created directly in your browser, so you don’t need to worry about making recordings or finding sound files from elsewhere on the internet.
Web Audio can be used for everything from simple sound playback or sound effects to complex synthesizers and drum machines. The application currently loaded in your browser plays the first four bars of a J.S. Bach tune!
The Web Audio API is widely but not universally supported. Make sure you’re using a supported browser in order to start working with audio!
Play the song with the “Play Song” button!