876207.html (1325B)
1 <script> 2 try { o1 = new window.OfflineAudioContext(1, 10, 44100); } catch(e) { } 3 try { o2 = o1.createChannelSplitter(1); } catch(e) { } 4 try { o3 = o1.createAnalyser(); } catch(e) { } 5 try { o4 = o1.createWaveShaper(); } catch(e) { } 6 try { o5 = o1.createChannelSplitter(6); } catch(e) { } 7 try { o6 = o1.createAnalyser(); } catch(e) { } 8 try { o7 = o1.createBufferSource(); } catch(e) { } 9 try { o7.connect(o1.destination); } catch(e) { } 10 try { o7.buffer = function() { 11 o8 = o1.createBuffer(1, 3, o1.sampleRate); 12 o9 = o8.getChannelData(0); 13 for(var i = 0; i < 3; ++i) { 14 o9[i] = Math.sin(i * 127); 15 } 16 return o8; 17 }() 18 ; } catch(e) { } 19 try { o7.playbackRate.cancelScheduledValues(0) } catch(e) { } 20 try { o7.channelInterpretation = 'speakers'; } catch(e) { } 21 try { o1.destination.channelInterpretation = 'speakers'; } catch(e) { } 22 try { o5.connect(o1.destination, 1, 1) } catch(e) { } 23 try { o1.listener.setOrientation(0, 1073741824, 1073741824, 4194304, 1, 0) } catch(e) { } 24 try { o4.curve = new Float32Array(127); } catch(e) { } 25 try { o6.getByteFrequencyData(new Uint8Array(12)) } catch(e) { } 26 try { o6.disconnect() } catch(e) { } 27 try { o1.destination.channelCount = 33554432; } catch(e) { } 28 try { o7.playbackRate.setTargetAtTime(0, 8388608, 1) } catch(e) { } 29 try { o6.getByteTimeDomainData(new Uint8Array(12)) } catch(e) { } 30 </script>