No OSC output except certain messages

Post your questions here and we'll all try to help.
Post Reply
alfaleader
Posts: 66
Joined: Sat Jul 24, 2010 17:48

No OSC output except certain messages

Post by alfaleader »

Hi

I'm writing a processing program to control my apc20. I'm using midi for communications to the program and osc between the processing program and resolume.

What I want to do is use the osc output to change the lights of my apc20 (I programmed different banks so I can use clip 1->8 with bank 1 and 9->16 with bank 2). But resolume keeps sending a lot of OSC messages that I can't shut off:

Code: Select all

OSC ontvangen met :/127.0.0.1:59899 | /layer3/clip1/video/position/values f
OSC ontvangen met :/127.0.0.1:59899 | /layer2/video/position/values f
OSC ontvangen met :/127.0.0.1:59899 | /layer3/video/position/values f
OSC ontvangen met :/127.0.0.1:59899 | /layer3/clip1/video/position/values f
I want the cpu usage as low as possible but the program has to check each incoming message for /connect/... so I think this won't be good for the cpu usage. I can use MIDI output, but I like OSC a lot more (you don't have to map things, it just works on every computer with resolume).

Do you guys have a osc preference file that shuts all the osc off? (so I can just enable the things I want?)

Or some explanation about the osc preference file? I don't quite understand it:

Code: Select all

 <oscShortcut isContextual="1" mappingModeType="2" contextDetermination="1"
                   contextIndex1="2" contextIndex2="7" contextIndex3="-1" path="/layer#3/clip#8/video/position/values"
                   type="10" optionIndex="-1" loop="0" address="/activeclip/video/position/values"/>
      <oscShortcut isContextual="1" mappingModeType="1" contextDetermination="1"
                   contextIndex1="2" contextIndex2="0" contextIndex3="-1" path="/layer#3/clip#1/video/position/values"
                   type="10" optionIndex="-1" loop="0" address="/activeclip/video/position/values"/>
Thanks!

Joris
Posts: 5186
Joined: Fri May 22, 2009 11:38

Re: No OSC output except certain messages

Post by Joris »

At the moment it's impossible to switch off all outgoing OSC by default. But you should be able to get rid of those messages by switching between deck and layer focus, and checking the Layer Transport Controls panel as well.

alfaleader
Posts: 66
Joined: Sat Jul 24, 2010 17:48

Re: No OSC output except certain messages

Post by alfaleader »

Ah thanks, I forgot about the layer transport panel. This panel is always off so I didn't thought it would send something.

Thanks! I'll try to do that!

EDIT: tried to disable those osc messages, but still getting these. I checked everywhere and turned everything off but still these things (both in layer mode and deck mode)

Code: Select all

OSC ontvangen met :/127.0.0.1:62015 | /layer2/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer2/clip6/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer3/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer3/clip6/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer2/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer2/clip6/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer3/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer3/clip6/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer2/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer2/clip6/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer3/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer3/clip6/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer2/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer2/clip6/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer3/video/position/values f
OSC ontvangen met :/127.0.0.1:62015 | /layer3/clip6/video/position/values f

alfaleader
Posts: 66
Joined: Sat Jul 24, 2010 17:48

Re: No OSC output except certain messages

Post by alfaleader »

Someone with a solution?

Now the program has to check each incoming message (and it's a lot!). CPU load goes to 8-10% (without osc it's only maximum 5%).

Joris
Posts: 5186
Joined: Fri May 22, 2009 11:38

Re: No OSC output except certain messages

Post by Joris »

Ah yes, when playing multiple clips simultaneously, there are indeed messages coming out that cannot be shut off. It's on the to-do list for Resolume 4.2.

Post Reply