Skip to content

DanKirkwod/qlab_CompanionScoreKeeping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

qlab_CompanionScoreKeeping

QLab Bitfocus Companion Platform License

qlab_CompanionScoreKeeping is a Bitfocus Companion page for simple two-team scorekeeping designed to integrate with QLab.

It allows an operator to increment and decrement scores for Stage Left and Stage Right teams using Companion buttons, while QLab Text Cues display the scores on screen.

Scores are stored in Companion variables and sent to QLab using an AppleScript cue, allowing the on-screen display to update instantly.


Overview

This setup works as follows:

Bitfocus Companion
        ↓
Companion Variables
        ↓
QLab Text Cue Names
        ↓
Qlab Applescript Cue
        ↓
Qlab Text Cue Contents
        ↓
Project Scores On Video Stage

The Companion page controls score changes while QLab handles the visual display of the score.


Requirements

  • QLab (macOS)
  • Bitfocus Companion
  • A QLab workspace connected to Companion
  • The files included in this repository

Companion Setup

Create Custom Variables

In Bitfocus Companion, create the following custom variables:

Variable Purpose
stageLeftScore Stores the score for the Stage Left team
stageRightScore Stores the score for the Stage Right team
scoreIncrement Amount added or subtracted when score buttons are pressed

These variables are used by the Companion buttons included in the repository page.


QLab Setup

1. Create a Cue List

Create a new Cue List in your QLab workspace that will contain the cues used for score display.


2. Create the Score Update Cue

Create an AppleScript Cue and paste in the contents of the file:

ScoreUpdate.scpt

Set the cue number to:

ScoreUpdate

This cue updates the QLab Text Cues using the values received from Companion.


3. Create the Score Display Timeline

Create a Timeline Cue with the cue number:

ScoreShow

Inside this timeline, create two Text Cues:

Cue Number Purpose
ScoreSL Displays the Stage Left score
ScoreSR Displays the Stage Right score

Initial Text Cue State

Both text cues must start with an opacity of 0%.

This ensures the scores are hidden until the show cue runs.

Required Fade Cues

Inside the ScoreShow timeline you must add Fade Cues that fade both text cues:

Opacity: 0% → 100%
Duration: 1 second (recommended)

These fade cues are required for the score display system to work correctly, as they control when the scores appear on screen.

Optional Styling

The appearance of the score text can be customized however you like.

Recommended styling:

  • Large font
  • White text
  • Drop shadow
  • Positioned opposite each other at the bottom of the screen

This styling is optional and does not affect functionality.


4. Create the Score Hide Timeline

Create another Timeline Cue with the cue number:

ScoreHide

Inside this timeline add the following cues for both ScoreSL and ScoreSR:

  • Fade Cue
  • Stop Cue

The fade cues should have the following settings:

Opacity: 100% → 0%
Duration: 1 second

This timeline hides the score display and stops the text cues.


Import the Companion Page

Once the QLab cues and variables are configured:

  1. Import the Companion Page included in this repository.
  2. Confirm the variable names match:
stageLeftScore
stageRightScore
scoreIncrement
  1. Ensure Companion is connected to your QLab workspace.

Usage

Once setup is complete:

  • Use the Companion buttons to adjust team scores.
  • Companion updates the score variables.
  • Companion triggers the ScoreUpdate cue in QLab.
  • The Text Cues update automatically on screen.

To control visibility:

Cue Function
ScoreShow Fade the score display onto the screen
ScoreHide Fade the score display off the screen

Customization

You can easily adapt this system for different shows:

  • Change fonts, colours, and positioning in QLab
  • Adjust fade durations
  • Add animations or backgrounds
  • Extend to support more teams or rounds

License

This project is licensed under the MIT License.

Current Users

  • Unity Beach, Brean, UK

About

A system to keep score of two teams using a StreamDeck running Companion and the ability to display scores with Text Cues in Qlab5.

Topics

Resources

License

Stars

Watchers

Forks

Contributors