Last active
January 16, 2021 02:33
-
-
Save mattsouth/77e5cad0c2573861d822 to your computer and use it in GitHub Desktop.
How to listen to all default samples in sonic-pi
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
# All samples | |
sample_groups().each do |grp| | |
print "\n###### :#{grp} ######\n" | |
sample_names(grp).each do |smp| | |
print smp | |
sample smp | |
sleep sample_duration smp | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment