Edaqa's Room: Sound and Music using WebAudio

edA‑qa mort‑ora‑y - Sep 27 '20 - - Dev Community

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.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player