How to acces external "param" inside codebox (gen~)
Hi everyone,
Is it possible to get a "param" value (from outside gen~) as a variable in codeboxe?
The exemple attached doesn't work.
Thanks
paramProblem.maxpat
Max Patch
Hi halflifebe,
Well, it works, but you have to connect the [codebox] outlet to the [out 1]
Cheers,
Nick
I have spent hours debugging patches only to discover the same problem. It would be nice to have a "codebox outlet 0 ignored" warning to go along with "codebox inlet 0 ignored".. as well as similar warnings in jit.gen when something other than a sampler is connected.
I agree there should be a warning, but I find it helpful to check the "code" console.
If a chunk of code is not present in the code console (and there are no errors...), most of the time it is just a missing connection to the gen outlets!