Live-Coding

Sonic-Pi : Very simple version of seven nation’s Army

More advanced and clever version https://github.com/euruband/sonic-pi-examples/blob/master

# VERY SIMPLE VERSION OF Five nation’s Army

live_loop :five_army do
with_fx :reverb do
with_synth :blade do
play_pattern_timed [52, 52, 55, 52, 50, 48, 47], [0.75, 0.25, 0.375, 0.375, 0.25, 1, 1]
end
end
end

live_loop :battery do cue :ticktick
sample :drum_bass_soft
sleep 0.5
end

live_loop :cymbal do sync :ticktick
# stop
sample :drum_cymbal_closed
sleep 4
end

live_loop :battery2 do sync :ticktick
stop
sample [:drum_cymbal_open, :drum_snare_hard, :drum_splash_hard].sample
sleep 0.125
end

 

Leave a Reply

Your email address will not be published. Required fields are marked *