OSC lagging - buffering?

Post your questions here and we'll all try to help.
Post Reply
gavspav
Posts: 86
Joined: Thu Oct 02, 2008 20:45

OSC lagging - buffering?

Post by gavspav »

I'm sending OSC messages from Max/MSP to Resolume to control the bypass of a Layer Effect and 2 parameters.

The messages are generated by a gamepad button (for the bypass) and an analog joystick.

Resolume is getting the messages but there is a lag, as if it cannot process the data fast enough. The result being that when I let go of the controls there is a period when the parameters continue their modulation as if Resolume is catching up, until finally the effect is bypassed again.

I've tested it using other software to receive the OSC and the problem appears to be with Resolume.

Anyone know whats going on?

***Edit - OK I have found this post - http://www.resolume.com/forum/viewtopic ... osc#p29546 and followed similar advice.

If I send the 3 OSC messages 20 times a second I get acceptable performance.

If I send the messages 60 times per second I get a terrible lag and CPU usage shoots up to around 65%.

I can work with this but I am surprised it is so easy to clog the system up,

Is it just my system or is it expected behaviour?

User avatar
cosmowe
Posts: 1623
Joined: Fri Mar 25, 2011 10:27
Location: cologne // germany

Re: OSC lagging - buffering?

Post by cosmowe »

Same Same but different!

I use a Lemur to send OSC massages via ethernet. I programmed a fader which sends his value constantly to resolume.
Bad idea 8-)
Beside the fader I had some other Lemur buttons sending OSC massages when pressing it...But, while the Fader was sending his massages there was a delay of up to 8 seconds between fingerbuttoncontact and resolume aktion.

So.. I tried to change the networkcard. Another networkcard wasn't the solution but the delay was getting smaller... only 3 seconds!

Actually the best solution was ... don't send to much OSC massages at the same time :) = realtime!



Greeets
Image Do you like outlines? Easy Outliner on Juicebar

edwin
Team Resolume
Posts: 1207
Joined: Thu Oct 07, 2004 10:40

Re: OSC lagging - buffering?

Post by edwin »

We fixed the lagging with messages, best to use bundles whenever possible though.

User avatar
cosmowe
Posts: 1623
Joined: Fri Mar 25, 2011 10:27
Location: cologne // germany

Re: OSC lagging - buffering?

Post by cosmowe »

Nice... so I wait for 3.3.3 ?
Image Do you like outlines? Easy Outliner on Juicebar

Post Reply