Get started with the Web Audio API

Increasingly, web designers are exploring the power sound as a web design tool (learn more about how sound design is transforming UX here). Between HTML audio and the Web Audio API, it’s easy to start adding sound to your projects. The <audio> element allows you to include plugin-free audio on your site, but it is still limited. 

For maximum sound control, the Web Audio API allows you to generate sounds, play existing ones (keep your sound files safe in cloud storage), create effects and much more. In this article we’ll take a closer look at how each of these work, and explain how to use them to add sound to your projects.

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

Richard Mattka

Richard is an award-winning interactive technologist, designer and developer. He specialises in creating interactive worlds with science-fiction themes, exploring the synergy between human and machine. He has also written regular articles for Net Magazine, and Web Designer Magazine on a range of exciting topics across the world of tech, including artificial intelligence, VFX, 3D and more. 

Latest in Web Design
A screenshot of the new YouTube UI
Yes, YouTube has a new UI. Yes, it's terrible
Adobe XD logo
It seems Adobe's given up on UI design (for now)
Adobe Muse
Why Adobe is frustrating web designers
Dropbox Relay interface with photo of man running
How Dropbox Replay is helping designers future-proof their practice
UX revolution
From 2D to 3D: How brands can harness the latest UX/UI revolution
Personal portfolio of Julie Bonnemoy with a retro vibe
From AI to no-code: The top web design trends for 2024 according to Designmodo
Latest in Advice
Blender Tutorial: 3D donuts on a table by Pietro Chiovaro
How to make realistic 3D donuts in Blender
Light and Shadow Linking are perfect for developing the look of your images like Manu Järvinen’s cat model (CC0)
Give your Blender scenes more life by mastering the Light Linking feature
How to use Cinema 4D files in Atlux tutorial main image
How to seamlessly integrate Cinema 4D files into Unreal Engine
Main image for Poly modeling with an iPad tutorial
How to get started in 3D modelling on iPad to create video game assets and 3D art
Book cover designs
14 pro tips for creating eye-catching book cover design
Pietro Chiovaro Blender T-shirt tutorial
How to make a T-shirt in Blender