Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created March 31, 2020 03:40
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/5b2197cbc8bf850fcd54a3bcab543b56 to your computer and use it in GitHub Desktop.
Save nicoder/5b2197cbc8bf850fcd54a3bcab543b56 to your computer and use it in GitHub Desktop.
live_loop :a do
sample :drum_heavy_kick
sleep 1
end
live_loop :b do
sync :a
sample :drum_roll if one_in 8
end
live_loop :c do
#sync :a
use_synth :prophet
c = line(50, 70).tick
at [0, 0.25, 0.5, 0.75], (ring 48, 55, 48, 57) do |n|
with_fx :krush, mix: c / 70.0 do
play n, release: 0.3, cutoff: c
end
end
sleep 1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment