Created
February 14, 2015 19:22
-
-
Save nicoder/024b02376a1bc2deb817 to your computer and use it in GitHub Desktop.
20150214 sonic pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_synth :hollow | |
live_loop :main do | |
use_synth :hollow | |
play 64, attack: 2, release: 2, pan: rrand(-0.5, 0.5) | |
sleep 3 | |
end | |
live_loop :sec do | |
3.times do | |
play 36 | |
sleep 1 | |
end | |
3.times do | |
play 40 | |
sleep 1 | |
end | |
end | |
live_loop :third do | |
play chord(48, :major), release: 3 | |
sleep 3 | |
play chord(52, :major), release: 3 | |
sleep 3 | |
end | |
live_loop :beat do | |
with_fx :wobble do | |
with_fx :echo, decay: 5 do | |
sample :bd_zum, rate: rrand(0.5, 1.5), amp: rrand(0.3, 0.5) | |
end | |
end | |
sleep 0.5 | |
end | |
live_loop :kik do | |
with_fx [:distortion].choose, distort: rrand(0.1, 0.5) do | |
sample :bd_haus | |
end | |
sleep 0.5 | |
end | |
live_loop :hi do | |
with_fx :reverb do | |
sample :drum_cymbal_closed, amp: 0.4, rate: rrand(0.5, 1.5) unless one_in(12) | |
end | |
sleep 0.125 | |
end | |
with_fx :echo, decay: 5 do | |
# play 76 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment