Skip to content

Instantly share code, notes, and snippets.

@lisabaut
Created June 4, 2018 19:43
Show Gist options
  • Save lisabaut/21c26af924015be16994aba84cb5555d to your computer and use it in GitHub Desktop.
Save lisabaut/21c26af924015be16994aba84cb5555d to your computer and use it in GitHub Desktop.
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
live_loop :hh do
sample :drum_cymbal_closed
sleep 0.25
end
live_loop :crash do
sample :drum_cymbal_open, amp: 1
sleep 4
end
live_loop :loopy do
sample :loop_amen_full, beat_stretch: 8
sleep 8
end
live_loop :synth do
with_fx :reverb do
use_synth :saw
play chord(:db4, :minor), amp: 0.4
sleep 1.75
play chord(:db4, :minor), amp: 0.4
sleep 0.5
play chord(:db4, :minor), amp: 0.4
sleep 1.75
play chord(:b3, :minor), amp: 0.4
sleep 1.75
play chord(:b3, :minor), amp: 0.4
sleep 0.5
play chord(:b3, :minor), amp: 0.4
sleep 1.75
end
end
live_loop :melody do
with_fx :gverb do
with_fx :wobble do
use_synth :chiplead
use_random_seed 1200 # change this number
4.times do
play (scale :db4, :major).choose, amp: 0.1
sleep 0.5
end
end
end
end
live_loop :melody do
# sync :bass
notes = (scale :db4, :minor_pentatonic, num_octaves: 3).shuffle
with_fx :reverb, room: 1 do
n = synth :dpulse, cutoff: 130, release: 8, note: notes.tick, cutoff_slide: 1.5, amp: 0.45
control n, cutoff: 70
32.times do
sleep 0.125
control n, note: notes.choose
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment