Skip to content

Instantly share code, notes, and snippets.

@rubentr
Last active June 23, 2016 16:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save rubentr/4263dbf0271dc6ac882d199e584177c5 to your computer and use it in GitHub Desktop.
Sonic Pi Songs
use_debug false
r=[1,2,4]
r2=[1.2,2.5,3.4].reverse
r3=[0.5,1.8,4.4]
use_random_seed 99929292
live_loop :fondo do
with_fx :reverb do
sample :ambi_swoosh, amp: 1, pan: -1, rate: rrand(0.8, 1.2), cutoff: rrand(90,110)
sample :ambi_soft_buzz, amp: 1, pan: -1, rate: rrand(0.98,1.4), cutoff: rrand(95,120)
sample :ambi_haunted_hum, amp: 1, pan: 1, rate: rrand(0.97,1.3), cutoff: rrand(95,120)
sample :ambi_dark_woosh, amp: 1, rate: rrand(1.1,1.4), cutoff: rrand(95,120)
sleep r.choose
end
end
live_loop :ruid do
with_fx :reverb, room: 1 do
with_fx :echo do
#sample :elec_hollow_kick, amp: 1.2, rate: [0.75, 0.8, 0.9, 1.1].choose
sleep r2.choose
end
end
end
live_loop :ruide do
with_fx :echo do
#sample :elec_blup, rate: [0.75, 0.8, 0.9, 1.1].choose, pan: [-1,1].choose
sleep r2.choose
end
end
live_loop :ruidi do
with_fx :echo do
#density 2 do
#sample :elec_blip, amp: 0.3, rate: [0.45, 0.6, 0.7, 0.8].choose, cutoff: rrand(90,105)
sleep 9
#end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment