Hello. My first post here, so apologies if I put it in the wrong place…
I want to take a crack at getting an ipad to mimic a grid. This topic comes up periodically, but I didn’t find that anybody succeeded. The tutorials file osc.lua got me halfway there! It connects with touchosc, and I parsed the string from a multitouch grid into grid coordinates. Now for the slightly harder part - I need to be able to send strings to the ipad. In puredata you just connect to a port and use netsend and netreceive. I have found lua examples that look promising, but they give errors - I don’t think these packages are pre-installed?
string ="/led11/1"
cl=net.createConnection(net.TCP, 0)
cl:connect(10111,“192.168.1.115”)
cl:send(string)
I think that simply connecting to a port and sending/receiving OSC messages should be possible - I can’t find out how this is done with the norns commands
function connect()
osc.event = on_osc_event
end
function on_osc_event(path, args, from)
Anyway - I don’t speak lua and am a physicist, not a coder, so this should come across as uninformed/novice. But any help would be much appreciated!
-Gerald