Last active
December 17, 2017 04:36
-
-
Save Enkerli/03d241caa4b789562e5b08d710dbaedb to your computer and use it in GitHub Desktop.
Work-in-progress: partial response to a Sonic Pi challenge about using a single sample. Not quite a full piece, yet. Haven’t really been working through “song structure”, since getting into digital musicking. But it’s still a fun little experiment. https://in-thread.sonic-pi.net/t/challenge-make-a-track-with-only-one-sonic-pi-sample/525/3
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
ting=[4,12,13,18,26,34,43,44,49,57].ring | |
doum=[6,10,20,24,41,55].ring | |
claps=[8,19,23,28,29,39,48,50,60].ring | |
snay=[33,22,8].ring | |
tomtom=[2,17,32].ring | |
tock=[3,9,40,51,53,54,59].ring | |
dwi=[7,21,56,5,38].ring | |
dwo=[11,47,25,52,27,42].ring | |
dub=[14,31,58,5,46,35].ring | |
tonton=[0,1,45,30].ring | |
three=[36,16,15,37].ring | |
live_loop :tset do | |
sample :loop_tabla, onset: 12, rate: [0.5, 0.01,0.4,0.3,0.6, 0.75].choose | |
sleep 0.6 | |
end | |
live_loop :org do | |
with_fx :echo do | |
with_fx :pitch_shift, pitch: [-7,0,-48,5,-12].choose do | |
sample :loop_tabla, onset: 52 | |
end | |
end | |
sleep 1.2 | |
end | |
live_loop :mel do | |
with_fx :gverb do | |
6.times do | |
sample :loop_tabla, onset: doum.tick, beat_stretch: [2, 1.75, 2.5, 1.5].choose | |
sleep 0.6 | |
end | |
sleep 3 | |
end | |
end | |
live_loop :three do | |
3.times do | |
sample :loop_tabla, onset: three.tick | |
sleep 0.15 | |
end | |
sleep 0.15 | |
end | |
live_loop :dwi do | |
sample :loop_tabla, onset: dwi.tick | |
sleep 1.2 | |
end | |
live_loop :ting do | |
sample :loop_tabla, onset: ting.tick | |
sleep 1.8 | |
end | |
live_loop :doum do | |
sample :loop_tabla, beat_stretch: 16, onset: doum.tick | |
sleep 2.7 | |
end | |
live_loop :dub do | |
sample :loop_tabla, onset: dub.tick | |
sleep 0.30 | |
end | |
live_loop :tonton do | |
sample :loop_tabla, onset: tonton.tick | |
sleep 0.45 | |
end | |
live_loop :snay do | |
sample :loop_tabla, onset: snay.tick | |
sleep 0.75 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment