Skip to content

Instantly share code, notes, and snippets.

@nicoder
Last active March 14, 2020 06:29
Show Gist options
  • Save nicoder/2d6b972f5b60ad533c1de40d3b71ea26 to your computer and use it in GitHub Desktop.
Save nicoder/2d6b972f5b60ad533c1de40d3b71ea26 to your computer and use it in GitHub Desktop.
use_bpm 180
live_loop :a do
sample :tabla_ke1
sleep 1
end
live_loop :b do
sync :a
sleep 0.5
sample :drum_cymbal_closed unless one_in 4
end
notes = scale(60 - 12, :major, num_scales: 2).shuffle.stretch(3)
live_loop :c do
sync :a
use_synth :tb303
use_synth_defaults cutoff: line(30, 120, steps: 9).tick, release: 0.2
play 60, pan: -0.3
play notes.look, pan: 0.3
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment