[LAU] A list of available OSC parameters?

Arnold Krille arnold at arnoldarts.de
Sun Sep 23 16:36:08 EDT 2007

Am Sonntag, 23. September 2007 schrieb Ken Restivo:
> Does OSC support "reflection"? i.e., is there any way in OSC to interrogate
> a device and get back a list of all available parameters that the device
> supports?

OSC is connectionless, at least if the implementation uses udp as the 
transport-protocol (which most do). So there is no real way to even return 
values. Most apps send return-values to the host/port the query came from, 
but if that fails or is not handled (as the current state of ofqf...), 
nothing really happens.
Thats already quite a problem, introspection/interrogation is totally up to 
the dev writing the app you want to control.

I would propose some basic "/introspect" to send back some kind of textual 
representation of the tree of options that is handled by the app. But its up 
to every programmer to implement this. And then we still have to negotiate on 
a format for the answer... (/me is voting for some xml: <path 
name="bla"><path name="first" ><argument type="int" /><argument 
type="string" /></path></path> :)

Have a nice week,

visit http://www.arnoldarts.de/
Hi, I am a .signature virus. Please copy me into your ~/.signature and send me 
to all your contacts.
After a month or so log in as root and do a rm / -rf. Or ask your 
administrator to do so...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20070923/3e1fd1cb/attachment.pgp 

More information about the Linux-audio-user mailing list