Skip to content

Instantly share code, notes, and snippets.

@drozdziak1
Last active August 23, 2018 17:44
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 drozdziak1/3b56e5d9d375cb61a98e2c09b3319dc0 to your computer and use it in GitHub Desktop.
Save drozdziak1/3b56e5d9d375cb61a98e2c09b3319dc0 to your computer and use it in GitHub Desktop.
SinOsc osc => dac;
0.3 => osc.gain;
250 => int start_freq;
20 => int end_freq;
Step s => blackhole;
0.0 => s.next;
while (osc.freq() > 0) {
start_freq - s.next() * start_freq + end_freq => osc.freq;
s.next() + 0.07 => s.next;
10::ms => now;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment