Hey guys,
i had some sleepless nights to learn sonic pi, but i kind of hit a wall here.
I am pretty sure its the last step for my idea to become reality.
I build a sample slicer, a bit different from the instructions but it works like a charm.
the only Problem i have is, i can´t control the with_fx because it would alter the sleep time.
That´s where i am actually stuck:
a = (ring 0.5, 0.5, 0.9, 0).tick #sequencer
b = (ring 0.6, 0.2, 1, 0.2).tick
define :sampleslicer do
live_loop :möp do
sample "C:/xxx.wav" , start: a, finish: b, rate: 0.9, amp: 5
sleep sample_duration "C:/xxxwav", start: a, finish: b
end
end
live_loop :lol1 do
with_fx :slicer, phase: 0.125, pulse_width: 0.8 do |e|
sampleslicer
sleep 1
control e, phase: 0.125, pulse_width: 0.8
sleep 1
control e, phase: 0.125, pulse_width: 0.1
sleep 1
control e, phase: 0.2, pulse_width: 0.5
sleep 1
end
end
So how do i use and control for example the with_fx :slicer on that?
and the fx should repeat itself.
i tried so much and nothing worked except defining the sample slicer and then using the defined function with_fx, but it doesnt repeat, its stuck at the last step, for example phase: 0.2, pulse_width: 0.5 in this case.
pleeeease help me i neeeed that to work
THANKS GUYS <3 and aaron if u solve that for me i will donate for ya^^#