Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more like r2d2

  • Loading branch information...
commit c51057343bc386082083bfb067007f52a3594071 1 parent 583ec31
@xk authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 test-sinewaves.js
View
6 test-sinewaves.js
@@ -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));
}
Please sign in to comment.
Something went wrong with that request. Please try again.