Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#4196 enhancement closed wontfix (wontfix)

Support for the OpenSoundControl protocol

Reported by: arjan Owned by: arjan
Priority: normal Milestone:
Component: core Keywords:
Cc: Ralph Meijer, Jean-Paul Calderone, aalex Branch:
Author: arjan


From the site: "Open Sound Control (OSC) is an open, transport-independent, message-based protocol developed for communication among computers, sound synthesizers, and other multimedia devices."

A description of the inner workings of the protocol can be found at

A paper on the 1.1 version is at this location:

Change History (11)

comment:1 Changed 12 years ago by arjan

Status: newassigned

Together with Alexandre Quessy I started working on implementation of this protocol, its temporary repository is at

comment:2 Changed 12 years ago by Ralph Meijer

Cc: Ralph Meijer added

comment:3 Changed 12 years ago by Jean-Paul Calderone

Cc: Jean-Paul Calderone added

Hi arjan,

It'd be great if you could expound upon why supporting this protocol in Twisted itself would be valuable. A list of other software it allows interoperation with would be a good start.

It may be that the case isn't all that compelling, but that's not necessarily a bad thing. There are lots of Twisted-based libraries (including protocol implementations) distributed separately from Twisted. It may be that this makes sense for an OSC implementation as well.

comment:4 Changed 12 years ago by arjan

The list of apps is quite comprehensive, see Wikipedia: Amongst others, this includes major sound apps like Max/MSP, Supercollider and Ableton Live.

I would love to open up twisted to a wider audience, specifically to media artists and likewise creative-minded people. These people already know OSC, and having one dependency less to install would lower the barrier for them.

comment:5 Changed 12 years ago by aalex

Cc: aalex added

Hi all, I would say that supporting OSC is more relevant than supporting some of the protocols that are already in Twisted. (no pun intended) OSC it the de-facto standard in media arts, together with MIDI and DMX, depending on the task. Media arts programmers usually don't use something complicated like SOAP, for example, when it is only for controlling sliders of a Video Jockey application, such as Modul8. Of course, our implementation osc could be in yet an other Python module, but our code is tested, documented and is in the Twisted coding style. (otherwise, I would have preferred the pep8-style) Cheers!

comment:6 Changed 12 years ago by arjan

Owner: changed from arjan to Ralph Meijer
Status: assignednew

comment:7 Changed 11 years ago by Jean-Paul Calderone

Keywords: review added


comment:8 Changed 11 years ago by Jean-Paul Calderone

Owner: Ralph Meijer deleted

comment:9 Changed 11 years ago by Richard Wall

Author: arjan
Keywords: review removed
Owner: set to arjan


I was about to do a code review, but found the bitbucket links (above) broken. Looks like you've renamed the project to txosc (

Does that mean you've decided to maintain the code outside twisted for now as exarkun had suggested?

I'll remove the review keyword and re-assign it, so that you can clarify the situation and if necessary close the ticket.

comment:10 Changed 11 years ago by arjan

Resolution: wontfix
Status: newclosed


We indeed decided to separate the OSC protocol into its own project for now, because we needed it in a production system. We should have notified this in this ticket, i'm sorry for that.

If you're interested you are still invited to take a look at the code, of course :)


comment:11 Changed 11 years ago by Glyph

Hi Arjan,

Thanks for structuring (and naming) txosc in a Twisted-friendly way, with an MIT license, 'tx' name, and unit tests :).

If you'd like to try to contribute this to Twisted at some point in the future, we'd be more than happy to consider it again. Please feel free to re-open this ticket whenever you think is an appropriate time.

Note: See TracTickets for help on using tickets.