Created
March 27, 2014 05:39
-
-
Save vug/9801044 to your computer and use it in GitHub Desktop.
Simple sinusoid synthesis with WAAPI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ooh kulaklerimin pası silindi 👍