I’ve been looking at some code that Tonny posted over in this thread:
The cleaned up version (I knocked out a couple synths and changed some
release times, is all) is pretty cool…
Eli…
live_loop :melody do
with_fx [:compressor, :echo, :reverb].choose, mix: rrand(0.3,0.6) do
use_synth [:hollow, :dark_ambience, :blade].choose
r = [ 1,2].choose
play (chord :c, :minor).choose, attack: -0.25+r, release: r, amp: rrand(0.2, 0.8)
sleep r+0.25
end
end
live_loop :keys do
use_synth :blade
with_fx :ixi_techno, mix: rrand(0.2, 0.6) do
play chord(:c, :minor), amp: rrand(0.2,0.6)
sleep 0.5
end
end
live_loop :bass do
with_fx [:compressor, :echo, :reverb].choose, mix: rrand(0.4,0.7) do
use_synth [:hollow].choose
n = (chord :c2, :minor).tick
7.times do
play n, amp: rrand(0.8, 3.6)
sleep [0.5, 1].choose
end
play n
sleep 0.5
play (chord :c2, :minor).tick, amp: rrand(0.8, 1.8)
sleep 0.5
end
end