Searched refs:audioContext (Results 1 – 3 of 3) sorted by relevance
12 this.audioContext = new AudioContext();57 this.buffer = this.audioContext.createBuffer(2,114 this.audioContext = new AudioContext();117 sampleRate = this.audioContext.sampleRate;127 var audioContext = this.audioContext;130 audioContext.decodeAudioData(e.target.result,143 this.node = (this.audioContext.createScriptProcessor ||144 this.audioContext.createJavaScriptNode).call(145 this.audioContext, 4096, 2, 2);146 this.splitter = this.audioContext.createChannelSplitter(2);[all …]
9 var audioContext; variable51 var input = audioContext.createMediaStreamSource(stream);64 audioContext = new AudioContext;78 drawContext = new DrawCanvas(canvas, audioContext.sampleRate / 2);158 if (freqEnd > audioContext.sampleRate / 2) {171 tonegen.setSampleRate(audioContext.sampleRate);320 drawContext.add(new AudioCurve(buffer, filename, audioContext.sampleRate));
109 var audioContext; /* Web Audio context */ variable187 audioContext = new AudioContext();188 nyquist = audioContext.sampleRate / 2;198 connect_to_native(audio_graph, pin(audioContext.destination));201 sourceNode.connect(audioContext.destination);426 var splitter = audioContext.createChannelSplitter(2);427 var merger = audioContext.createChannelMerger(2);429 analyzer_left = audioContext.createAnalyser();430 analyzer_right = audioContext.createAnalyser();454 var splitter = audioContext.createChannelSplitter(2);[all …]