I’ve been getting deeper into Ruby thanks to Sonic Pi. I’ve been exploring the use of Hashes & keeping “lists of properties” for specific ch
Preformatted textannels (to be controlled by my Korg nanoKontrol2 midi input. )
I had an idea to “assign” certain “with_fx” + params to specific channels.
my problem is, I don’t know how to iterate through a list of potential FX, THEN play the sample “inside” a nested load of FX…
I had tried a repeat loop, but, the way I wrote it, means that when I set up a new “with_fx” it plays “the channel sample” each time. So, if a channel has 3 FX, it makes 3 “with_fx” containers, but plays the sample “inside” each time. (which lead to lags & FX not quite being applied as they should sound. )
My thought : can you create a “dynamic method” that can “compile” a bunch of FX, then play the sample after all the “with_fx” have been defined?
is it possible?