Hi,
at startup i need to populate an array of strings via
receive(xxx,['xx','yy'..]
and
labels = OSC{xxx,'',true}
(in a matrix prop of buttons)
updating that works fine, but when doing this in the init function it does not work.
how can i update the labels (and another widget) in the INIT function ?
receive ('/EDIT','ID',{"label" : ["222","333"]})
did not work (no preargs).
Thanks!
Edit:
found it: it does work with normal osc listners in the init function, but you have to call it in:
app.on('sessionOpened',(data,client) => {
functionForInit(xxx,yyy);
}