I have been trying to get system audio analyzed in C2 for months down. I know all the ingredients I just can't figure out the right way to mix them.
Here are two methods of html5 live audio input, could someone give me (the community) the Christmas gift of how to implement one of these methods:
https://www.html5rocks.com/en/tutorials/getusermedia/intro/
or
https://developers.google.com/web/updates/2012/09/Live-Web-Audio-Input-Enabled:
// success callback when requesting audio input stream
function gotStream(stream) {
window.AudioContext = window.AudioContext || window.webkitAudioContext;
var audioContext = new AudioContext();
// Create an AudioNode from the stream.
var mediaStreamSource = audioContext.createMediaStreamSource( stream );
// Connect it to the destination to hear yourself (or any other node for processing!)
mediaStreamSource.connect( audioContext.destination );
}
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia;
navigator.getUserMedia( {audio:true}, gotStream );
?? ?? ?????????? ???????????????? ?? ??