Created
June 2, 2015 17:34
-
-
Save tado/42620cc3050cd19bc9e7 to your computer and use it in GitHub Desktop.
SonicPi example
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
| live_loop :live do | |
| use_synth :mod_dsaw | |
| with_fx :reverb do | |
| add_note = 0 | |
| 8.times do | |
| play choose([10, 14, 15, 17, 19]) + add_note, pan:rrand(-1.0, 1.0) | |
| play choose([10, 14, 15, 17, 19]) + add_note + 12, pan:rrand(-1.0, 1.0) | |
| sleep 0.5 * 0.5 * 0.5 | |
| add_note = add_note + 12.0 | |
| end | |
| sleep 0.25 | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment