Skip to content

Instantly share code, notes, and snippets.

@nicoder
Last active April 21, 2016 15:24
Show Gist options
  • Save nicoder/3599bf5b94e8bf5eddde8fac98b49aaf to your computer and use it in GitHub Desktop.
Save nicoder/3599bf5b94e8bf5eddde8fac98b49aaf to your computer and use it in GitHub Desktop.
# needs v2.10
sample :drum_roll, finish: 0.5
3.times do
sample :drum_bass_hard
sleep 1
end
with_fx :reverb do
sample :drum_snare_hard
sample :drum_splash_hard
end
sleep 1
live_loop :a do
s = :loop_safari
sample s
sleep sample_duration s
end
live_loop :b do
#sync :a
play scale(60, :major_pentatonic, num_octaves: 2).shuffle.tick, release: 0.15, amp: 0.5 unless one_in 4
sleep 0.125
end
live_loop :c do
sync :a
use_synth :dsaw
d = sample_duration(:loop_safari)
3.times do
play octs(60, 2).shuffle.tick, release: d, cutoff: 60, cutoff_slide: d, amp: 0.25
sleep 0.5
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment