[linux-audio-dev] [RFC] Lite OSC API

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-dev] [RFC] Lite OSC API
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Sun Jan 25 2004 - 22:11:36 EET


Hi *,

I've been working on a lightweigth OSC API for the last couple of days and
I'd appreiciate some comments - it works as it is, but it needs some work
and the API isn't final so please dont integrate it into any projects yet.

Its quite limited:

        * only basic OSC types (int, float, string, blob), but adding more
          is easy
        * no unix-domain sockets (just UDP)
        * no bundles
        * only accepts typed messages (unless you handle the packet
          parsing yourself)

On the upside you can send an OSC message in 2 lines of C using a fprintf
style function and you can setup a serverthread with polymorhism/automatic
typechecking and callbacks (JACK stylee) very easily.

You can also use bits of the API selectivly if you want to mange bits of
the OSC lifecycle yourself, eg. handle raw OSC by hand or provide your own
thread.

Theres an example program that uses it here:
http://plugin.org.uk/liblo/liblo/src/testlo.c

and you can get the tarball here:
http://plugin.org.uk/liblo/

Comments on the API style, testing and offers of help greatfully received.

- Steve


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Jan 25 2004 - 22:12:09 EET