Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created February 25, 2019 20:51
Show Gist options
  • Save nicoder/58b2e59be9a5fd78f513369f7d7e2a4f to your computer and use it in GitHub Desktop.
Save nicoder/58b2e59be9a5fd78f513369f7d7e2a4f to your computer and use it in GitHub Desktop.
with_fx :echo do
live_audio :in
end
live_loop :a do
sample :tabla_dhec
sleep 0.5
end
live_loop :b do
sync :a
sleep (ring 0.4, 0.2).tick
with_fx :echo, mix: rrand(0, 0.2) do
sample :tabla_ghe1
end
end
live_loop :c do
sync :a
3.times do
t = rrand(0.1, 2)
play scale(36, :major, num_octaves: 2).tick, release: t
sleep t
end
end
live_loop :d do
sync :a
sleep 0.25
play (ring chord(60, :major), chord(57, :minor)).stretch(4).tick, amp: 0.5
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment