mirror of
https://github.com/wassname/sound.js.git
synced 2026-06-27 17:32:05 +08:00
661 B
661 B
Sound for games
"Sound for Games" is micro-library to load, play and generate sound effects and music for
games and interactive applications. At it's heart it's composed of
just two, short functions. The makeSound function helps you
load and play sound files (mp3, wav, ogg, and webm). The soundEffect
function helps you generate a wide range of sound and music effects.
These two functions are completely modular free of dependencies, so
you can
copy and paste whichever parts of them you need into your own
projects. All the code is in the sound.js file. Take a look at the
index.html file for a working example of all the features.