Watch for when a sequence is playing

Moderator: Moderator Group

Watch for when a sequence is playing

Postby pshay » Fri Mar 15, 2013 10:50 pm

I would like to make a Widget button turn red while a sequence is playing and go back to a normal color when the sequence is not playing.
Is there a script or node that would let me watch a sequence state?

Thanks,

-=Peter
pshay
 
Posts: 29
Joined: Mon Jun 04, 2012 10:48 pm

Re: Watch for when a sequence is playing

Postby Christopher Fluegel » Mon Mar 25, 2013 3:07 pm

Hi,

with a little node system it is possible to visualize the sequence state.

A sequence timecode input node reads the seconds of your running sequence and gives them delayed by one second into a variable.
In the next step the (delayed) variable and the actual seconds were compared in a script node and trigger the tint of a button (or whatever 8) ).
When the sequence goes to pause, the delayed variable value will catch up the actual value and the button goes green.

See the attached screenshot for a node system example.
The only disadvantage we get from this is a delayed state of the sequence but I think that's ok.

Hope that helps.

Anyway I have added a feature wish to our list for a playstate output of the sequence node.
You do not have the required permissions to view the files attached to this post.
Christopher Fluegel
Technical Support, coolux GmbH
Christopher Fluegel
 
Posts: 112
Joined: Mon Feb 23, 2009 1:03 am
Location: Cologne, Germany

Re: Watch for when a sequence is playing

Postby malkuth23 » Mon Mar 25, 2013 4:31 pm

I have done it using the delta from the PB sequence timecode. Might be a little lower delay.
Matthew Newman-Saul
Theatrical Concepts
mattns@theatrical.com
User avatar
malkuth23
 
Posts: 354
Joined: Tue Apr 20, 2010 7:14 pm
Location: New Orleans, LA

Re: Watch for when a sequence is playing

Postby Christopher Fluegel » Mon Mar 25, 2013 4:36 pm

Also a little bit easier :D but with the delta you also get very jittery values. Maybe you can also post an example setup.
Christopher Fluegel
Technical Support, coolux GmbH
Christopher Fluegel
 
Posts: 112
Joined: Mon Feb 23, 2009 1:03 am
Location: Cologne, Germany

Re: Watch for when a sequence is playing

Postby pshay » Mon Mar 25, 2013 5:07 pm

Thank you for the node setup scenario - I'll try it out!

-=Peter
pshay
 
Posts: 29
Joined: Mon Jun 04, 2012 10:48 pm

Re: Watch for when a sequence is playing

Postby Markus Zeppenfeld » Mon Mar 25, 2013 7:34 pm

Hi!

As you are already speaking about simple and complicated.
Another (not performance optimized) way would be to query a parameter from the timeline which is definitely always changing. This could e.g. be a constant fade in and out of a parameter you don't need. VGetParam... in combination with an if-clause would help to do it as well in a WD STD installation.

Like I already said, not easier, not better performance-wise, but definitely different. ;-)

Markus
Markus Zeppenfeld
Senior Product Manager, Pandoras Box

"Have you tried turning it off and on again?" (from "The IT Crowd" / channel 4)
Markus Zeppenfeld
 
Posts: 824
Joined: Wed Mar 02, 2011 10:12 am
Location: Cologne - Germany

Re: Watch for when a sequence is playing

Postby malkuth23 » Wed Mar 27, 2013 7:12 am

The way I have done it is:
|PB Seq Time|->|Delta|->|Round|->|Script(if Round > x then...)

I have used the variable way as well. I found it to be the same. It is really useful if you always know the state of the timeline at certain areas. Just create a variable up until the pause cue. Make a different variable for pause etc.
Matthew Newman-Saul
Theatrical Concepts
mattns@theatrical.com
User avatar
malkuth23
 
Posts: 354
Joined: Tue Apr 20, 2010 7:14 pm
Location: New Orleans, LA

Re: Watch for when a sequence is playing

Postby cyeary » Fri Mar 29, 2013 4:03 pm

Another awesome feature would be able to see what the current q is on a sequence. Also previous and next q would be huge.
Cameron Yeary
Unlimited Visibility, Inc.
cyeary
 
Posts: 142
Joined: Sat Feb 04, 2012 11:14 pm
Location: NYC

Re: Watch for when a sequence is playing

Postby Markus Zeppenfeld » Sat Apr 20, 2013 1:29 pm

Hi Cameron,

this is - of course - already on the list.
Let's hope for getting the wish fulfilled soon.

Markus
Markus Zeppenfeld
Senior Product Manager, Pandoras Box

"Have you tried turning it off and on again?" (from "The IT Crowd" / channel 4)
Markus Zeppenfeld
 
Posts: 824
Joined: Wed Mar 02, 2011 10:12 am
Location: Cologne - Germany


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 28 guests