Sequencing text

Mon Jul 08, 2019 4:10 pm

Hi, New guy here,

Is there a way to sequence through the line in a text file. I have got it to work by using Internals and then Playlist Entry # but that then ties the Playlist up. Is there another way to time sequence through a multi line text file? I do not have the VJ version just the normal one.

Thanks.
uksnowy
 
Posts: 3
Joined: Mon Jul 08, 2019 4:05 pm

Re: Sequencing text

Mon Jul 08, 2019 9:01 pm

Hi,

You want to display each line at a certain time? If the lines should be displayed evenly then put an increase modifier on the line#. Displaying each line at different time intervals without using the playlist is a bit of a challenge.

This little bit of expression references a global as a timer and checks where it is for each line. The first line (0) is shown for 4 secs, the second (1) for 2 secs and so on. It seems to work here though is a bit clumsy to setup and adjust for many lines.
Code: Select all
switch {
 case (inc > 0 and inc <= 4) : 0;
 case (inc > 4 and inc <= 6) : 1;
 case (inc > 6 and inc <= 8) : 2;
 case (inc > 8) : 3;
 default : inc;
}

Someone else might come up with a better solution but for a small number of text lines this could work.
Sadler
 
Posts: 633
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: Sequencing text

Tue Jul 09, 2019 5:28 am

Sadler wrote:Hi,

You want to display each line at a certain time? If the lines should be displayed evenly then put an increase modifier on the line#. Displaying each line at different time intervals without using the playlist is a bit of a challenge.

This little bit of expression references a global as a timer and checks where it is for each line. The first line (0) is shown for 4 secs, the second (1) for 2 secs and so on. It seems to work here though is a bit clumsy to setup and adjust for many lines.
Code: Select all
switch {
 case (inc > 0 and inc <= 4) : 0;
 case (inc > 4 and inc <= 6) : 1;
 case (inc > 6 and inc <= 8) : 2;
 case (inc > 8) : 3;
 default : inc;
}

Someone else might come up with a better solution but for a small number of text lines this could work.


Hi Sadler. Thank you form taking the time to help. Your first suggestion almost gets me there. I can sequence the lines using the increase modifier. The problem here is that it just keeps counting up. I can reset it by switching scenes. I could work with that but is there a neater way to reset the increase modifier?

Although I understood the little code snippet. I could not work out how to use it. Could you elaborate please.

Ultimately, I would like to be able to time sequence my lines. It is like we need another module, an event list, which could simply be a set of time stamps that could then be referenced. May be a feature request.

Anyway, I am really enjoying the program, I think it an excellent piece of software and I am looking forward to getting to know it better.
uksnowy
 
Posts: 3
Joined: Mon Jul 08, 2019 4:05 pm

Re: Sequencing text

Tue Jul 09, 2019 7:00 am

Put a Wrap modifier after the Increase so you don't have to reset the scene.

To use the expression code:
Add a Global named "inc" with an Increase (and Wrap) modifier applied.
On the Text module Line#, paste the code into an Expression modifier.

Post your result when you get it working. :)
Sadler
 
Posts: 633
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: Sequencing text

Wed Jul 10, 2019 9:04 am

Sadler wrote:Put a Wrap modifier after the Increase so you don't have to reset the scene.

To use the expression code:
Add a Global named "inc" with an Increase (and Wrap) modifier applied.
On the Text module Line#, paste the code into an Expression modifier.

Post your result when you get it working. :)


Will do.. Thanks again.
uksnowy
 
Posts: 3
Joined: Mon Jul 08, 2019 4:05 pm

Return to General Discussion

© 2019 Color & Music, LLC • This web site is mobile-friendly