Skip to content

Instantly share code, notes, and snippets.

@kniknoo
Created September 8, 2017 23:08
Show Gist options
  • Save kniknoo/ad313ed6f0a017e324e31d08625c4b87 to your computer and use it in GitHub Desktop.
Save kniknoo/ad313ed6f0a017e324e31d08625c4b87 to your computer and use it in GitHub Desktop.
live_loop :kick do
use_sample_defaults amp: 0.7
cue :arpeg
sample :bd_klub
sleep 0.75
sample :bd_klub
sleep 0.25
sample :bd_klub
sleep 1
end
live_loop :snare do
sleep 0.5
sample :sn_dub
sleep 0.5
end
with_fx :echo, phase: 0.375 do
with_fx :hpf, cutoff: 110 do
live_loop :hihat do
use_sample_defaults amp: 0.7
synth :noise, sustain: 0, release: 0.07, amp: 1.2
sleep [0.125, 0.25, 0.5, 1].choose
end
end
live_loop :arp do
use_synth :dtri
use_synth_defaults note_slide: 0.02, amp: 0.3
sync :arpeg
notes = (scale, :f4, :minor_pentatonic)
play notes.tick, release: 6
sleep 0.125
31.times do
control note: notes.choose
sleep [0.125, 0.25].choose
end
sleep 2
end
end
with_fx :wobble, phase: 1 do
live_loop :bass do
use_synth :chipbass
nlen = [0.375, 0.75, 1.5].choose
play (scale, :f1, :minor_pentatonic).choose, release: nlen
sleep nlen
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment