Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created February 10, 2015 20:01
Show Gist options
  • Save nicoder/1428d506bea19e7ce0a9 to your computer and use it in GitHub Desktop.
Save nicoder/1428d506bea19e7ce0a9 to your computer and use it in GitHub Desktop.
20150110 sonic pi
live_loop :main do
with_fx :echo, phase: 0.33 do
with_fx :bitcrusher do
play scale(50, :major).choose, release: 0.2
end
end
sleep 0.5
end
live_loop :second do
# sync :main
use_synth :singer
play 50, release: 2, amp: 4 if one_in 3
play 62, release: 2, amp: 4 if one_in 4
play 74, release: 2, amp: 4 if one_in 5
sleep 2
end
live_loop :third do
#sync :main
sample :bd_haus, pan: rrand(-0.5, 0.5)
with_fx :echo, phase: 0.166 do
sample :bass_hit_c
end
sleep 0.5
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment