Last active
August 29, 2015 14:14
-
-
Save nicoder/299b0eb8722139cfa971 to your computer and use it in GitHub Desktop.
20150128 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 | |
play 60, amp: rand | |
play 65, amp: rand | |
play 72, amp: rand | |
with_fx :reverb do | |
sample :drum_cymbal_closed, amp: rrand(0.1, 0.3) | |
end | |
sleep 0.25 | |
end | |
live_loop :sec do | |
play 28, amp: 10, release: 0.4 | |
with_fx :echo do | |
sample :drum_bass_hard, amp: rrand(0.1, 0.2) | |
end | |
sleep 0.5 | |
end | |
live_loop :third do | |
use_synth :mod_fm | |
play_pattern_timed [60, 63, 62, 58, 60], [4, 4, 2, 2, 4] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment