OSC to Text

317 views
Skip to first unread message

Clay Benning

unread,
Nov 19, 2022, 5:14:35 PM11/19/22
to ql...@googlegroups.com
Hi all,

We’ve been using QDisplay to show us the status of some console cues, but find it would be great to have QDisplay run on another Mac on our network (that isn’t running QLab) The cue status is then visible to others, in the pit for example. 

I’m sure smarter people than me could get AppleScript to trigger remotely over the network, but in the meantime, I hacked together a solution that allows you to send text via OSC to a remote floating window. The window runs as a stand-alone app on the remote machine.

I’ve include the app and an example QLab workspace in the the download link below. Hope someone else finds this useful.



Clay

micpool

unread,
Nov 19, 2022, 8:09:20 PM11/19/22
to QLab
I couldn't get your  app to run. It reports as damaged

You can get QDisplay to work on a second computer.

First enable remote apple events in system preferences sharing

tell application "QDisplay" of machine "eppc://username:pass...@computernameAsShowninPreferencesSharingPane.local" --e.g my-computer.local (hyphens replace spaces)
    set message to "hurrah"
    set messageSize to 100
    set messageColor to "yellow"
    set timeRemaining to 10
end tell

There is a delay, presumably caused by the authentication handshake, so it's not suitable for tight cueing purposes, but for general info should be fine.

Mic

micpool

unread,
Nov 20, 2022, 11:33:34 AM11/20/22
to QLab
Here's a beta of an app, OSCDisplay  which is functionally identical  to QDisplay but is controlled by OSC

 Screenshot 2022-11-20 at 16.27.17.png
Download here:

Port 8383

/message "Put Your Message Here"
/messageRGBA 1 1 1 1
/messageSize 50
/timeRemaining 10 

Right Click on App the first time you run it to clear security in the normal way.

Test thoroughly before using in a show critical environment etc.


There are a couple of differences. 

Message text can be any color, defined by /messageRGBA with  4 arguments, Red Green Blue and alpha, with values between 0 and 1.

Resizing the window scales the text, rather than cropping, so you can run the window full screen with smooth text outlines.


Mic





On Sunday, November 20, 2022 at 1:09:20 AM UTC micpool wrote:
I couldn't get your  app to run. It reports as damaged.

micpool

unread,
Nov 20, 2022, 11:40:25 AM11/20/22
to QLab
Screen recording attached
OSCdisplay.mov
Message has been deleted

micpool

unread,
Nov 20, 2022, 7:12:02 PM11/20/22
to QLab
This version uses even less CPU

Clay Benning

unread,
Nov 21, 2022, 7:41:27 PM11/21/22
to ql...@googlegroups.com
Hmmm, sorry about that. Looking deeper, it appears to be an issue with Gatekeeper, and the fact that you need to code sign the app from a Developer account (which I don’t have) when it doesn't copy to the system over a local network. 

I’ve attached the Vuo project file for anyone who want to go to the extra step of compiling it to an app on their own system.

As usual, Mic has done a more elegant and faster solution that 99% of us could have achieved. Thanks Mic!

Clay


OSC_Band_Rehearsal.vuo

micpool

unread,
Nov 21, 2022, 8:28:03 PM11/21/22
to QLab
Mine was created in Vuo as well. It wasn't code signed either, which means that you have to show in finder and then right click to confirm you want to open it.
The problem with your download was different, as the pop up reported it as damaged.

Mic
Message has been deleted
Message has been deleted

micpool

unread,
Nov 21, 2022, 9:18:46 PM11/21/22
to QLab
Hi Clay

I made an app from your Vuo file (not code signed) and uploaded it to my server. It downloaded and  opened  fine 

It's here if anyone wants to try it


Best
 Mic



Reply all
Reply to author
Forward
0 new messages