electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » ChucK programming language
NetOut/NetIn examples?
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [2 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
steveJ0



Joined: Oct 28, 2006
Posts: 5
Location: University Park

PostPosted: Wed Mar 07, 2007 12:10 pm    Post subject: NetOut/NetIn examples?
Subject description: I am looking for more information on network documentation
Reply with quote  Mark this post and the followings unread

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!
Back to top
View user's profile Send private message
ge



Joined: Aug 13, 2006
Posts: 108
Location: Palo Alto, CA

PostPosted: Wed Mar 07, 2007 10:15 pm    Post subject: Re: NetOut/NetIn examples?
Subject description: I am looking for more information on network documentation
Reply with quote  Mark this post and the followings unread

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!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [2 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » ChucK programming language
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use