Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 353 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 353 Bytes

audio-process

creates a webaudio script process input node

Example

var process = require('audio-process');

var audio = new webkitAudioContext();

var node = process(audio, 1024, function(L, R){
  for(var i=0; i<L.length; i++){
    L[i] = Math.random()*0.5;
    R[i] = L[i];
  }
});

node.connect(audio.destination);

License

MIT