Page 1 of 1

OSC Position Stuttering

Posted: Wed Nov 02, 2011 21:50
by momothemonster
I'm trying to jump to points in the active clip via OSC.

It's working with bundled messages to "/activeclip/audio/position/values", but whenever I trigger a value here, the video will stutter about 4 times first - like it's been triggered four times in a row very quickly. Then it will move on.

If I jump to points using cue points, it's all fine. I've tried sending OSC from a variety of sources and they all cause the same issue. Any ideas?

Re: OSC Position Stuttering

Posted: Wed Nov 09, 2011 20:21
by momothemonster
Still present in Resolume 4 Beta 2.

An interesting side note - I get the same issue if I send a message to /activeclip/audio/position/jumptopointsofinterest with a float argument. If I send an integer argument, it works great. Can we please have an /audio/position/values system that will jump to arbitrary positions as silky-smooth as the points of interest?

Re: OSC Position Stuttering

Posted: Thu Nov 10, 2011 14:52
by Joris
Recreated and ticket made. Thanks for the find!

Re: OSC Position Stuttering

Posted: Mon Nov 21, 2011 17:13
by Tim Walther
Hmm... I think this is not really a bug but a feature ;)

Seriously though, It's actually due to the audio scrubbing feature... here's why:
Because it's hard to tell when user lets go of a control (other than mouse & kbd), we start a timer when we receive a position change from the user. This is used to turn off the scrubbing mechanism after 100 ms of no user input.

On MIDI this makes a lot of sense, since it isn't really flexible enough to work around this problem.
But, OSC is. And it's commonly used on touch-capable devices. So it doesn't really make sense that a OSC-message on position starts this scrubbing-mechanism.

In the upcoming release, the scrubbing won't turn on. This will result in a smooth position set.
But, how to achieve scrubbing with osc then? You can just send the same message over and over, this will emulate the scrubbing quite nicely.

What I don't really understand is why you would have this problem when using ./jumptopointsofinterest, as the scrubbing isn't used here. Maybe you are actually sending the same message a number of times?