Web Audio APIを使用してカスタムパンコントロールを作成しようとしていますが、チャンネルスプリッターとマージノードを使用して正しいチャンネルからサウンドを出すことができません。
var context = new webkitAudioContext(),
destination = context.destination,
osc = context.createOscillator(),
gainL = context.createGainNode(),
gainR = context.createGainNode(),
splitter = context.createChannelSplitter(2),
merger = context.createChannelMerger(2);
osc.frequency.value = 500;
osc.connect(splitter);
splitter.connect(gainL, 0);
splitter.connect(gainR, 1);
gainL.connect(merger, 0, 0);
gainR.connect(merger, 0, 1);
osc.noteOn(0);
gainL.gain.value = 0.1;
gainR.gain.value = 0.5;
osc.noteOff(2);
merger.connect(destination);
ここで明らかな何かが欠けていますか?上記のコードのJSBinプレビューがここにあります:http://jsbin.com/ayijoy/1/
念のため、Chromev24.0.1312.57を実行しています。