Skip to content

Instantly share code, notes, and snippets.

@nicoder
Last active March 14, 2020 06:29
Show Gist options
  • Save nicoder/8451198723e32f2cf3022c127e998e9d to your computer and use it in GitHub Desktop.
Save nicoder/8451198723e32f2cf3022c127e998e9d to your computer and use it in GitHub Desktop.
live_loop :a do
sample :drum_cymbal_closed
sleep 1
end
live_loop :b do
sync :a
play chord(:A, '+5'), release: 0.2
end
live_loop :c do
sync :a
sleep 0.5
with_fx :echo, mix: rand() do
play chord(:A, '5'), release: 0.2
end
end
live_loop :d do
sync :a
play :g - (ring 0, 2, 3, 3).stretch(4).tick, release: 0.2
end
live_loop :e do
sync :a
play 45, release: 0.4
end
live_loop :f do
sync :a
sleep 0.5
play 43, release: 0.4 if one_in 4
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment