Permalink
Browse files

more like r2d2

  • Loading branch information...
1 parent 583ec31 commit c51057343bc386082083bfb067007f52a3594071 @xk committed Nov 3, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 test-sinewaves.js
View
@@ -46,10 +46,10 @@ var DONE= 0;
var Sound= require('./build/default/sound');
var musiquilla= [];
-var i= 10;
+var i= 20;
while (i--) {
- var f= 441+ (1e3* Math.random());
- var t= 0.1+ (Math.random()/5);
+ var f= 222+ (3e3* Math.random());
+ var t= 0.05+ (Math.random()/20);
var buffer= createSineWave(f/*f in Hz*/, t/*duration in seconds*/);
musiquilla.push(Sound.create(buffer));
}

0 comments on commit c510573

Please sign in to comment.