node.js - NodeJS OSC receive and distribution to local network -
hi have project includes receiving real time data remote computer in osc format, want able communicate or distribute osc data other computers logged in same network.
i looking in nodejs, express, socket.io , osc.js; not sure how should in terms of structure of communication. if not misunderstanding server concepts, need implement nodejs server receive , forward trough socket.io local network, ot sure though, data looging server or other address broadcasts osc data?
thanks
k.
to send , receive data osc server need use library far know. i'm working osc server , way found send far.
yes, you'll need use node.js server. use node-osc library host , receive messages, showing them on webpage tricks.
to send values can search libraries, know 3 ways:
- arduino - there's easy-to-use library. usefull if want put arduino board anywhere , send through internet.
- node-osc - same library use host can use send messages server, have write .js file , run in terminal instance , voilá.
- processing - processing ide visual stuff, not usefull here aparently
i have code on github here: https://github.com/georgerappel/webserver-node-osc
i wrote instructions on how use there. received messages appear on console, can see code understand happens.
i don't know how send message connected, it's bit more complicated.
Comments
Post a Comment