TxOSC : OSC for Twisted in Python

Project Type: 
Programming Language Library

Open Sound Control (OSC) protocol for Twisted

This library implements OSC version 1.1 over both UDP and TCP for the Twisted Python framework.

It supports listening to a multicast group. Twisted is an event-based framework for internet applications which works on Python 2.3 through 2.6.

Note that there could be a non-Twisted implementation derived from this code, since the main txosc/osc.py file is not Twisted-specific. (and it has less bugs and more tests and features than the OSC.py and simpleosc.py modules found everywhere on the Web) It's only the sender and receiver classes that are implemented with the tools provided by Twisted. The developers of txosc are open for some Python developer to help with the non-Twisted part.

Installing

  • Get it from PyPI: http://pypi.python.org/pypi/txosc
  • Use the Ubuntu package (soon in Debian unstable): https://launchpad.net/~sat-metalab/+archive/metalab/+packages
  • Get the tarball: http://bitbucket.org/arjan/txosc/downloads

Authors

Arjan Scherpenisse and Alexandre Quessy.

Transport Type: 
UDP
TCP
None / Transport Independent
Platform: 
Any / Platform Independent
Features: 
Packet Parsing (Client)
Packet Construction (Server)
Bundle Support
Timetag Support
Wildcard Matching Support
Bundle Support: 
Reads Bundles
Creates Bundles
Supports Nested Bundles
Timetag Support: 
Generates "IMMEDATE" timestamp
Type Support: 
i: int32
b: blob
s: string
f: float32
t: timetag
d: double precision float
c: char
r: RGBA color (char*4)
m: MIDI message (char*4)
T: true
F: false
N: null
I: infinitum
Syndicate content