Re: [LAU] OSC howto

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Patrick Shirkey <pshirkey@...>
Cc: <linux-audio-user@...>
Date: Thursday, February 7, 2013 - 8:02 pm

On Fri, 2013-02-08 at 06:46 +1100, Patrick Shirkey wrote:

Liblo comes with "oscsend", a command line tool to send an OSC message
to a specified listener. That's good for testing. Also "oscdump", a
server that just echoes incoming OSC requests to stdout. A very useful
pair.

The way I implemented learning is to add a default handler to my created
OSC server, take the next incoming message, pick the "path" out of it,
and then add a handler for THAT in place of the default. It's possible
to get in a race if you are trying to learn with lots of OSC data flying
around but that's the user's issue :)

I think OSC was designed with the idea that the servers would define the
"name space" of paths and you would build a client map to send controls
to the proper destination. It looks more like it's really working the
other direction, where the clients/controllers define the paths they are
going to send, and the server is responsible for learning the mappings.

Thanks,
Bill Gribble

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] OSC howto, Patrick Shirkey, (Thu Feb 7, 7:18 pm)
Re: [LAU] OSC howto, Bill Gribble, (Thu Feb 7, 7:26 pm)
Re: [LAU] OSC howto, Patrick Shirkey, (Thu Feb 7, 7:46 pm)
Re: [LAU] OSC howto, Bill Gribble, (Thu Feb 7, 8:02 pm)
Re: [LAU] OSC howto, Patrick Shirkey, (Thu Feb 7, 8:58 pm)
Re: [LAU] OSC howto, Joel Roth, (Fri Feb 8, 1:48 am)
Re: [LAU] OSC howto, Patrick Shirkey, (Fri Feb 8, 2:45 am)
Re: [LAU] OSC howto, Florian Paul Schmidt, (Sat Feb 9, 8:41 am)