mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
21244bbd4c
--HG-- extra : rebase_source : 8d6ff4e6fdfe51e32cca22ecaeb84b59c18ad4ae
23 lines
382 B
HTML
23 lines
382 B
HTML
<!DOCTYPE html>
|
|
<script>
|
|
var ctx = new AudioContext();
|
|
var source = ctx.createOscillator();
|
|
source.start(0);
|
|
|
|
function appendMerger(src) {
|
|
const inputCount = 18;
|
|
|
|
var merger = ctx.createChannelMerger(32);
|
|
|
|
for (var i = 0; i < inputCount; ++i) {
|
|
src.connect(merger, 0, i);
|
|
}
|
|
|
|
return merger;
|
|
}
|
|
|
|
for (var i = 0; i < 6; ++i) {
|
|
source = appendMerger(source);
|
|
}
|
|
</script>
|