Skip to content

Instantly share code, notes, and snippets.

@vug
Created March 27, 2014 05:39
Show Gist options
  • Select an option

  • Save vug/9801044 to your computer and use it in GitHub Desktop.

Select an option

Save vug/9801044 to your computer and use it in GitHub Desktop.
Simple sinusoid synthesis with WAAPI
var ac = new window.webkitAudioContext();
console.log( ac.currentTime );
var osc = ac.createOscillator();
osc.connect(ac.destination);
osc.start();
osc.stop();
osc.start(); // InvalidStateError: Failed to execute 'start' on 'OscillatorNode': cannot call start more than once.
@saykan
Copy link

saykan commented Mar 29, 2016

ooh kulaklerimin pası silindi 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment