[LAD] Overloading OSC Arguments

Fred Gleason fredg at paravelsystems.com
Mon Dec 10 12:46:55 UTC 2007

Howdy Folks:

I'm in the midst of laying out an OSC namespace for a new app, and have come 
across a couple of places where it might make sense to 'overload' different 
argument parameters onto the same command node (in the same sense that 
different argument lists can be overloaded into identically-named methods in 

An example may help make it clear.  Consider the following OSC path:


This would be a command to set a cursor position.  If the supplied argument 
were a float32, the unit would be assumed to be seconds.  If it were a
string, a broken-down time representation ("HH:MM:SS") would be assumed, and 
so on.

While I can find nothing in the OSC spec that would specifically forbid this 
sort of behavior, I'd like to be sure that, as a practical matter, the 
'real-world' apps that are already out there would be able to deal with this 
sort of construct.  Would anyone be aware of reasons why this sort of layout 
would not be a good idea?


| Frederick F. Gleason, Jr. |               Chief Developer               |
|                           |               Paravel Systems               |
|      Research is what I'm doing when I don't know what I'm doing.       |
|                                          -- Werner von Braun            |

More information about the Linux-audio-dev mailing list