steveJ0
Joined: Oct 28, 2006 Posts: 5 Location: University Park
|
Posted: Wed Mar 07, 2007 12:10 pm Post subject:
NetOut/NetIn examples? Subject description: I am looking for more information on network documentation |
 |
|
So i'm taking a class here at PSU, and I'm studying ChucK while the other guy in the class is doing SuperCollider. Today my professor used max and supercollider on separate computers and got them to talk to each other. It sparked my interest, and I was wondering if anyone has done anything using the NetOut-NetIn stuff for ChucK? Are there any examples out there for this? I am assuming that the port and name arguments are arbitrary, but packet size is boggling me a little. I will test some trys and post them here if I get a chance, but it would be good to see what someone else has done. Thanks! |
|
ge

Joined: Aug 13, 2006 Posts: 108 Location: Palo Alto, CA
|
Posted: Wed Mar 07, 2007 10:15 pm Post subject:
Re: NetOut/NetIn examples? Subject description: I am looking for more information on network documentation |
 |
|
steveJ0 wrote: | So i'm taking a class here at PSU, and I'm studying ChucK while the other guy in the class is doing SuperCollider. Today my professor used max and supercollider on separate computers and got them to talk to each other. It sparked my interest, and I was wondering if anyone has done anything using the NetOut-NetIn stuff for ChucK? Are there any examples out there for this? I am assuming that the port and name arguments are arbitrary, but packet size is boggling me a little. I will test some trys and post them here if I get a chance, but it would be good to see what someone else has done. Thanks! |
It depends on what type of data you want to send between computers. If you want to send control-type messages, then the easiest way perhaps is via OpenSoundControl. This is possibly what your professor was using to get Max and SC to talk to each other. The chuck documentation on OSC can be found here:
http://chuck.cs.princeton.edu/doc/language/event.html#osc
More useful, however, is probably a fully client server example:
http://chuck.cs.princeton.edu/doc/examples/osc/s.ck (sender)
http://chuck.cs.princeton.edu/doc/examples/osc/r.ck (receiver)
If on the other hand, you want to send chunks of audio data in real-time, then NetIn and NetOut might be the thing, except both of them has been deprecated I think due to the desire for a better networking scheme.
I hope this helps!!
Ge! |
|