Hello,
I have been learning Touch designer recently and have come unstuck with some scripting.
I am trying to send and OSC string out with parameters from a table.
I have been successful in getting the data to send to an address, however I am struggling to change the oscpath with a value from a table,
This code works
def onTableChange(dat):
oscpath = '/y'
oscstring = op('select2').cell(0,0)
op ('oscout1').sendOSC(oscpath, [oscstring])
return
`
However could the oscpath element be manipulated in a similar way? but the osc path needs to be preceed with a ‘/’ is there a way to put this in the oscpath =
def onTableChange(dat):
oscpath = 'op('select2').cell(0,0)
oscstring = op('select1').cell(0,0)
op ('oscout1').sendOSC(oscpath, [oscstring])
return
Hope this makes sense,
Thanks