gen~ param, data and codebox
Hello everyone,
it's my first time using Gen~ and I might have a problem!
I can not understand if the "param" and "data" are shared between the main Gen~ patch and the each codebox.
First, I create an object [data dataName 50 5] in the main patch. When I type inside a codebox something like:
a = peek(dataName, i, 0);
it creates an error saying "variable voice is not defined"
I am sure I am missing something...
Why is there this error ?
Thank you in advance,
Nikolas
i would love to understand it too :/
well, as i understand, you have to also declare params, data and buffers, inside the codebox. It creates an alias to the param, data or buffer created outside the codebox...