Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created March 10, 2017 01:43
Show Gist options
  • Save nicoder/1df209273315c860fa316ec149adf400 to your computer and use it in GitHub Desktop.
Save nicoder/1df209273315c860fa316ec149adf400 to your computer and use it in GitHub Desktop.
use_bpm 180
live_loop :m do
sleep 1
end
live_loop :a do
sync :m
use_synth :fm
play 50, release: 0.9, pan: 0.9
sleep 0.33
play chord(50, :minor).choose, release: 0.9, amp: 0.5, pan: 0.7 if one_in 4
end
live_loop :b do
sync :a
use_synth :saw
4.times do
play (ring 50, 52, 54, 49).tick, amp: (line 0.2, 0.8, steps: 4).look, pan: -0.9
sleep 0.67
end
end
live_loop :c do
sync :b
with_fx :slicer, mix: rrand(0, 1) do
sample :drum_cymbal_hard
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment