At line 35…
use_bpm 134
t = 0.25 #general sleep value
x = 0.25 #general release value
lfo1 = lfo2 =lfo3 = ()
notes=(ring :r,:a2,:a2,:r,:r,:c2, :r, :r,:a2,:r,:a2, :a2,:r,:a2,:r, :a2,:d3,:e3,:g3,
:r,:g2,:r,:as2, :r,:r,:r,:as2, :r,:as3,:as3, :gs2,:r,:as3, :r)
releases=(ring x,x*4,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x*2,x)
sleeps=(ring t,t,t*4, t,t,t,t, t,t,t,t, t,t,t,t, t,t,t,t, t,t,t,t, t,t,t,t, t,t*2,t)
slides=(ring 1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1,)
live_loop :lfo do
lfo1 = (range 80,130,0.5).mirror.tick #for cutoff
lfo2 = (range -0.5,0.5,0.05).mirror.tick #for panning
sleep 1
end
live_loop :resonance do
lfo3 = (range 0.5,1,0.01).mirror.tick #for resonance
sleep 2
end
define :t303 do |nte,rls,slp|
puts nte.look
live_loop :player do
if nte.look == ':r'
sleep slp.look
nte.tick
end
puts nte.look
s = synth :tb303, note: nte.look
control s, note: nte.tick, note_slide: 1
sleep slp.look
end
end
live_loop :kick do
sample :bd_haus, amp: 0.75
sample :sn_dub, amp: 0.75
sleep 1
end
live_loop :tick_tester do
fred = (ring :d3) + (scale :d4, :minor, num_octaves: 2).shuffle
s = synth :blade, note: fred.look, sustain: 4, note_slide: 0.1, amp: 0.2
control s, note: fred.tick, note_slide: (line 0, 0.1, steps: 2).look
sleep (ring 1, 1, 1, 1, 0.5, 0.5, 1, 2).look
end
t303(notes, releases, sleeps ) #, slides
Eli…