Created
March 8, 2015 19:51
-
-
Save nicoder/de65056deadb15e715b7 to your computer and use it in GitHub Desktop.
20150308 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
live_loop :r do | |
(spread 3, 8).each do |b| | |
sample b ? :drum_tom_mid_hard : :drum_cymbal_closed | |
sleep 0.125 | |
end | |
end | |
use_synth :fm | |
live_loop :c do | |
play chord(:b3) | |
sleep 1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment