mirror of
https://github.com/sbrl/soundbox.git
synced 2018-01-10 21:33:43 +00:00
Update README.md
This commit is contained in:
parent
29897186e7
commit
a1df146663
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -1,2 +1,12 @@
|
||||||
# soundbox
|
# soundbox
|
||||||
A super simple JS library for playing sound effects
|
A super simple JS library for playing sound effects
|
||||||
|
|
||||||
|
To use:
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
var soundbox = new SoundBox();
|
||||||
|
soundbox.add("beep", "beep.wav");
|
||||||
|
|
||||||
|
// later....
|
||||||
|
soundbox.play("beep");
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue