Live-Coding

oh when the saints (sonic pi)

Very simple adaptation of Oh when the saints using live_loops


use_bpm 170

live_loop :intro do
# stop
with_synth :blade do
play_pattern_timed [:r, 60, 64, 65, 67], [0.5, 0.5, 0.5, 0.5, 2]
end
end

live_loop :part1 do
stop
with_synth :blade do
play_pattern_timed [:r, 60, 64, 65, 67, 64, 60, 64, 62],
[0.5, 0.5, 0.5, 0.5, 1, 1, 1, 1, 2]
end
end

live_loop :part2 do
stop
with_synth :blade do
play_pattern_timed [:r , 64, 64, 62, 60, 60, 64, 67, 67, 67, 65],
[0.5, 0.5, 0.5, 0.5, 1, 1, 1, 0.5, 0.5, 0.5, 1.5]
end
end
live_loop :part3 do
stop
with_synth :blade do
play_pattern_timed [:r, 64, 65, 67, 64, 62, 62, 60],
[0.5, 0.5, 0.5, 1, 1, 1, 1, 2 ]
end
end

Leave a Reply

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