Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created February 24, 2019 19:44
Show Gist options
  • Save nicoder/53475848891b2a21065b4ef37cf9be52 to your computer and use it in GitHub Desktop.
Save nicoder/53475848891b2a21065b4ef37cf9be52 to your computer and use it in GitHub Desktop.
with_fx :echo do
live_audio :in
end
live_loop :a do
play 48, pan: 1
sleep 1
end
live_loop :b do
sync :a
play (ring 48, 44, 43, 43).tick, pan: -1
end
live_loop :c do
sync :a
with_fx :slicer, mix: rand do
with_fx :distortion do
play 36, release: 4, pan: -0.2
play 36, attack: 4, pan: 0.2
end
end
sleep 3.99
end
live_loop :d do
# sync :a
with_fx :echo, phase: (ring 0.3, 0.4).tick do
sample :bd_haus
end
sleep 0.5
end
live_loop :e do
sync :a
sleep 0.5
sample :drum_snare_hard, amp: rand
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment