Skip to content

Instantly share code, notes, and snippets.

@L1fescape
Created January 27, 2016 00:30
Show Gist options
  • Save L1fescape/14ee00f30730a2f3efee to your computer and use it in GitHub Desktop.
Save L1fescape/14ee00f30730a2f3efee to your computer and use it in GitHub Desktop.
Sonic Pi Experiments
# drums
live_loop :kick do
sample :bd_haus, rate: 1
sleep 0.5
end
live_loop :snare do
sleep 0.5
sample :sn_dub, rate: 1
sleep 0.5
end
live_loop :hat do
sleep 0.25
sample :elec_twip, rate: 1
end
live_loop :clap do
sleep 0.75
sample :elec_hi_snare, rate: 2
end
# synths
use_synth :tb303
with_fx :reverb do
with_fx(:echo, delay: 0.5, decay: 4) do
live_loop :echoes do
play chord([:b1, :b3, :e1, :e2].choose, :minor)
sleep 0.5
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment