DEV Community

Cover image for Edaqa's Room: Sound and Music using WebAudio
edA‑qa mort‑ora‑y
edA‑qa mort‑ora‑y

Posted on

Edaqa's Room: Sound and Music using WebAudio

Today I show you how I use Web Audio to add sound effects and music to my game.

  • Creating AudioContext
  • Loading sounds with XMLHttpRequest and decodeAudioData
  • Creating and playing buffers with createBufferSource
  • Using the Audio element for music
  • Fade in/out

Edaqa's Room: Dev.to Special

Twitch Channel
YouTube Channel

--

All about the development of technology, graphics, and puzzles for my online escape and puzzle games. I'll show you how all the pieces work, how I design the games, and likely lots of poking fun at the Web.

Top comments (0)