Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created March 14, 2021 20:12
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/8a4d4978662b05591c0b1ef535341385 to your computer and use it in GitHub Desktop.
Save nicoder/8a4d4978662b05591c0b1ef535341385 to your computer and use it in GitHub Desktop.
live_loop :a do
use_synth :subpulse
play 60
sleep 1
end
live_loop :b do
# sync :a
use_synth :subpulse
sleep 0.25
play 72
play scale(72, :major).choose
end
live_loop :c do
#sync :a
use_synth :fm
play 48, release: 0.3
sleep 0.25
end
live_loop :d do
sync :a if one_in 9
sample :bd_gas, amp: 2
sleep [0.25, 0.33, 0.5].choose
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment