OscGroupClient:
Filter:
OscGroupClient/Classes (extension) | External Control > OSC

OscGroupClient
ExtensionExtension

an SC interface to Ross Bencina's OscGroups

Description

an SC interface to Ross Bencina's OscGroups, available for download from:

http://www.audiomulch.com/~rossb/code/oscgroups/

Class Methods

.program

Path to the OscGroupClient executable file

Discussion:

OscGroupClient.program_("/Path/to/OscGroupClient");

.new

Create a new client

Arguments:

serveraddress

The String with the server's name or IP address. (The lookback address may not work)

username

a unique userid

password

a password for the user. If one has not been set, then what you put here will become the password

groupname

a name that all group members agree on, like a user name it should be unique.

grouppassword

the password for the group. If one has not been set, then what you put here will become the password

serverport

optional if your server is running on an unusual port

localtoremoteport

optional

localtxport

optional

localrxport

optional

Instance Methods

.join

join the server

.addResp

add a responder for OTHER people on the server to send messages to you

Arguments:

id

The OSC tag

function

The function that gets called when you receive a message from another user. It takes the arguments, time, resp, msg;

.sendMsg

send a message to the group, not including yourself

Arguments:

... msg

The first argument must be the OSC tag. Optional additional targets can be whatever other information you would like to send

.removeResp

remove a responder

Arguments:

id

the OSC tag for the responder you would like to remove

.close

close your connection to the server and clean up.

Examples