Created
April 22, 2016 07:53
-
-
Save smuuf/24c5af78c6fca0619e76fe8bcbb1981b 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
// Sine | |
__().sine({id:"kurva"}).lowpass(220).reverb({ | |
seconds: 3, | |
decay: 2, | |
}).dac(0.5); | |
// Loop | |
__.loop({steps:8,interval: 400}); | |
var k =__("#kurva"); | |
// Sequence callback | |
k.bind("step", function(i,d,a) { | |
k.frequency(d * 110); | |
}, [3.5,2.5,2,0,2,0,3,4.5]); | |
// Plej. | |
__.loop("start"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment