[OSC_dev] newby osc address question

Angelo Fraietta newsgroups at smartcontroller.com.au
Thu Oct 16 13:13:41 PDT 2008



Gaspard Bucher wrote:
> Hello !
> 
> I am going to use osc for the communication protocol between the UI  
> and  processor for rubyk (an open source patcher written in C++).
> 
> Design ideas: http://rubyk.org/65
> 
> My question:
> 
> I would like to address the different objects inside rubyk instances  
> (processors) through urls like:
> 
> "/[instance name]/[object name]"
> 
> For example a metronome object named 'met' running inside rubyk  
> instance "venus" with IP 1.2.3.4 would be addressed as
> 
> "/venus/met"
> 
> This means the actual IP address of "venus" must be automatically  
> discovered or set by the user (if it's not on the same LAN).
> 
> Is this a misunderstanding of osc addresses ?
>

Yes - the OSC address has nothing to do with the IP address. They are 
completely separate things.

> Should it be more "/1.2.3.4/venus/met" ?
> 
No

You will need to have your app that sends the OSC message send an OSC 
message to 1.2.3.4 or the broadcast IP address on a particular port. 
You will need to have 1.2.3.4 monitor that port and look for messages 
with OSC address of /venus/met

-- 
Dr Angelo Fraietta
A.Eng, A.Mus.A, BA(Hons), Ph.D.

PO Box 859
Hamilton NSW 2303

Home Page


http://www.smartcontroller.com.au/

There are those who seek knowledge for the sake of knowledge - that is 
CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
     Bernard of Clairvaux (1090 - 1153)



More information about the OSC_dev mailing list