Skip to content

Instantly share code, notes, and snippets.

@smuuf
Created April 22, 2016 07:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smuuf/24c5af78c6fca0619e76fe8bcbb1981b to your computer and use it in GitHub Desktop.
Save smuuf/24c5af78c6fca0619e76fe8bcbb1981b to your computer and use it in GitHub Desktop.
// 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