| Newsgroups |
gmane.comp.audio.supercollider.user |
| Message-ID |
<[email protected]> |
For receiving OSC you want to use OSCFunc or OSCdef.
For sending OSC, you create a NetAddr with the ip and port of the Android app, so for me on Lemur:
n = NetAddr("127.0.0.1", 8000); //I am using MidiMux, so the ip is local
then you do:
n.sendMsg(‘/Fader/x’, 1.0.rand);
to send a random value to the object that receives ‘/Fader/x’
Or are you asking something else?
Sam
> On Mar 26, 2021, at 10:43 PM, [email protected] wrote:
>
> Dear all,
>
> I'm currently working on an Android based OSC controller for which I'm
> also implementing OSC over TCP/IP. Now I'd like to test this with
> SuperCollider (receiving and sending OSC).
>
> However documentation on how to use NetAddr with TCP/IP is a bit sparse.
> It only mentions 'connect', 'disconnect', 'tryConnectTCP' resp.
> 'tryDisconnectTCP' but doesn't provide much information on the
> underlying mechanism.
>
> Can anyone provide an example on how to implement a NetAddr using
> TCP/IP? I'm sorry if this is a bit of a dumb question.
>
> Thanks very much!
>
> Stefan
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/