tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

stop-before-start.html (475B)


      1 <html class="test-wait">
      2 <head>
      3  <title>
      4    Test stop() time before start() time on OscillatorNode with AudioParam
      5  </title>
      6 </head>
      7 <script>
      8  const ac = new OfflineAudioContext({length: 136, sampleRate: 48000});
      9  const osc = new OscillatorNode(ac);
     10  osc.start(61/ac.sampleRate);
     11  osc.stop(31/ac.sampleRate);
     12  osc.detune.setValueAtTime(2.0, 1/ac.sampleRate);
     13  ac.startRendering().then(
     14    () => document.documentElement.removeAttribute("class"));
     15 </script>
     16 </html>