Created
February 28, 2016 22:21
-
-
Save mohayonao/1175fb7c600aacb2d9e0 to your computer and use it in GitHub Desktop.
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
| let param = new AudioParam2(1); | |
| let gain = audioContext.createGain(); | |
| let t0 = audioContext.currentTime; | |
| param.bind(gain.gain); | |
| param.setValueAtTime(0, t0); | |
| param.linearRampToValueAtTime(1, t0 + 1); | |
| param.getValueAtTime(t0 + 0.5); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment