Created
February 11, 2016 20:39
-
-
Save nicoder/149daf0d7eebacf3ddbd to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
use_synth [:mod_beep, :blade, :noise].choose | |
play 60, attack: 0.5, release: 3.5 | |
play [63, 64, 65].choose, attack: 0.5, release: 3.5 | |
play 67, attack: 0.5, release: 3.5 | |
play 72, attack: 0.5, release: 3.5 if one_in 3 | |
sleep 4 | |
end | |
live_loop :dos do | |
sync :main | |
use_synth :blade | |
play 36, attack: 0.5, release: 3 | |
sleep 1 | |
end | |
live_loop :rhy do | |
sync :main | |
4.times do | |
sample :bd_zum, amp: 1, rate: rrand(0.9, 1.1) | |
sleep 0.5 | |
sample :bd_zum, amp: 1, rate: rrand(0.9, 1.1) | |
with_fx :echo do | |
sample :bd_boom, amp: 0.5 | |
end | |
sleep 0.5 | |
end | |
end | |
live_loop :sym do | |
#sync :main | |
#sleep 0.25 | |
4.times do | |
sample :bass_woodsy_c, amp: rrand(0.9, 1.1) | |
sleep 1 | |
end | |
end | |
live_loop :rem do | |
#sync :main | |
4.times do | |
sample :drum_cymbal_closed unless one_in 12 | |
sleep 0.125 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment