mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fe9a997fa6
--HG-- extra : rebase_source : 480cebb99e5dd8673df179b490d11e6c513fa1d1
17 lines
496 B
HTML
17 lines
496 B
HTML
<script>
|
|
var Context0= new AudioContext()
|
|
var BufferSource7=Context0.createBufferSource();
|
|
|
|
BufferSource7.connect(Context0.destination);
|
|
BufferSource7.buffer=function(){
|
|
var length=7;
|
|
var Buffer=Context0.createBuffer(1,length,Context0.sampleRate);
|
|
var bufferData= Buffer.getChannelData(0);for (var i = 0; i < length; ++i) { bufferData[i] = Math.sin(i*(-1))};
|
|
return Buffer;
|
|
}();
|
|
|
|
|
|
Context0.destination.channelCountMode="explicit";
|
|
Context0.destination.channelCount=519910189000000;
|
|
</script>
|