Skip to content

Instantly share code, notes, and snippets.

@nicoder
Last active February 27, 2019 19:52
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/c3a82da364f0cbc57b7abf524eb27e30 to your computer and use it in GitHub Desktop.
Save nicoder/c3a82da364f0cbc57b7abf524eb27e30 to your computer and use it in GitHub Desktop.
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