Main Output Fader Step Control

167 views
Skip to first unread message

Scott Nelson

unread,
Mar 12, 2022, 4:18:15 AM3/12/22
to QLab
Hi All,

So I'm still learning QLab but need an ability to do something quickly so I thought I'd ask the group the best way to do this.

We have a Fireface UC that uses a very bizarre method for OSC commands. I would like to raise or lower its Main Output Fader a couple percentage points every time I press a hotkey or send QLab a MIDI command.

I would prefer to have it fade up (or down) to this new level so it's not too abrupt.

This is the OSC command I can use to move the fader:

/1/mastervolume #v# 

The values I can use are between 0 and 1.

(The '/1/' refers to the page number of a spreadsheet with all the OSC commands the FireFace UC understands on it.  Like I said, it's bizarre.)

Using a 1D fade in QLab works, but I can't figure out how to put anything but a number in the 'From:' or 'To:' fields of the fade dialog.

And QLab needs to know what the previous value was in order to increase that a couple percent, so I need some kind of variable storage...

Thanks for any help you can give me!

Cheers,

Scott

Scott Nelson

unread,
Mar 18, 2022, 10:23:55 AM3/18/22
to QLab
Hmm, no replies...  Perhaps it was unclear?

I just want to send an OSC command to our mixer in order to tell it to increase the volume 2%.  But I would like it to fade up the volume so it's not an abrupt change.

Any ideas?  Thanks in advance!!

Scott

micpool

unread,
Mar 18, 2022, 10:32:57 AM3/18/22
to QLab
I don't think it was unclear, it's probably the case that no-one has yet thought of an answer because, in QLab4,  the from and to parameters are not settable by  script or OSC.

Mic

micpool

unread,
Mar 18, 2022, 11:44:49 AM3/18/22
to QLab
This is the best solution I can think of for your problem.

Screen Shot 2022-03-18 at 15.42.10.png

It uses a memo cue numbered FAD which stores a value between 0 and 1 in its pre wait.
 hotkey 1  fires a script that subtracts 0.01 10 times from the value with a repeat loop. 

tell application id "com.figure53.QLab.4" to tell front workspace

try

set theLevel to pre wait of cue "FAD"

repeat 10 times

if theLevel > 0 then set theLevel to (theLevel - 0.01)

set the pre wait of cue "FAD" to theLevel

delay 0.3

end repeat

end try

end tell




It also starts the OSC cue:

/1/mastervolume #/cue/FAD/preWait# 

which sets your Fireface master to the level of the pre wait of cue "FAD" 10 times a second for 3.2 secs


Hotkey does similar but increasing the level until it is 1.0

There groups triggers stop peers so you can reverse the direction at any time.

Demo screen recording and workspace attached. (Change network address and port to your Fireface) 

Mic


Fireface control.mov
Control Fireface Master.qlab4

micpool

unread,
Mar 18, 2022, 12:15:18 PM3/18/22
to QLab
On Friday, March 18, 2022 at 3:44:49 PM UTC micpool wrote:
This is the best solution I can think of for your problem.
It uses a memo cue numbered FAD which stores a value between 0 and 1 in its pre wait.
 hotkey 1  fires a script that subtracts 0.01 10 times from the value with a repeat loop. 

You could also adapt this to use with That Little Box LevelBox plugin

Screen Shot 2022-03-18 at 16.13.05.png

-tell application id "com.figure53.QLab.4" to tell front workspace

try

set theLevel to pre wait of cue "FAD"

repeat 30 times

if theLevel < 70 then set theLevel to (theLevel + 0.1)

set the pre wait of cue "FAD" to theLevel

delay 0.1

end repeat

end try

end tell





/levelBox -#/cue/FAD/preWait#

Mic


levelBox control.mov
Control levelBox Master.qlab4

Scott Nelson

unread,
Mar 23, 2022, 10:31:04 AM3/23/22
to QLab
Dear Mic,

You are a genius.  Thank you so, so much!!!!  This is exactly what I needed.

Please tell me you have a Patreon account!

Cheers,

Scott

Reply all
Reply to author
Forward
0 new messages