Page 1 of 1

OSC set playhead at absolute position (in sec)

Posted: Fri Apr 05, 2024 21:26
by mfo
Hi

Of course one can set a clip's playhead position in multiple ways: via selectedClip/transport/position, layers/../transport/position or layers/../clips/../transport/position. Yet in all cases the value is relative: 0..1 .
Is there any way to send an absolute value, like 5sec?

(Alternatively one could do the math of course, but this requires knowing the exact duration of the clip. Which can be polled, but .. extra fuss ..)

Re: OSC set playhead at absolute position (in sec)

Posted: Mon Apr 08, 2024 18:48
by Arvol
It's just a float value. In Wire you can get get media player clip duration and remap 0-1 that way but for non wire functions you would need to ping the clip via osc with a ? to get the duration and then do a remap externally that way. No in the box solution that I'm aware of atm.

Re: OSC set playhead at absolute position (in sec)

Posted: Mon Apr 08, 2024 20:22
by mfo
Thanks.
I was afraid that might be the case.