Created
February 15, 2015 09:00
-
-
Save nicoder/0d5fd9bc6c3c25e2bcd0 to your computer and use it in GitHub Desktop.
20150215 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_bpm 120 | |
live_loop :high do | |
with_fx :echo, phase: 0.2, decay: 5 do | |
with_fx :reverb, mix: 0.2 do | |
with_fx :distortion, distort: 0.95 do | |
play_pattern_timed [72, 70, 69, 70, 69, 67, 69, 65], [0.5], release: 0.2 | |
4.times do | |
play_pattern_timed [67, 65], [0.5], release: 0.1 | |
end | |
end | |
end | |
end | |
end | |
live_loop :low do | |
# sync :high | |
sleep 0.25 | |
with_fx :echo, phase: 0.4, decay: 5 do | |
with_fx :reverb, mix: 0.2 do | |
with_fx :distortion, distort: 0.95 do | |
play 60, release: 0.1 | |
end | |
end | |
end | |
sleep 0.25 | |
end | |
live_loop :bass do | |
# sync :high | |
use_synth :fm | |
with_fx :distortion, distort: 0.3 do | |
play :c3, amp: 3, release: 0.3 | |
end | |
sleep 0.5 | |
end | |
live_loop :kik do | |
#sync :high | |
sample :drum_bass_hard, amp: rrand(1.5, 2.5) | |
sleep 0.25 | |
sample :drum_bass_hard, amp: rrand(1.5, 2.5) if one_in(4) | |
sleep 0.75 | |
end | |
live_loop :snare2 do | |
#sync :high | |
sleep 1 | |
with_fx :reverb, mix: 0.3, room: 0.3, amp: 3, pre_amp: 1.5 do | |
sample :drum_snare_hard, amp: rrand(1.5, 2.5) | |
end | |
sleep 1 | |
end | |
live_loop :hihat do | |
#sync :kik | |
with_fx :echo, decay: 2, phase: 0.5 do | |
sample :drum_cymbal_closed, rate: rrand(0.9, 1.1), amp: rrand(0.9, 1.1) + 4 | |
end | |
sleep 0.25 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment