speed
fps
100 % score 0 |
Sounds for Mozilla
if('webkitAudioContext' in window) aud = null; // initialization else if('Audio' in window){ // Mozilla aud = new Audio(); aud.mozSetup(1, 44100);} else aud = null; var sound = new Float32Array(22050); for (var i = 0; i < samples.length ; i++) sound[i] = Math.sin( (i + .001*i*i) / 20 )*Math.exp(-i*.0007); ... if(aud) aud.mozWriteAudio(sound); // sound