Last active
December 17, 2015 01:33
-
-
Save benkolera/1313f284862533e77bfc to your computer and use it in GitHub Desktop.
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
# Sonic Pi track | |
# http://sonic-pi.net | |
our_chord = chord(:a5) | |
base = :a5 | |
live_loop :melody do | |
with_fx :slicer do | |
35.times do | |
play our_chord.choose, attack: 0, release: 0.3, pan: rrand(-1,1), amp: 0.4 | |
sleep 0.2 | |
end | |
end | |
4.times do | |
play base, attack: 0, release: 0.3, amp: 0.2 | |
sleep 0.25 | |
end | |
end | |
live_loop :chord do | |
sync :melody | |
use_synth :prophet | |
2.times do | |
with_fx :krush do | |
play_chord our_chord, amp: 0.4, attack: 0, release: 1.5 | |
end | |
sleep 4 | |
end | |
end | |
live_loop :bass do | |
sync :melody | |
2.times do | |
sample :bass_voxy_c, amp: 0.2 | |
sleep 4 | |
end | |
end | |
live_loop :drums do | |
sync :melody | |
7.times do | |
sample :drum_bass_soft | |
sleep 1 | |
sample :drum_cymbal_closed, amp: 0.5 | |
sleep 1 | |
end | |
sample :drum_bass_soft | |
sleep 0.25 | |
sample :drum_bass_hard | |
sleep 0.75 | |
sample :drum_cymbal_open, amp: 0.75 | |
sleep 1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment