Skip to content

Instantly share code, notes, and snippets.

@nicoder
Last active April 8, 2016 12:22
Show Gist options
  • Save nicoder/ec01e002387196379bddddedb820c84c to your computer and use it in GitHub Desktop.
Save nicoder/ec01e002387196379bddddedb820c84c to your computer and use it in GitHub Desktop.
live_loop :a do
sample :loop_amen, beat_stretch: 2
sleep 2
end
live_loop :b do
# sync :a
use_synth :tb303
play :e1, release: 2, cutoff_attack: 4, cutoff: 90
play (ring :b4, :bb4).stretch(4).tick, release: 2, cutoff_attack: 2, cutoff: 90
sleep 2
end
live_loop :c do
# sync :a
use_random_seed (ring 123, 124, 125).tick
16.times do
sample :bd_haus, amp: 2 if one_in 3
sleep 0.125
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment