From a1df146663ff44793e8e45aa06930f72c7cc8692 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 17 Feb 2015 10:13:49 +0000 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 0cf3998..d991070 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,12 @@ # soundbox 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"); +```