Created
January 23, 2015 04:24
-
-
Save nicoder/693efbf37b314a473dda to your computer and use it in GitHub Desktop.
20150123 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 :main do | |
with_fx :echo do | |
play 30, release: 0.2, amp: 4.5 | |
end | |
sample :drum_cymbal_closed, release: 0.1 if one_in 2 | |
sleep 1 | |
end | |
live_loop :two do | |
play_pattern_timed [:c, :e, :g, :c5, :e5, :g, :c5, :e5], [0.25], amp: 0.5 | |
end | |
live_loop :three do | |
use_synth :beep | |
# with_fx :slicer do | |
play 76, release: 2 | |
# end | |
sleep 4 | |
end | |
with_fx :echo do | |
play 76, release: 4 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment