Last active
August 29, 2015 14:14
-
-
Save nicoder/1318d35f1aa2f8f71e2e to your computer and use it in GitHub Desktop.
20150204 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
use_synth :tb303 | |
live_loop :acc do | |
14.times do | |
play_pattern_timed [50, 55], [0.25] | |
end | |
4.times do | |
play_pattern_timed [50, 54], [0.25] | |
end | |
end | |
live_loop :bass do | |
use_synth :fm | |
14.times do | |
play_pattern_timed [43, 43, 55], [0.125, 0.125, 0.25], release: 0.12 | |
end | |
4.times do | |
play_pattern_timed [42, 42, 54], [0.125, 0.125, 0.25], release: 0.12 | |
end | |
end | |
live_loop :mel do | |
with_fx :wobble, phase: 0.25, mix: 0.5 do | |
play_pattern_timed [50, 55, 59], [0.75, 0.25, 0.75] | |
play_pattern_timed [50, 60, 59, 50], [0.25, 0.5, 0.25, 1] | |
play_pattern_timed [55, 60, 59, 50], [0.25, 0.5, 0.25, 1] | |
play_pattern_timed [59, 59, 57], [0.25, 1, 2] | |
end | |
end | |
live_loop :perc do | |
#sync :acc | |
with_fx :distortion do | |
sample :bd_tek, amp: 2, pan: rrand(-0.1, 0.1) | |
end | |
sleep 0.25 | |
with_fx :echo, phase: 0.125 do | |
sample :drum_cymbal_closed, rate: rrand(0.9, 1.1), amp: rrand(0.9, 1.1) | |
end | |
sleep 0.25 | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment