Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created January 23, 2015 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicoder/693efbf37b314a473dda to your computer and use it in GitHub Desktop.
Save nicoder/693efbf37b314a473dda to your computer and use it in GitHub Desktop.
20150123 sonic pi
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