Created
March 4, 2015 21:40
-
-
Save nicoder/d1536feae5f36583f3ec to your computer and use it in GitHub Desktop.
20150304 sonic pi
This file contains 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
with_fx :reverb do | |
live_loop :main do | |
use_synth :fm | |
p = rrand(-0.2, 0.2) | |
play 36, release: 0.1, pan: -p | |
play 48, release: 0.15, pan: p | |
play 60, release: 0.15, pan: -p | |
play 67, release: 0.15, pan: p | |
sleep 0.125 | |
end | |
end | |
live_loop :beat do | |
sample :bd_ada, amp: 3, pan: rrand(-0.15, -0.05) unless one_in 24 | |
sleep 0.5 | |
end | |
live_loop :beat2 do | |
sync :beat | |
sleep 0.5 | |
with_fx :bitcrusher, bits: 8 do | |
sample :elec_blip, rate: 2, amp: 1, pan: 0.05 | |
end | |
sleep 0.5 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment