I’ve been tryinig to make a TouchOSC interface with easy access for disabled people to enjoy playing music. My problem is that trying to change the synth used in the play live_loop with a push button, it takes two activations of the play live_loop for the sound to change. Same thing when moved all the attributes for the play from end of each string to use_synth_defaults, they too won’t change until the second time the loop is activated.
Is this because of the way live_loops work? Is there any way to change the behaviour so that the changes would be immediate?
Here’s an example:
co = 10 use_synth :blade live_loop :cutoff_chg do co_sync = sync "/osc/3/rotary3" co = co_sync end live_loop :play do use_synth_defaults cutoff: co note, velocity = sync "/midi/*/*/*/note_on" play_chord [(60),(64)] end