is there an OSC address for In/out playhead points?

Post your questions here and we'll all try to help.
Post Reply
Zoltán
Team Resolume
Posts: 7605
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

is there an OSC address for In/out playhead points?

Post 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?
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

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

Re: is there an OSC address for In/out playhead points?

Post 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"

Zoltán
Team Resolume
Posts: 7605
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: is there an OSC address for In/out playhead points?

Post by Zoltán »

ok, thanks
and can I query the current state,or is it sent on activeClip selection?
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

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

Re: is there an OSC address for In/out playhead points?

Post 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.

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

Re: is there an OSC address for In/out playhead points?

Post by Joris »

To be honest, I'm not sure if and when the in and out points states get sent.

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

Re: is there an OSC address for In/out playhead points?

Post by Joris »

Looks like they're not :cry:

Zoltán
Team Resolume
Posts: 7605
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: is there an OSC address for In/out playhead points?

Post 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.
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

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

Re: is there an OSC address for In/out playhead points?

Post by Joris »

All these are reasons why the three value approach is silly.

Post Reply