*solved* How to tap a signal from a genexpr function (like you would with visual patching)?
I'm brand new to genexpr and text-coding in general, this is mostly just an experiment to see how much I can figure it out.
I'm adapting a slew limiter (to use as an envelope) from a visual patch into a function in codebox. I specifically want to use it as a function, and to input it into other functions to change the shape of the slopes, etc. (which are also in the patch below). I have 3 versions, one visual, one codebox, and the last is my attempt to make a function out of the codebox code.
The visual patch takes the "done" stage by patching it to an outlet, and the first codebox does the same thing by "out2 = done;". Basically I'm just wondering how to do the same thing, but tapping it from within the function. I've got the envelope itself working.
I've spent the last 2 hours trying to figure it out and looking around online lol.
edit: Only took me all day to figure out I just needed list my outs
return envelope, done;
out1, out2 = env(gate, up, down);
🤦♂️