Created
February 15, 2015 18:09
-
-
Save abramhindle/22e85dee365271671a21 to your computer and use it in GitHub Desktop.
Very loud but pretty dramatic naive flat wave generator
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
Step s => dac; | |
100 => int maxsamps; | |
1000 => int reps; | |
while(true) { | |
for( 0 => int samps; samps < maxsamps; samps++ ) { | |
Std.rand2(-16,16) * 1000.0 => s.next; | |
samps::samp => now; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment