Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER General Discussion Forum

Reply
 
Thread Tools
Old 03-22-2025, 09:32 AM   #1
Hermetech Mastering
Human being with feelings
 
Hermetech Mastering's Avatar
 
Join Date: May 2019
Location: Milan, Italy
Posts: 625
Default Master Track Polarity as Toolbar Button (SOLVED)

I would like to create a new button on my main toolbar that replicates the function of the Phase/Polarity button in the Master Track's routing window (see attached image). I've searched the Actions List for Master, Phase and Polarity but can't find anything that does this. What do I need to do to get an "absolute phase" button on my main toolbar?
Attached Images
File Type: jpg Master Phase.jpg (124.4 KB, 39 views)

Last edited by Hermetech Mastering; 03-26-2025 at 03:13 AM.
Hermetech Mastering is offline   Reply With Quote
Old 03-22-2025, 05:16 PM   #2
lozzec
Human being with feelings
 
lozzec's Avatar
 
Join Date: Jan 2021
Location: France
Posts: 624
Default

I don't think there is an existing action for this.
However here is a quick and dirty little script. Dirty because it's hardcoded. If you add a second hardware send you have to modify manually the send_idx variable manualy.
A script that would work in all routing situations is beyond my skill.
Attached Files
File Type: lua ToggleMasterTrackPhasePolarity.lua (805 Bytes, 13 views)
lozzec is offline   Reply With Quote
Old 03-23-2025, 12:21 AM   #3
Hermetech Mastering
Human being with feelings
 
Hermetech Mastering's Avatar
 
Join Date: May 2019
Location: Milan, Italy
Posts: 625
Default

Thank you, I'll give it a go once I've worked out how to use scrips in Reaper, not done it before!
Hermetech Mastering is offline   Reply With Quote
Old 03-24-2025, 01:56 AM   #4
Hermetech Mastering
Human being with feelings
 
Hermetech Mastering's Avatar
 
Join Date: May 2019
Location: Milan, Italy
Posts: 625
Default

It works, thank you!

Is there anyway to stop the script window popping up every time? I'd like to just get the feedback of the status via the switched toolbar button.
Hermetech Mastering is offline   Reply With Quote
Old 03-24-2025, 07:17 AM   #5
Robkress
Human being with feelings
 
Robkress's Avatar
 
Join Date: Apr 2020
Posts: 145
Default

Herm,

Do you mean polarity or pan? When I read your post I imagined pan and had to reread to get polarity.

I am pretty sure there is an action for master track pan but don't know about polariy.
I connected the master track pan action to a hot key so I can toggle the stereo image quickly to check my mix.

Can I ask, what are you doing with the polarity on master track?

Cheers,

Rob
Robkress is offline   Reply With Quote
Old 03-24-2025, 07:45 AM   #6
Hermetech Mastering
Human being with feelings
 
Hermetech Mastering's Avatar
 
Join Date: May 2019
Location: Milan, Italy
Posts: 625
Default

No I mean polarity/absolute phase of the entire mix. It' the first thing I like to check on a client's mix. Often it sounds exactly the same, but sometimes one way sounds better than the other, you can usually hear it in the attack transient of the kick drum on electronic mixes. You want the initial transient pushing the speaker cone out, instead of sucking it in, if you see what I mean. Sometimes client's mixes have it other other way round and you can hear an immediate improvement.

I've previously been doing it with Voxengo MSED, but as it's right there in REAPER's Master Track routing window, it would be much quicker to assign it to a toolbar button or keyboard shortcut. But it's not available in the regular Action List, unfortunately.

I already have a toolbar button for monoing the Master mix, another check I do regularly.
Hermetech Mastering is offline   Reply With Quote
Old 03-24-2025, 02:12 PM   #7
bolgwrad
Human being with feelings
 
bolgwrad's Avatar
 
Join Date: Mar 2011
Location: On my arse in Glasgow, Scotland
Posts: 2,724
Default

Quote:
Originally Posted by Hermetech Mastering View Post
It works, thank you!

Is there anyway to stop the script window popping up every time? I'd like to just get the feedback of the status via the switched toolbar button.
Attached Files
File Type: lua Toggle Master Polarity (no console).lua (645 Bytes, 10 views)
__________________
www.sachetsofrelish.com
bolgwrad is offline   Reply With Quote
Old 03-24-2025, 04:00 PM   #8
lozzec
Human being with feelings
 
lozzec's Avatar
 
Join Date: Jan 2021
Location: France
Posts: 624
Default

Quote:
Originally Posted by Hermetech Mastering View Post
It works, thank you!
Is there anyway to stop the script window popping up every time? I'd like to just get the feedback of the status via the switched toolbar button.
Sorry I Forgoten to "disable" my "debug" messages.

You can download the script posted by bolgwrad, he already made the cleaning .
lozzec is offline   Reply With Quote
Old 03-24-2025, 07:12 PM   #9
serr
Human being with feelings
 
Join Date: Sep 2010
Posts: 13,537
Default

There's an existing action to toggle polarity on the selected track(s). If you're using a track for a mix/master bus (always a good idea) a custom action to select the track in question and then the toggle polarity action.

Avoiding the restricted Reaper master hardware out bus is usually a good idea. Tracks are always full feature.
serr is offline   Reply With Quote
Old 03-24-2025, 11:12 PM   #10
Hermetech Mastering
Human being with feelings
 
Hermetech Mastering's Avatar
 
Join Date: May 2019
Location: Milan, Italy
Posts: 625
Default

Thanks so much guys, will give the new script a go today!

Yeah I found the selected track action, and that's definitely another option.
Hermetech Mastering is offline   Reply With Quote
Old 03-25-2025, 12:42 AM   #11
Hermetech Mastering
Human being with feelings
 
Hermetech Mastering's Avatar
 
Join Date: May 2019
Location: Milan, Italy
Posts: 625
Default

New script works great, thank you!

One final question: I can't get the icon on the toolbar to toggle on/off. It changes colour/highlights when I hold it down with the left mouse button, but when I release the button it unhighlights again. I'd like it to toggle states. Do I need to use a different icon or change the settings? I got it working fine for my "Mono" button, but when I copy the settings for the new button it doesn't work. See attached pic.
Attached Images
File Type: jpg Polarity Button.jpg (312.2 KB, 8 views)
Hermetech Mastering is offline   Reply With Quote
Old 03-25-2025, 07:16 AM   #12
Hermetech Mastering
Human being with feelings
 
Hermetech Mastering's Avatar
 
Join Date: May 2019
Location: Milan, Italy
Posts: 625
Default

Just realised the new 7 theme (I'm still on 6) allows you to have a phase button right in the TCP itself, with the Theme Adjuster. This would solve all my problems, only I'm not ready to switch to the 7 theme yet, haha. Might have to have a play with it, unless anyone knows a way to get it on the TCP with the 6 theme?

For those wondering about the ability to hear absolute phase, take a nice snappy 909 kick drum (I'm using Drumazon 2) and flip the phase on it, totally hearable if your monitoring is good (ATCs here). One way pumps and the other way sucks, literally.
Hermetech Mastering is offline   Reply With Quote
Old 03-25-2025, 08:52 AM   #13
Hermetech Mastering
Human being with feelings
 
Hermetech Mastering's Avatar
 
Join Date: May 2019
Location: Milan, Italy
Posts: 625
Default

OK I found it, it was hiding by the M, S and Meter section!
Hermetech Mastering is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:28 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.