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

7 2

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.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more