Skip to content

Instantly share code, notes, and snippets.

@lisabaut
Last active June 27, 2018 06:10
Show Gist options
  • Save lisabaut/6346ef69ad81c673d8bd1f849e8cd670 to your computer and use it in GitHub Desktop.
Save lisabaut/6346ef69ad81c673d8bd1f849e8cd670 to your computer and use it in GitHub Desktop.
# 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
sleep 0.5
end
live_loop :hh, sync: :kick do
sleep 0.25
sample :drum_cymbal_closed
sleep 0.25
end
live_loop :crash, sync: :kick do
sample :drum_cymbal_open, amp: 0.3
sleep 4
end
live_loop :snare_soft, sync: :kick do
sleep 3.75
sample :drum_snare_soft
sleep 0.25
end
live_loop :synth, sync: :kick do
with_fx :reverb, amp: 0.6 do
use_synth :saw
play chord(:db4, :minor)
sleep 1.75
play chord(:db4, :minor)
sleep 0.5
play chord(:db4, :minor)
sleep 1.75
play chord(:b3, :minor)
sleep 1.75
play chord(:b3, :minor)
sleep 0.5
play chord(:b3, :minor)
sleep 1.75
end
end
live_loop :bass, sync: :kick do
use_synth :blade
play :db2
sleep 1.75
play :db2
sleep 0.5
play :db2
sleep 1.75
play :b1
sleep 1.75
play :b1
sleep 0.5
play :b1
sleep 1.75
end
live_loop :melody, sync: :kick do
with_fx :slicer, mix: 0.7, phase: 0.25 do
with_fx :reverb, mix: 0.5, room: 1 do
use_synth :beep
use_random_seed 800 # change this number
4.times do
play (scale :db4, :minor).choose, amp: 0.6
sleep 0.5
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment