You probably need something in between that parses your UDP packets
and builds usable OSC messages out of it. The OSC message could then
contain the three values for position, gaze, and pupil diameter. Once
having that, the rest is easy. SuperCollider responds to these
incoming messages and uses the values for whatever you like.
Am 07.03.2008 um 05:48 schrieb Denis Fitzpatrick:
> Can I use Supercollider to read and parse a binary stream of data sent
> via UDP?
>
>
> This stream would come from a device (Facelab4 :
>
http://www.seeingmachines.com/) giving head position, gaze, and pupil
> diameter in real time, and would be used to, well, synthesize sound,
> which would possibly be very cool. I see that Supercollider uses UDP
> or
> TCP to communicate between its client and server, but don’t know that
> that implies the task I just described would necessarily be doable or
> easy. Any thoughts or code snippets would be much appreciated.
>
>
> Denis Fitzpatrick
>
> _______________________________________________
> sc-users mailing list
>
sc-users@...
>
http://lists.create.ucsb.edu/mailman/listinfo/sc-users_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users