Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created February 23, 2020 04:58
Show Gist options
  • Save nicoder/6dd12e00e0bee84b31419bd7987980df to your computer and use it in GitHub Desktop.
Save nicoder/6dd12e00e0bee84b31419bd7987980df to your computer and use it in GitHub Desktop.
live_loop :a do
sample :bd_haus unless one_in 3
sleep 1
end
live_loop :b do
sync :a
use_synth :mod_beep
d = rrand_i(1, 5)
with_fx :gverb, mix: rrand(0.1, 0.5) do
with_fx :bitcrusher, mix: rrand(0.1, 0.5) do
play scale(60, :major).choose, release: d, amp: 0.8
end
end
sleep d
end
live_loop :c do
sync :a
sleep 0.5
sample :drum_cymbal_pedal, pan: -0.1
end
live_loop :d do
sync :a
use_synth :fm
with_fx :echo, decay: 1.5 do
play 48, release: rrand_i(0.2, 1)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment