Created
January 8, 2017 14:57
-
-
Save crhallberg/d2805c0edb142255143877821e3360f9 to your computer and use it in GitHub Desktop.
Spike Test
This file contains 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
void setup() { | |
// ... | |
setTimeout(function() { | |
bounceSound.amp(.3); | |
bounceSound.play(); | |
}, 1000); | |
setTimeout(function() { | |
bounceSound.amp(.3); | |
bounceSound.play(); | |
bounceSound.play(); | |
}, 2000); | |
setTimeout(function() { | |
bounceSound.amp(.3); | |
bounceSound.play(); | |
bounceSound.play(); | |
bounceSound.play(); | |
}, 3000); | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment