Page 1 of 1

Different OSC Targets possible?

Posted: 06 Nov 2013 16:25
by sehrinde17
Hey community!
I want to controll via iPad two different applications on the same machine with OSC. I made a lemur layout for module8 and quartz composer with two different ports. Is it possible to define the first connection to module8 over port 8002 and the second for quartz composer port 6767.
In lemurĀ“s settings i have OSC 0 Host: MBP.local Port 8002 and OSC 1 Host: MBP.local Port 6767.

But i have only a working connection for OSC 0... i can select the same port for both applications and it works fine, but i have a huge o/c addresses of module in quartz composer wich i don't need.
Any idea for my problem? (and i do not mean my gramma ;) )

Re: Different OSC Targets possible?

Posted: 08 Nov 2013 05:15
by Macciza
Hi

The things to understand about OSC are this -
Lemur receives on its IP address on port 8000 and can send to any IP / port as set in the OSC Targets
Generally only one app can listen to particular port that many other sources can send to . .
So what does that all mean?
For any app to receive it needs to match the OSC Target address i.e. MBP.local:8002 but it needs to send back to Lemur IP:8000 for Lemur feedback
A second app on the same computer needs to listen on a separate port i.e. MBP.local:6767 but still needs to send back to LemurIP:8000 " "

These apps can also send to each other i.e. localhost:8002 and localhost:6767, or to separate iPads LemurIP1 & LemurIP2 :8000 (assuming multiple OSC outputs from app)
You could also setup the iPads to talk to each other by setting targets to point to each iPadIP:8000 . . .

Hope that makes sense . . .

Re: Different OSC Targets possible?

Posted: 09 Nov 2013 15:05
by sehrinde17
G-R-E-A-T-!