blob: 515ca3c8772c5dd30657157157322944957f98df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<script>
var oc = new OfflineAudioContext(1, 1, 44100);
var splitter = oc.createChannelSplitter(2);
var merger0 = oc.createChannelMerger(2);
var merger1 = oc.createChannelMerger(2);
splitter.connect(merger0, 0);
splitter.connect(merger0, 1);
splitter.connect(merger1, 0);
splitter.connect(merger1, 1);
splitter.disconnect(merger0, 0);
splitter.disconnect(merger1, 1);
</script>
|