[REQ] OSC protocol..

299 views
Skip to first unread message

Bjørn Christiansen

unread,
Oct 27, 2012, 4:23:59 PM10/27/12
to open-l...@googlegroups.com
Hay...

I could be super cool, if the OSC protocol could be added as a plugin, both input and output..
I dont know if it would be so hard, but the payoff would be HUGE!!

Case: (my own apartment)
Im using a tool to convert OSC to midi, then the midi triggers some DMX channels in a PC DMX controller...
Im using TouchOSC for android or iOS..
With the OSC plugin, I could send directly from TouchOSC to OLA and out via Enttec.. :)
This could be very handy for places where the amount of channels is rather small..
I the OSC protocol is used in a lot of tools.. I used it to trigger 2 Resolumes and 1 Martin LightJockey. And It was sweet..
The TouchOSC comes with an editor, so there can be created som cool remotes with it..

So, a wish before dmXmas...

In da hood...
Bjørn

Jason Kyle

unread,
Oct 27, 2012, 4:57:22 PM10/27/12
to open-l...@googlegroups.com

LightJams is a pretty cool DMX effects package than also supports TUIO/OSC input.

http://www.lightjams.com/

 

Best Regards,

 

Jason Kyle

DMXking.com / JPK Systems Limited

+64(9)379 4836

+64(21)672535

j...@dmxking.com

--
 
 

Simon Newton

unread,
Oct 27, 2012, 5:41:53 PM10/27/12
to open-l...@googlegroups.com
Does anyone have information on the OSC protocol?

Simon
> --
>
>

Bjørn Christiansen

unread,
Oct 27, 2012, 6:59:30 PM10/27/12
to open-l...@googlegroups.com

Simon Newton

unread,
Oct 27, 2012, 7:04:19 PM10/27/12
to open-l...@googlegroups.com
On Sat, Oct 27, 2012 at 3:59 PM, Bjørn Christiansen
<bchrist...@gmail.com> wrote:
> Simon says...
>
> and here is some..
> http://www.ixi-audio.net/content/body_backyard_python.html
> and here
> http://www.linuxjournal.com/content/introduction-osc
> more
> https://trac.v2.nl/wiki/pyOSC

Thanks, I'm reading it now. There is a standard (or common practice)
for sending DMX over OSC? I've seen /dmx/channel mentioned as an
address.

Simon
> --
>
>

Bjørn Christiansen

unread,
Oct 27, 2012, 7:35:58 PM10/27/12
to open-l...@googlegroups.com
Well, there I dont have an answer..

But, I think that OSC is like midi, with channels, and nodes.. But Im not 100%..
Anyways, alot of those protocols, is channels, with values.. ?!?!
Midi is nodes, but with a max value on the channel at 128 where dmx is 512, and there is not as many channels..
Cant remember.. 

But super nice that you are looking into it..

// Bjørn

Simon Newton

unread,
Oct 27, 2012, 7:42:51 PM10/27/12
to open-l...@googlegroups.com
On Sat, Oct 27, 2012 at 4:35 PM, Bjørn Christiansen
<bchrist...@gmail.com> wrote:
> Well, there I dont have an answer..
>
> But, I think that OSC is like midi, with channels, and nodes.. But Im not
> 100%..
> Anyways, alot of those protocols, is channels, with values.. ?!?!
> Midi is nodes, but with a max value on the channel at 128 where dmx is 512,
> and there is not as many channels..
> Cant remember..

On the controller end, can you customize the ip:port and OSC address
you send to?

http://opensoundcontrol.org/spec-1_0 shows the following types: int32,
float32, OSC-string, OSC-blob

Using liblo, it would be pretty simple to write an OLA plugin that can
receive OSC-blob data sent to /dmx/N, where N is a universe ID.

Would that work for you?

Simon
> --
>
>

Hippy

unread,
Oct 27, 2012, 7:47:38 PM10/27/12
to open-l...@googlegroups.com
hahaha..

Hi Bjørn  ;)

I was just looking at the midi support issue earlier, precisely to implement some mechanism of MIDI to DMX, and MTC.  I'm gonna take it on, but it's not going to happen over night!  I don't really know 

I've written a library in another language which talks midi, sysex, mtc and midi show control which i've recently been thinking porting it to OLA as a plugin device would not be too hard,  so I'm gonna take it on, but it's not going to happen over night!

As for OSC, i'm keen to get midi rolling first as I already know something about that :)

I wondered on a best practice of mapping midi directly to dmx, I see MIDI and OSC being more "controlling controllers" than controlling lights,  but I can see adding MIDI would be great to get devices like the BCF-2000 happening as a 'console' too.

Welcome :)  I've got to do some gardening now, or my missus will kill me...!

Cheers,
 Hip

--
 
 

Bjørn Christiansen

unread,
Oct 27, 2012, 8:39:14 PM10/27/12
to open-l...@googlegroups.com
Hay Hippy

You are right. OSC is used a lot for controlling "stuff" just like midi, and no, its not for lights, OSC is Open SOUND Controller, and is midi over LAN, but its used everywhere, Martin M-PC, Jands Vista and CueLight is using OSC for remote, and alot of VJ software is. I use a OSC to midi to control the LightJockey..

But, yes, do the midi stuff first, its okay with me, TouchOSC can control midi to. And off-cause its not happening over night..
But Im looking forward to the beta, in a few hours. :P kidding..

And here, a preview of the old Martin Fingers for TouchOSC.. 

Its going to be a sweet way to make cool and simple controllers with a nice gui..

Happy gardening, and look out for Dr. levingstone..

// Bjørn

Bjørn Christiansen

unread,
Oct 27, 2012, 8:59:00 PM10/27/12
to open-l...@googlegroups.com
Yes..

When you config OSC you enter the host, IP or name, the ports for out and in coming (if there is feedback).
So, if I could add a universe with ID and name, and then what port for incoming OSC and where it should send it..
Just like the way it already is..
Just remembered, here is the tricky part.. all the software used a "learn function" so when you have connected the OSC, the you "learn" the receiver what to react on, so if I like dimmer ch. 1 to react to my OSC ch1 i push the ch on the receiver and the I push the function on the remote, and then it know what goes where..

Another feature I just found in TouchOSC is that it can use the accelerometer from the device.. sweet..
just remembered another thing, I have tried a WII mote to OSC for controlling some video with the movement of a conductor to classic music..

Hope the info helps...

// Bjørn   

Simon Newton

unread,
Oct 27, 2012, 9:12:55 PM10/27/12
to open-l...@googlegroups.com
On Sat, Oct 27, 2012 at 5:59 PM, Bjørn Christiansen
<bchrist...@gmail.com> wrote:
> Yes..
>
> When you config OSC you enter the host, IP or name, the ports for out and in
> coming (if there is feedback).
> So, if I could add a universe with ID and name, and then what port for
> incoming OSC and where it should send it..
> Just like the way it already is..

One more thing, can you configure the OSC address (like /dmx/channel1
) or is it up to the receives to 'learn' the data?

Do you mind taking a packet capture for me as well? Or can you
recommend a free OSC controller for the mac?

Simon
> --
>
>

Bjørn Christiansen

unread,
Oct 27, 2012, 9:19:04 PM10/27/12
to open-l...@googlegroups.com
I can see in the design tool, that you can pre-define all OSC commands, so it can both..
So the learning function is not that importent.. but could be nice..

here you can get the editor, and some other OSC stuff.. :)

wow, just got another hour.. :P

// Bjørn

Bjørn Christiansen

unread,
Oct 27, 2012, 11:44:13 PM10/27/12
to open-l...@googlegroups.com
Everything there is to know..

http://opensoundcontrol.org/

// Bjørn

Simon Newton

unread,
Nov 5, 2012, 10:40:23 AM11/5/12
to open-l...@googlegroups.com
To complete the thread:

The OSC plugin was submitted yesterday.

Have fun.

Simon
> --
>
>
Reply all
Reply to author
Forward
0 new messages