Package rats :: Module osc :: Class OscClient
[hide private]
[frames] | no frames]

Class OscClient

source code

object --+
         |
        OscClient

An OSC client can send OSC messages. :param args: one or two arguments. If one, it is either the port number or url. If two, it is the host and the port. [host], [port] [addr | port]

Instance Methods [hide private]
 
__init__(self, *args)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_setup(self) source code
 
set_args(self, *args)
Changes the port|host to send to.
source code
 
send_message(self, addr, *args)
See liblo.send : Simply omit the first argument.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

send_message(self, addr, *args)

source code 

See liblo.send : Simply omit the first argument.

:param addr: OSC address such as /foo/bar Other args are arguments types and values.

You can use tuple of (type, value) Types are "i", "s", "f", etc.