Typewriter for 700+ cues

99 views
Skip to first unread message

Bas Haut

unread,
Sep 1, 2022, 5:24:16 AM9/1/22
to QLab
Hi there,

I am working on a show where all dialogues of the show are ’subtitled’ to an LED screen in a "typewriter-like” design.

I used the ’Typewriter’ show file from the QLab Cookbook which works great.

My only issue is that the script refers to a unique ‘cuenumber’, where our show has 700+ lines, which would make it tedious to prepare a workspace for it. I wouldn’t want anyone to manually change the cue number for each line in every script cues.
I was wondering if there would be a more elegant solution where the script cue (which could have a unique q number) could refer to the only “Text” cue within the group they’re into? Or any other suggestion?

Would you have any tips for me?

Many thanks!

Here is the script:

set thecuenumber to "T1" -- cue number of Titles cue this script controls
set speed to 0.02 -- gap between typed characters in seconds
set charPerLine to 48 -- Number of characters per line

tell application id "com.figure53.QLab.4" to tell front workspace
   stop cue thecuenumber
   set thetext to notes of cue thecuenumber
   set thecount to number of characters in thetext
   set the text of cue thecuenumber to " "
   start cue thecuenumber
   repeat with i from 1 to thecount
       set thechar to text i thru i of thetext
       set thetype to text 1 thru i of thetext
       set custom message of cue "LIVE" to "/cue/" & thecuenumber & "/liveText \"" & thetype & "\""
       delay speed
       if i = thecount then start cue "FADE"
       delay 1.0E-4
       start cue "LIVE"
   end repeat
end tell


aroom

unread,
Sep 1, 2022, 5:36:53 AM9/1/22
to ql...@googlegroups.com
Hello,

Not a direct answer to your question, but I was wondering if you knew the existence of this software for subtitles:


Free and made by the team from Millumin. You can syphon/NDI it into QLab. Maybe the workspace is more convenient. 

bye

--
Contact support anytime: sup...@figure53.com
Follow QLab on Twitter: https://twitter.com/QLabApp
User Group Code of Conduct: https://qlab.app/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/84f2698c-c636-4ee6-bae2-cc42f59e8a97n%40googlegroups.com.

Bas Haut

unread,
Sep 1, 2022, 7:30:47 AM9/1/22
to ql...@googlegroups.com
Thanks,

I know glypheo but I am not aware it can have a “typewriter-like” animation on it?

You received this message because you are subscribed to a topic in the Google Groups "QLab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qlab/dVzy_Lh-76o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qlab+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/C61FF6DC-DEFB-4486-AC8A-2D39011DAE26%40ik.me.

aroom

unread,
Sep 1, 2022, 8:10:20 AM9/1/22
to ql...@googlegroups.com
I guess you can’t. I should have read your message more thoroughly.



micpool

unread,
Sep 2, 2022, 12:15:13 PM9/2/22
to QLab
This should work. You need to set the triggers of each typewriter group to stop peers 


set speed to 0.02 -- gap between typed characters in seconds
set charPerLine to 48 -- Number of characters per line
tell application id "com.figure53.QLab.4" to tell front workspace
    set thescript to last item of (cues whose (q type is "script" and running is true))
    set thegroup to parent of thescript
    set theTextcue to first cue of thegroup whose q type is "Text"
    set thestring to uniqueID of theTextcue
    stop cue "LIVE"
    set thetext to notes of theTextcue

    set thecount to number of characters in thetext
    set the text of theTextcue to " "
    start theTextcue

    repeat with i from 1 to thecount
        set thechar to text i thru i of thetext
        set thetype to text 1 thru i of thetext
        set custom message of cue "LIVE" to "/cue_id/" & thestring & "/liveText \"" & thetype & "\""
        delay speed

        delay 1.0E-4
        start cue "LIVE"
    end repeat
end tell

Screenshot 2022-09-02 at 17.10.13.png


Reply all
Reply to author
Forward
0 new messages