Page 1 of 1
is there an OSC address for In/out playhead points?
Posted: Fri Sep 02, 2016 08:04
by Zoltán
I'm trying to figure out the address for the in/out playhead markers, but can't seem to find them.
do they exist?
Re: is there an OSC address for In/out playhead points?
Posted: Fri Sep 02, 2016 08:47
by Joris
The in and outpoint will be set when you send 3 floats to the /activeclip/video/position/values address.
So, for instance,
/activeclip/video/position/values 0.25 0.5 0.75
will set the in point to 1/4th of the timeline, the playhead itself halfway, and the outpoint on 3/4ths.
Before you ask, yes, this does require you to know the playhead value as well, which is silly.
Ticket #6632 "setting in point and outpoint of the timeline via OSC as part of a three value message including the playhead is silly"
Re: is there an OSC address for In/out playhead points?
Posted: Fri Sep 02, 2016 10:33
by Zoltán
ok, thanks
and can I query the current state,or is it sent on activeClip selection?
Re: is there an OSC address for In/out playhead points?
Posted: Fri Sep 02, 2016 10:42
by Joris
From the top of my head, I think you get playhead messages for each clip in a layer, the clip in the active layer and the active clip.
Re: is there an OSC address for In/out playhead points?
Posted: Fri Sep 02, 2016 10:53
by Joris
To be honest, I'm not sure if and when the in and out points states get sent.
Re: is there an OSC address for In/out playhead points?
Posted: Fri Sep 02, 2016 10:58
by Joris
Looks like they're not

Re: is there an OSC address for In/out playhead points?
Posted: Fri Sep 02, 2016 11:10
by Zoltán
when selecting a clip I get the correct playhead position, but it seems to be a single float.
I assume there is no way I could send a bogus value to the parameter I don't want to overwrite.
for example I only want to update the in point, but know the playhead position, and don't want to affect the Out point, I could send { 0.25f, 0.5f, -1f } where -1f would be invalid. thus not processed.
-1f doesn't work by the way, it sets the out point to the in point - minimum available position.
Re: is there an OSC address for In/out playhead points?
Posted: Fri Sep 02, 2016 11:21
by Joris
All these are reasons why the three value approach is silly.