I use Audiosuite a lot and have my most used plugins opening from buttons on my Stream Deck which is really handy.
The only issue I have is that some of them (e.g. Waves RCompressor) are either mono or stereo and I don't want to spend two buttons on my deck just for opening one plugin.
Is it possible to open either the mono or stereo version of the plug from the same button based on my selected clip or track in PT?
So if I have a stereo clip/track selected the button will open the RCompressor Stereo and if I have a mono clip/track selected the button will open RCompressor Mono.
- samuel henriques @samuel_henriques
Hello @Joachim_Jorddal,
try this:
const track = sf.ui.proTools.selectedTrack const width = track.groups.whoseTitle.is('Audio IO').first.sliders.whoseTitle.contains('Pan').count; if (width == 1) { // Open Mono Plugin } else { // Open Stereo Plugin }
- JJoachim Jorddal @Joachim_Jorddal
It works perfectly. Thank you so much!
- In reply tosamuel_henriques⬆:OOwen Granich-Young @Owen_Granich_Young
This is really cool and incredibly useful for pesky Altiverb. Templated and building with it now.
Question, how hard would it be to add QUAD, 5.0 and 5.1 to this?
Bests,
OwenChris Shaw @Chris_Shaw2023-05-18 20:25:31.538Z
There's no elegant way to determine a track width greater than stereo. The only way I know of is to get all of the available plugins from the popup menu and check if they end with "(5.0)" , (5.1) etc.
Chris Shaw @Chris_Shaw2023-05-18 20:26:33.083Z
and even that isn't reliable if a previous insert is changing the track width.
- In reply toChris_Shaw⬆:OOwen Granich-Young @Owen_Granich_Young
Ahh, oh well, not a hill I must die on :) This is already super useful and handles most case scenarios
- DIn reply toJoachim_Jorddal⬆:AK @DJAK
Hi. I posted recently for a script like this and haven't received a response but this looks like what I am looking for. I tried it but it does not work. I added this script both before and after the plugin and neither worked. Is there a fix for this? Thanks