set :bpm, 127
live_loop :metro do
use_bpm get[:bpm]
sleep 4
end
with_fx :reverb, room: 0.2 do
live_loop :bass_2, sync: :control do
tick
use_random_seed 2077
use_bpm get[:bpm]
##| stop
cp = get[:cp]
sc = get[:sc]
n2 = [5,0,0,7, 3,0,0,1, 0,5,0,1, 0,0,0,1].look
notes = scale(cp, sc).shuffle.look
notes2 = scale(cp, sc).shuffle.look
notes3 = scale(cp, sc)[n2]
num = rrand_i(0, 64)
num2 = rrand_i(0,64)
with_fx :eq, high: -0.5, low_shelf: 0.6, high_shelf: 0 do
if spread(25, 32).rotate(num).look
with_fx :lpf, cutoff: 60 do
synth :tb303,
note: notes3 - 12,
res: (range 0, 0.9, 0.1).mirror.look,
cutoff: (range 40, 120, 1).mirror.look,
pan: (range -1, 1, 0.01).look,
wave: 0,
amp: 1, amp_slide: 16,
release: 0.4
end
end
end
sleep 0.4
##| stop
end
end
can someone help me understand why i am getting an error here