Number effect - Random Timecode [30]
Copy link to clipboard
Copied
Hi there,
I recently learned how to use the Text>Number effect. I like how I'm able to select the type "Number", hit the Random Values box, and then set a Value/Offset/Random Max limit.
However, I'm trying to do the same thing with the Timecode[30] type but I cannot control the range.
For example, I'd like to generate Timecode[30] values that occur in between 00:00:00:00 and 00:00:03:00 (three minutes) without it skyrocketing to some unfathomable figure. Is there a way to do this?
In addition, or perhaps in replacement, could I generate a random "hh:mm:ss" number value (without the 'ff'/frame counter)? This might make the numbers seem a little more 'believable' for the purpose of our video.
I've attached a screenshot of the effect in question, in case my description is a little flimsy. In this example, the Timecode generated by the "Random Values" option is much too high to look 'normal' for our purposes.
Thank you for any advice.
Kind Regards
Max
Copy link to clipboard
Copied
Sorry, I made a typo in my original question.
The random range I'm trying to create is 00:00:00:00 to 00:03:00:00 (three minutes).
Thank you again,
Max
Copy link to clipboard
Copied
Set the value to manual and apply a
clamp(random(0,3),0,3);
to the slider for the value.
Mylenium
Copy link to clipboard
Copied
Hi Mylenium,
Thank you so much for your speedy reply!
I had two attempts at this solution. I copied the formula and pasted it into the slider called "Value/Offset/Random Max" and in another example I pasted it directly onto the "Random Values" line. It doesn't seem to have affected the value in both examples. Have I done something wrong?
When I press play, all the digits keep randomising. I was hoping it could start at a certain point (e.g. 00:01:10:00) and play continuously from that random start point for the duration of the composition.
Many thanks for your generous support.
Regards
Max
Copy link to clipboard
Copied
Generating a random start point is easy enough and then it's just down to letting time pass:
seedRandom(index,true);
random(0,3)+time;
Mylenium

