r182x installation

239 views
Skip to first unread message

Roly Botha

unread,
Dec 9, 2023, 7:58:40 AM12/9/23
to QLab
Hey all

Absolute noob with all things code. Am following along with the Level Playing Field instructions in the cookbook and have only got to the point of dragging r128x-cli into /bin:

Once you’ve installed r128x-cli into the /bin folder, right-click (or two-finger-click, or control-click) on it, mouse over to the Open with… submenu, and choose Terminal.

I may be being very dense but I can only find a folder with that name, which doesn’t have a right-click option to “open with” - can’t find a single file called that anywhere in the package I downloaded from GitHub. Am wondering if I’m missing something obvious here and any help hugely appreciated! 

Thanks!!

All my best,
Roly (they/them)

--
Roly Botha

Actor, Composer, Sound Designer

www.spotlight.com/9738-1272-3687 
www.rolybotha.co.uk

As a freelancer, I will sometimes send emails at unusual times. I never expect anyone to respond outside their own normal working hours. 

micpool

unread,
Dec 9, 2023, 8:05:18 AM12/9/23
to QLab
Does the attached help?
Screen Recording 2023-12-09 at 13.03.57.mov

Roly Botha

unread,
Dec 9, 2023, 12:56:10 PM12/9/23
to ql...@googlegroups.com
Thank for that Mic - that’s what’d have expected to get when I downloaded the package from GitHub but didn't. Screenshot of what I downloaded attached.

Have I just downloaded the wrong thing?

Screenshot 2023-12-09 at 17.23.10.png

All my best,
Roly (they/them)

--
Roly Botha

Actor, Composer, Sound Designer

www.spotlight.com/9738-1272-3687 
www.rolybotha.co.uk

As a freelancer, I will sometimes send emails at unusual times. I never expect anyone to respond outside their own normal working hours. 
--
Contact support anytime: sup...@figure53.com
Follow QLab on Threads: https://threads.net/@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/c6c7e525-4632-4782-9a39-1462dc721f8cn%40googlegroups.com.
<Screen Recording 2023-12-09 at 13.03.57.mov>

Roly Botha

unread,
Dec 9, 2023, 1:16:49 PM12/9/23
to QLab
Aha! I was looking at the most recent build on GitHub which’s far as I could see only seems to contain these files. I downloaded your example workspace from the Cookbook and saw that it contained a copy of the executable file in it! So all sorted. 

Thanks Mc, once again!

All my best,
Roly (they/them)

--
Roly Botha

Actor, Composer, Sound Designer

www.spotlight.com/9738-1272-3687 
www.rolybotha.co.uk

As a freelancer, I will sometimes send emails at unusual times. I never expect anyone to respond outside their own normal working hours. 
On 9 Dec 2023, at 17:24, Roly Botha <ro...@rolybotha.co.uk> wrote:

Thank for that Mic - that’s what’d have expected to get when I downloaded the package from GitHub but didn't. Screenshot of what I downloaded attached.

Have I just downloaded the wrong thing?

micpool

unread,
Dec 9, 2023, 1:50:50 PM12/9/23
to QLab
Hi Roly,

It’s unfortunate that attempts ,to keep this chapter up to date have been difficult because of the frequent changes to where the cli can be found  on GitHub, particularly as when you have it working it’s a really useful tool.

I’ll have another look at the chapter soon.

In the meantime, if you get it working, or even if you don’t, let me know which computer and OS you have tried it on.

Best

Mic

Roly Botha

unread,
Dec 9, 2023, 2:03:16 PM12/9/23
to ql...@googlegroups.com
Hey Mic

Yes I can imagine that frustration!! Just ran it (and your fab trim start time to transient) on a workspace with an absurd number of cues on my 2021 M1 Max, running Ventura 13.2. Flawless and hugely helpful. Thanks :)


All my best,
Roly (they/them)

--
Roly Botha

Actor, Composer, Sound Designer


As a freelancer, I will sometimes send emails at unusual times. I never expect anyone to respond outside their own normal working hours.

On 9 Dec 2023, at 18:50, micpool <m...@micpool.com> wrote:

Hi Roly,

josep...@gmail.com

unread,
Jan 4, 2024, 9:54:18 AM1/4/24
to QLab

Hey folks - I wish everyone a happy new year with great Qlab features!

Sorry, I need detailed help to install and using r128x on a M1 Mac Book and Qlab 4,
to use level playing field.Step by step. It `ll be great.

Thx Joseph

ThLevel Playing Field

micpool

unread,
Jan 4, 2024, 11:33:50 AM1/4/24
to QLab
Hi Joseph,
There are clearly some difficulties in getting this to  work for some users, so you are not alone.
Unfortunately, every time I install this on a new machine including M1's from Monterey to Sonoma, following the Cookbook instructions, it installs without problems and works first time.
I have therefore not been able to find the problem that some users are experiencing, because I can't replicate the problem.
In the previous conversations in this thread  the problem was that Roly had downloaded the package with the GUI from github. There is a copy of r128x in the CookBook download and this is the file to use. Once they used that file as described I think it installed and ran without problems.
In the second conversation in this thread there is a screen recording attached, which shows the file after it has been put in the usr/local/bin folder as described, then  being opened in terminal to set the permissions it needs before using from AppleScript.
At which point in the step by step instructions in the CookBook chapter are you getting stuck?

Mic

joseph homp

unread,
Jan 4, 2024, 11:53:53 AM1/4/24
to ql...@googlegroups.com
Hi Mic, thx for the fast answer.

I insttalled r128x-cli in the bin folder and opened 
with the terminal.

When I tested the example nothing happened ?


All master at - 10 .

Sorry - I forgot to say, that I use Mac OS Monterey.

Greetings Joseph



Am 04.01.2024 um 17:33 schrieb micpool <m...@micpool.com>:

Hi Joseph,
There are clearly some difficulties in getting this to  work for some users, so you are not alone.
Unfortunately, every time I install this on a new machine including M1's from Monterey to Sonoma, following the Cookbook instructions, it installs without problems and works first time.
I have therefore not been able to find the problem that some users are experiencing, because I can't replicate the problem.
In the previous conversations in this thread  the problem was that Roly had downloaded the package with the GUI from github. There is a copy of r128x in the CookBook download and this is the file to use. Once they used that file as described I think it installed and ran without problems.
In the second conversation in this thread there is a screen recording attached, which shows the file after it has been put in the usr/local/bin folder as described, then  being opened in terminal to set the permissions it needs before using from AppleScript.
At which point in the step by step instructions in the CookBook chapter are you getting stuck?

Mic
On Thursday, January 4, 2024 at 2:54:18 PM UTC josep...@gmail.com wrote:

Hey folks - I wish everyone a happy new year with great Qlab features!

Sorry, I need detailed help to install and using r128x on a M1 Mac Book and Qlab 4,
to use level playing field.Step by step. I t `ll be great.

Thx Joseph

ThLevel Playing Field

Roly Botha schrieb am Samstag, 9. Dezember 2023 um 13:58:40 UTC+1:
Hey all

Absolute noob with all things code. Am following along with the Level Playing Field instructions in the cookbook and have only got to the point of dragging r128x-cli into /bin:

Once you’ve installed r128x-cli into the /bin folder, right-click (or two-finger-click, or control-click) on it, mouse over to the Open with… submenu, and choose Terminal.

I may be being very dense but I can only find a folder with that name, which doesn’t have a right-click option to “open with” - can’t find a single file called that anywhere in the package I downloaded from GitHub. Am wondering if I’m missing something obvious here and any help hugely appreciated! 

Thanks!!

All my best,
Roly (they/them)

--
Roly Botha

Actor, Composer, Sound Designer

www.spotlight.com/9738-1272-3687 
www.rolybotha.co.uk

As a freelancer, I will sometimes send emails at unusual times. I never expect anyone to respond outside their own normal working hours. 

-- 
Contact support anytime: sup...@figure53.com
Follow QLab on Threads: https://threads.net/@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.

micpool

unread,
Jan 4, 2024, 12:16:29 PM1/4/24
to QLab
This may be another localisation issue. I think you are in Germany and are using a  comma as your decimal separator.

Does it work if you go into system preferences, Language and region, advanced, and reverse the number separators so grouping becomes comma and decimal full stop? (Or set your region to UK or United States)

Best

Mic

joseph homp

unread,
Jan 4, 2024, 1:34:02 PM1/4/24
to ql...@googlegroups.com
Wow Mic -
you are the greatest! After the reverse it works.
Fantastic - greetings from Germany.

Joseph

Message has been deleted

micpool

unread,
Jan 4, 2024, 2:21:45 PM1/4/24
to QLab
Thanks Joseph. 

I just realised there was a thread some time ago about r128x localisation, 


but it was actually about a brilliant, but highly complex  rewrite of the script in the Cookbook chapter that Florian Bech had done, which reduced much of my script to this line:

set theLUFS to (do shell script "echo $( " & (cliPath as string) & " " & (currentFileTarget as string) & " | tail -n1 | awk '{print $(NF-2)}' | sed 's/\\./,/g' )") as real

This version  didn't work on UK and US systems, because the sed bit changes the numerical format to comma decimal  separators so he amended it to the even more complex

set theLUFS to (do shell script "echo $( " & (cliPath as string) & " " & (currentFileTarget as string) & " | tail -n1 | awk '{print $(NF-2)}' | sed 's/\\./" & character 2 of((1 / 2) as text) & "/g' )") as real

I should have realised at the time that this also meant that the script in the Cookbook was likely not to work in regions using the comma decimal, but was somewhat distracted trying to understand all the pipes and awks and seds and the incorporation of a simple calculation to determine the decimal format in use. 

When I saw your post, I remembered from previous threads that you were in Germany, and this prompted me to test again by changing my localisation.

This localisation issue may well account for a number of reports from users saying that r128x doesn't work, which, because they coincided with the introduction of Apple Silicon and new OS's ,caused that to be the focus of trying to work out the problem, 

I'll rewrite this chapter soon,  amending the script to work in all regions, and test it thoroughly. 

Hopefully,  this may finally solve the problems other users have had getting this to work.

Best

Mic

micpool

unread,
Jan 4, 2024, 2:38:56 PM1/4/24
to QLab

Inevitably, I have now found that not only had I identified the localisation issue 3 years ago, I had actually posted a script with a decimal tester incorporated!


Unfortunately, with the whole global pandemic thing, the Cookbook wasn't revised to incorporate this and I'd completely forgotten about it until now!

Reply all
Reply to author
Forward
0 new messages