[LAD] intergrating osc

Patrick Shirkey pshirkey at boosthardware.com
Thu Jul 26 16:24:40 UTC 2007


Steve Harris wrote:
> 
> On 26 Jul 2007, at 16:10, Patrick Shirkey wrote:
>>
>> The example on the site and looking at jamins code is very helpful for 
>> sending commands.
>>
>> My intention is to make jackEQ a daemon which can accept osc commands.
>>
>> I'm not sure from the examples above how to receive osc commands.
> 
> Well, that's what jamin does. You need to be a server to receive 
> commands, but you can be both.
> 
> http://liblo.sourceforge.net/examples/example_server.c shows how to 
> create a server that listens of a couple of the methods.
> 

Just to clarify,

I would use the generic_handler() function to extract the relevant info 
from the osc command and then pass that info to the fader specified in 
the command?

What is the best way to specify the names for the various faders? Do I 
just put them in an array?

Also, If I don't assign a specific port number for the server is that an 
issue?

If it is has anyone created a list of ports that have already been 
claimed by the various jack apps that have already implemented osc?

If I am missing the logic I appreciate any insight that is provided.

Cheers.

-- 
Patrick Shirkey - Boost Hardware Ltd.
Http://www.boosthardware.com
Http://lau.linuxaudio.org - The Linux Audio Users guide
========================================

"Anything your mind can see you can manifest physically, then it will 
become reality" - Macka B




More information about the Linux-audio-dev mailing list