Skip to content

Instantly share code, notes, and snippets.

View benjmin-r's full-sized avatar

Benjamin Reitzammer benjmin-r

View GitHub Profile
live_loop :kick do
sample :bd_haus
sleep 0.5
end
live_loop :snare do
sleep 0.5
sample :sn_dolf
sleep 0.5
end
# inspired from https://www.youtube.com/watch?v=QGLPinGZhfg
live_loop :kick do
sample :drum_heavy_kick
sleep 0.5
end
live_loop :snare, sync: :kick do
sleep 0.5
sample :drum_snare_hard
# See https://www.youtube.com/watch?v=gm11KxJyYCA for a video example
use_bpm 120
# 8-beat loop to synchronize live_loops and
# to know, when recording will start which is:
# after every completed 8-beats, see :drums for
# knowing, when 8 beats are over ...
live_loop :metro do
sleep 8