Created
January 3, 2012 05:18
-
-
Save lfzawacki/1553625 to your computer and use it in GitHub Desktop.
Algorithmic Symphonies
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
class Symph | |
{ | |
Step s; | |
fun void connect(UGen u) { s => u; } | |
fun void next(int sa) { (sa & 0xff) / 128. - 1. => s.next; } | |
} | |
Symph s; | |
s.connect(dac); | |
0 => int t; | |
while (true) { | |
t++; | |
t*(t>>12&t>>12) => int sa; | |
sa => s.next; | |
6::samp => now; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment