Last active
February 27, 2019 19:52
-
-
Save nicoder/c3a82da364f0cbc57b7abf524eb27e30 to your computer and use it in GitHub Desktop.
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
with_fx :echo do | |
live_audio :in | |
end | |
live_loop :a do | |
sample :drum_cymbal_closed | |
sleep 0.5 | |
end | |
live_loop :b do | |
sync :a | |
s = :drum_bass_soft | |
with_fx :echo, phase: [0.125, 0.25, 0.33].choose do | |
sample (ring s, s, nil, nil).tick | |
end | |
end | |
live_loop :c do | |
sync :a | |
s = :drum_snare_soft | |
with_fx :reverb, mix: rrand(0, 0.3) do | |
sample (ring s, nil, s, nil).tick | |
end | |
end | |
live_loop :d do | |
sync :a | |
s = :misc_burp | |
with_fx :reverb, mix: rrand(0, 0.3) do | |
sample (ring nil, nil, s, nil).tick, amp: rrand(0, 0.4) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment