Page 1 of 1

Random time for scene in a chaser

Posted: Mon Mar 14, 2016 3:21 pm
by psyka
Hi :D

I want to know if thereis a way to have a chaser with multiple scene inside, and QLC do different randow time for all the scene?
By example i try to have each scene between 0,5 and 5s. Is it clear and is that possible? (Maybe in a script :/)

Thank you :roll:

Re: Random time for scene in a chaser

Posted: Tue Mar 15, 2016 12:39 pm
by siegmund
Hi,

you could try to achieve that with the help of scripts an loopback plugin. Trigger the next button of the cue list with a script and wait a random time between every triggering.

Re: Random time for scene in a chaser

Posted: Fri Mar 18, 2016 8:32 am
by psyka
Hi siegmund, thank you for your help.

I try this but that don't work, I think the chaser's time is more important of the script' time.
I also try with the loopback plugin and I don't think it's the good way to do that :/
test wait$.qxw
(3.89 KiB) Downloaded 196 times

Re: Random time for scene in a chaser

Posted: Fri Mar 18, 2016 10:35 am
by siegmund
I was working on a solution for you but it turned out that scripts are possibly (partially) not working in 4.10.3a. Please hang on, I'll give you an update ASAP.
See this thread for the broken script issue: viewtopic.php?f=5&t=9718

Re: Random time for scene in a chaser

Posted: Fri Mar 18, 2016 11:01 am
by psyka
Thank you so much :D

So, I wait the new realease of QLC which fix that I hope :)

Re: Random time for scene in a chaser

Posted: Sat Apr 09, 2016 3:41 am
by nedmech
I'm a little late to the party, but here's a workspace file that may help you get where you're trying to go. I'm using a combination of a script to generate a random loopback value and collections in the chaser instead of scenes. The loopback then drives a speed dial widget that controls the duration of the chaser steps. Let me know what you think. :D

Re: Random time for scene in a chaser

Posted: Sat Apr 09, 2016 11:30 am
by siegmund
Very nice solution, I also tried this with scripts and loopback, but didn't work so well.
Note: Make sure to try this with either a Test or an older version of QLC+ because in 4.10.3a timing is still broken (or wait for the next release).

Re: Random time for scene in a chaser

Posted: Sun Apr 10, 2016 4:24 pm
by psyka
Yes thank you for that. I will try it very soon ;)
:mrgreen: :mrgreen:

Re: Random time for scene in a chaser

Posted: Tue Apr 12, 2016 10:08 am
by psyka
Hi again.

Waouh! I try it with the version 4.10.2 of QLC +, and that work very well! Thank you for the solution :D :D
(so bad that don't work with the 4.10.3)

I also have a question, if I would change the maximum time (5000ms in your example) to 10000ms, I change that in the script, but nothing happen :ugeek:

In your example, the time is between 0 and 5 seconds, if we need between 2.5 and 5s, it's realy simple. You need to change in the script the random value to (127,255) instead of (0,255). That's very nice :)

Thank you again.

Re: Random time for scene in a chaser

Posted: Tue Apr 12, 2016 2:31 pm
by nedmech
psyka wrote:that work very well
Glad I could help!

As far as changing the timing, the delay in the script is only there to keep the script from ending before the chaser moves to the next step. The wait time in the script has to be at least as long (or longer) than the maximum duration of the chaser step. The timing range is set by the Speed Dial widget. If you want to change the range of the timing, you have to do it in the Speed Dial widget's properties. For example, if you want up to 10 seconds, then change the Speed Dial's input range to go from 0 to 10 seconds and make the script wait time at least 10 seconds. From there, you can use the random value range in the script to set where you want the times to be: 0-255 should give you 0-10 seconds; 63-127 should give you about 2.5-5 seconds; etc. Hope that helps clarify the design for you.

Re: Random time for scene in a chaser

Posted: Wed Apr 13, 2016 9:24 am
by psyka
That's per-fect :)

Very usefull for me.

You make a good work for that, thank you again :mrgreen: