Re: [LAU] A list of available OSC parameters?

From: Arnold Krille <arnold@email-addr-hidden>
Date: Sun Sep 23 2007 - 23:36:08 EEST

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,

Arnold

-- 
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...

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user

Received on Mon Sep 24 00:15:04 2007

This archive was generated by hypermail 2.1.8 : Mon Sep 24 2007 - 00:15:05 EEST