using oscgroups for routing between apps on a single machine

View: New views
8 Messages — Rating Filter:   Alert me  

using oscgroups for routing between apps on a single machine

by Tim Thompson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

I'd like to use oscgroups ( http://www.audiomulch.com/~rossb/code/oscgroups/ )

for routing messages between applications.  I've got it working in an environment where each application

and the server run on separate machines, but I'd like to route messages between applications on the same machine,

and I haven't been able to figure out how to do that.  If I run only one OscGroupClient, multiple applications

can't all listen to its output port simultaneously, and if I try to run  two OscGroupClient's on the same machine,

things seem to get confused.  In the README of oscgroups, Ross says that one of the planned   extensions is

"point-to-point routing in OscGroupClient", which sounds like what I would want.   Does anyone know of a way

to use oscgroups with multiple applications (that all want to access the tx and rx ports of OscGroupClient)

on the same machine?   Has anyone extended OscGroupClient to do point-to-point routing?

 

        ...Tim...


_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: using oscgroups for routing between apps on a singlemachine

by Ross Bencina-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Tim
 
Yeah. The way the sockets are multiplexed doesn't really support the way you want to set things up at the moment.
 
1) I think the main issue you need to sove is supporting multiple client applications on a single machine. The simplest way to solve this would be to support multiple localrxports (just keep a vector of them and forward incoming traffic to all of them). This wouldn't give each client application its own oscgroup user name, but it might be enough.
 
2) Point-to-point routing is a bit different, and means being able to address OSC packets to specific users (endpoints) rather than broadcasting them out to every listener. My idea for this would be to just routing messages within the osc packets sent to oscgroups so it knows which client(s) to forward to.
 
Much as I would like to help you implement this, my schedule is pretty busy at the moment. Feel free to take a look at the code and ask questions if things seem unclear.
 
Cheers
 
Ross.
 
 
 
 
----- Original Message -----
From: tjt@...
Sent: Saturday, April 19, 2008 2:49 PM
Subject: [OSC_dev] using oscgroups for routing between apps on a singlemachine

I'd like to use oscgroups ( http://www.audiomulch.com/~rossb/code/oscgroups/ )

for routing messages between applications.  I've got it working in an environment where each application

and the server run on separate machines, but I'd like to route messages between applications on the same machine,

and I haven't been able to figure out how to do that.  If I run only one OscGroupClient, multiple applications

can't all listen to its output port simultaneously, and if I try to run  two OscGroupClient's on the same machine,

things seem to get confused.  In the README of oscgroups, Ross says that one of the planned   extensions is

"point-to-point routing in OscGroupClient", which sounds like what I would want.   Does anyone know of a way

to use oscgroups with multiple applications (that all want to access the tx and rx ports of OscGroupClient)

on the same machine?   Has anyone extended OscGroupClient to do point-to-point routing?

 

        ...Tim...


_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Invitation: OSC meeting at NIME08

by Adrian Freed :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Following the tradition Matt started I am organizing an informal OSC meet at NIME08 - probably around a dinner meal. Please let me know if you are interested in attending and also if there are any particular things you would like to discuss at the meeting.
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Invitation: OSC meeting at NIME08

by Arie van Schutterhoef :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>I am organizing an informal OSC meet at NIME08
-Hopefully not being too much behest with ignorance, but where will this
glorious event take place?

AvS

BTW:
>the upcoming OSC hardware kit will implement time tags and scheduling.
>-Is this a new version of CNMAT's Connectivity Processor?
Was never answered...

......................................................................
......................................................................
     ` *===========================================================+++
     ` |arsche.net sound-image-word http://www.arsche.net/index.html |
       *===========================================================+++
     ` |Schreck Ensemble/Assembly - live electro-acoustic music-     |
     ` |             http://www.schreck.nl/index.html                |
     ` *===========================================================+++
     ` |S T R A T I F I E R - a multi-dimensional controller-        |
     ` |                  http://www.stratifier.nl/index.html        |
     ` *============================================================++
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
......................................................................


_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Invitation: OSC meeting at NIME08

by Andy W. Schmeder-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Apr 28, 2008, at 3:09 PM, Arie van Schutterhoef wrote:

>> BTW:
>> the upcoming OSC hardware kit will implement time tags and  
>> scheduling.
>> -Is this a new version of CNMAT's Connectivity Processor?
> Was never answered...


No it is a microcontroller firmware for the USB PIC processors.  
Details will be published in the NIME08 proceedings.

Unfortunately the project isn't up for public release yet but we are  
close.


---

Andy W. Schmeder
andy [at] cnmat.berkeley.edu
phone: +1-510-643-9990 x.313
cell: +1-510-717-6653

Programmer/Analyst II
Center for New Music and Audio Technologies
University of California at Berkeley
http://cnmat.berkeley.edu




_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Invitation: OSC meeting at NIME08

by Adrian Freed :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> >I am organizing an informal OSC meet at NIME08
>-Hopefully not being too much behest with ignorance, but where will this
>glorious event take place?

Nime08 is in Genova, Italy. It will take place near or at the conference...
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Invitation: OSC meeting at NIME08

by Arie van Schutterhoef :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>Nime08 is in Genova, Italy. It will take place near or at the conference...
-Prevailing ignorance: are there already dates settled for this [for the
conference-not my ignorance]?

AvS

PS: So close in Europe. Would be nice talking to you in realtime...

......................................................................
......................................................................
     ` *===========================================================+++
     ` |arsche.net sound-image-word http://www.arsche.net/index.html |
       *===========================================================+++
     ` |Schreck Ensemble/Assembly - live electro-acoustic music-     |
     ` |             http://www.schreck.nl/index.html                |
     ` *===========================================================+++
     ` |S T R A T I F I E R - a multi-dimensional controller-        |
     ` |                  http://www.stratifier.nl/index.html        |
     ` *============================================================++
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
......................................................................


_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Invitation: OSC meeting at NIME08

by Angelo Fraietta-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Arie van Schutterhoef wrote:
>>Nime08 is in Genova, Italy. It will take place near or at the conference...
>
> -Prevailing ignorance: are there already dates settled for this [for the
> conference-not my ignorance]?

5-7 June
http://nime2008.casapaganini.org/

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

_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev