Permalink
Browse files

Updated readme.

  • Loading branch information...
1 parent 16dd6d9 commit b0b4551fc2552b7667fafd4d0b5ac6a08340bc83 @jussi-kalliokoski committed May 17, 2011
Showing with 14 additions and 4 deletions.
  1. +14 −4 readme → readme.md
View
@@ -1,12 +1,17 @@
+audiolib.js
+===========
+
audiolib.js is a powerful audio tools library for javascript.
Amongst other things, it provides AudioDevice class which has a consistent callback API that supports both Firefox4's Audio Data API and Chrome 10's Web Audio API.
-Usage:
+Usage
+-----
var dev = new AudioDevice(sampleRate, channelCount, function(sampleBuffer){
// Fill the buffer here.
});
+```javascript
// Effects
var del = new Delay(sampleRate, delay, feedback);
@@ -65,8 +70,13 @@ var audioElement = new Audio(
btoa( rec.toWav() ) // presuming btoa is supported
);
-A few live demos:
-http://niiden.com/simplesynth/simplesynth.html
-http://niiden.com/jstmodular/ (not yet tested on chrome, but if all adds up, it should work)
+```
+
+Demos
+-----
+
+(if you have your own, please fork & add | msg me)
+ * http://niiden.com/orbisyn/
+
Licensed under MIT license.

0 comments on commit b0b4551

Please sign in to comment.