Forums > Gen

How to acces external "param" inside codebox (gen~)

Aug 31 2016 | 7:36 am

Hi everyone,

Is it possible to get a "param" value (from outside gen~) as a variable in codeboxe?
The exemple attached doesn’t work.


Aug 31 2016 | 8:35 am

Hi halflifebe,

Well, it works, but you have to connect the [codebox] outlet to the [out 1]


Aug 31 2016 | 3:08 pm

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.

Aug 31 2016 | 11:27 pm

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!

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > Gen