Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created February 6, 2015 05:17
Show Gist options
  • Save nicoder/b230e307b91fd2bcfd64 to your computer and use it in GitHub Desktop.
Save nicoder/b230e307b91fd2bcfd64 to your computer and use it in GitHub Desktop.
20150206 sonic pi
live_loop :idunno do
with_fx :echo do
with_fx :slicer do
with_fx :distortion do
play 60, release: 0.5
play 36, amp: 2, release: 0.5
end
end
end
sleep 1
end
live_loop :istilldunno do
# sync :idunno
use_synth :fm
with_fx :echo do
play [48, 64, 60].choose, release: 0.1, cutoff: rrand(90, 120)
end
sleep 0.125
end
live_loop :kik do
#sync :idunno
with_fx :echo, mix: 0.2 do
sample :drum_bass_hard, rate: 1
end
sample :drum_bass_hard, rate: -1
sleep 1
end
live_loop :bass do
#sync :idunno
use_synth :fm
n = 36
play [n, n, n, n + 12].choose, amp: 3, release: 0.1
sleep 0.25
end
sample :ambi_haunted_hum, rate: 2.55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment