I guys, I wonder if it is possible to modified fx while live performance. I know I can make it happen by just putting with_fx inside of live_loop, but it’s very unwise to put fx into loops, so I tried with in_thread, but it doesn’t work. Is there any other possible solutions?
in_thread(name: :fxed) do
with_fx :reverb do
live_loop :mysynth do
use_real_time
note, velocity = sync "/midi:nanokey2_keyboard:1/note_on"
#synth :dark_ambience, note: note, amp: velocity/127 # crucial mistake
synth :dpulse, note: note, release: 1, amp: velocity / 127.0
end
end
end
Not necessarily - you just need to know how and when to do this safely. The tutorial has some information on this, but there are probably other recommendations if you search around, or need to ask
Anyway, the below thread may be of interest:
Not so much ‘bad’ as needing more consideration - if each nested fx has enough time to complete before the current loop iteration is over, (or only overlaps a small amount) then there’s no issue
In my library YummyFillings.rb, I’ve built a general-purpose lfo method, which can be used to manipulate fx, or synths or samples, and manages its own threads. Feel free to use it.