зеркало из https://github.com/mozilla/gecko-dev.git
15 строки
418 B
HTML
15 строки
418 B
HTML
<script>
|
|
var Context0= new AudioContext()
|
|
var Panner0=Context0.createPanner();
|
|
var BufferSource3=Context0.createBufferSource();
|
|
Panner0.channelCount=0;
|
|
BufferSource3.connect(Panner0);
|
|
BufferSource3.buffer=function(){
|
|
var length=1;
|
|
var Buffer=Context0.createBuffer(1,length,'44200');
|
|
var bufferData= Buffer.getChannelData(0);
|
|
for (var i = 0; i < length; ++i) { bufferData[i] = 255;};
|
|
return Buffer;
|
|
}();
|
|
|
|
</script> |