Hi, I’m trying to deal the “with_fx :record” function.
Everytime I do a re-Run the recorded sample seems to be deleted. Without a re-Run the live_loop :audio1 is playing as expected.
Maybe I’m doing something wrong?
Thank you
rec1 = buffer[:rec1, 8]
rec2 = buffer[:rec2, 8]
rec3 = buffer[:rec3, 8]
aufnahme = 1
wohin = rec1
live_loop :aufnahme do
if aufnahme == 1
4.times do
sample :perc_snap
sleep 1
end
with_fx :record, buffer: wohin do
live_audio :chrigu, amp: 1, input: 1
sleep 8
end
live_audio :chrigu, :stop
aufnahme = 0
end
sleep 8
end
live_loop :audio1 do
sample wohin, amp: 3
sleep 8
end