[OSC_dev] Fwd: Application Profiles: oscplanet

Nicholas J Humfrey njh at aelius.com
Tue Dec 23 06:56:47 PST 2008


On 23 Dec 2008, at 10:26, Jamie Bullock wrote:

> On Tue, 2008-12-23 at 09:45 +0100, salsaman at xs4all.nl wrote:
>> On Tue, December 23, 2008 08:09, Gaspard Bucher wrote:
>>> On Mon, Dec 22, 2008 at 10:41 PM,  <salsaman at xs4all.nl> wrote:
>>>>
>>>> /clip/100/start 3456
>>>
>>> or
>>>
>>> /clip.100/start 3456
>>>
>>> or
>>>
>>> /clip/current/start 3456
>>>
>>> Because if the 100th clip has methods, it deserves an url. The osc
>>> urls are made to avoid indexing everywhere. We are doing some kind  
>>> of
>>> exception with the meta methods that "index" on urls, but they are  
>>> not
>>> used in a running application: they are used during setup.
>>>
>>> Gaspard
>>
>>
>> As I said, I would like to do this ! How do I create a path with  
>> variables
>> in it ? oscpack is out for me, since it is C++ only, so this leaves  
>> just
>> liblo I think.
>>
>
> Well liblo is great! I've found it to be rock-solid, and the threaded
> server is a really nicely designed.
>
> I'm pretty certain it can do what you want, Steve?


liblo can do pattern matching in the path, yes. I have never used this  
functionality though. Need to work an easy way of extracting the value  
from the path after the match.

liblo also can do some really handy type matching and conversion. Eg  
if you give it an integer and the method only accepts a float, then it  
will convert the argument for you.


nick.




More information about the OSC_dev mailing list