Created
November 30, 2015 22:00
-
-
Save hopbit/bc53500c9ba486a9c5ae to your computer and use it in GitHub Desktop.
play all sonic pi samples
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
format = "there are %d samples" % all_sample_names.size | |
puts format | |
for voicenumber in 0..all_sample_names.size-1 do | |
puts voicenumber | |
voice = all_sample_names[voicenumber] | |
sample voice | |
sleep sample_duration voice | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment