Waves Tune Live Key-Change Script
Hello! I am working in a live sound Pro Tools broadcasting setup, and I'd love to use my streamdeck to change the key for the Waves Live Tune vocal tuning plugin. When the band is switching between songs, we'd love to be able to press one button on the stream deck to switch the key for each of the four vocal tracks with an instance of the Waves Live Tune plugin. Is this doable? If so, is there already a script in the store or would this be something we need to make from scratch? Thanks!
- Dustin Harris @Dustin_Harris
Super easy if you save each key center as a preset :)
- EEric Larson @Eric_Larson
Thanks Dustin! I created the presets in the waves plugin but i'm having a hard time finding an action that will open up the preset selecting pulldown menu... the only one I found was "select insert preset" but it says “please use the output of another action to connect this property” and I can’t find a solution to that.
Does this require a script instead of a simple macro? Thanks for your help!
samuel henriques @samuel_henriques
Try "open and select item in popup menu".
Or save it on the numbers and do "click on ui element"
- EEric Larson @Eric_Larson
Thanks Samuel! We got alot closer, but we're still running into an issue... I've got the macro to open up the pop up menu, but I can't get it to make a selection in the pop up menu. This is the error i'm getting now:
Error invoking AXElement: kAXErrorCannotComplete
SoundFlow.Shortcuts.AXUIElementException: kAXErrorCannotCompleteI tried adding a "UI Click Element" after getting the pop up menu but the menu doesn't stay open after i open another window. Any ideas? Thanks for all your help!
samuel henriques @samuel_henriques
Hello @Eric_Larson,
can you try what I made on the video and let me know if it works?
make sure to write the preset name EXACTLY as is on the plugin.
- EEric Larson @Eric_Larson
Samuel,
I was on vacation last week so I'm just checking this and it's looking like the link you sent expired... :( Would you be able to resend? Sincerely, thank you for the help!
samuel henriques @samuel_henriques
Hello @Eric_Larson,
here you go
https://we.tl/t-isB2DdAYUc- EEric Larson @Eric_Larson
Samuel,
I tried to view this earlier this week and it had already expired again... do you know how long the links last? I will be back in on Wednesday and I'll try to view it then? Or does it last one day? If so, would you be able to send it on Tuesday? This will be the last time... haha. Thanks man!
samuel henriques @samuel_henriques
Here you go, this one shouldn't expire.
https://youtu.be/h4f8mzc8l9g- EEric Larson @Eric_Larson
Samuel,
This worked! Thanks so much for your help. I am having the following issue pop up randomly, however... not sure what's causing it? Once this issue starts occuring, it doesn't work basically force quit the app... and even then, it comes back randomly later.
Also, when I go into activity monitor, there have been up to 4 instances of the Soundflow app running on my mac at the same time... I didn't even think that was possible haha. Have you run into this before? I'm wondering if this is part of my issue in some way.
samuel henriques @samuel_henriques
I don't think what you see in the activity monitor is wrong. Mine shows a couple of SoundFlow lines as well, I guess they are different process.
Ether way the error you are getting is not related, could you confirm that the popup is not being covered by any other window when you get the error? And could you share the code/macro you ended up getting?
- EEric Larson @Eric_Larson
Yeah, that makes sense. So when I go into Soundflow to setup the macro, it's not recognizing any of the tracks in Pro Tools... almost like it's connection to the software isn't working and needs to be refreshed. When we run the macro, it's giving us this issue... probably 75% of the time:
- EIn reply toEric_Larson⬆:Eric Larson @Eric_Larson
Here's what i'm referring to when i say it's not recognizing any of the tracks in Pro Tools... ordinarily, this pulldown menu shows all tracks in the Pro Tools session but intermittently it only shows the last one that we selected:
samuel henriques @samuel_henriques
Don't know why you don't see every track on the list but, this won't work on the mix window.
Most default soundFlow scripts are meant to work on the edit window, there is a lot more information and easier for soundFlow.
A common way to do what you are looking for is to focus the edit window, open the plugin, and finally open the mix window. It's really fast. Doing it on a script is easier as well.
try this,
function setPluginPreset({ pluginName: pluginName, presetName: presetName, slotNumber: slotNumber, trackName: trackName }) { const isMixWindowFocused = sf.ui.proTools.getMenuItem('Window', 'Mix').isMenuChecked if (isMixWindowFocused) { sf.ui.proTools.menuClick({ menuPath: ["Window", "Edit"], targetValue: "Enable", }); } try { const track = sf.ui.proTools.trackGetByName({ name: trackName, makeVisible: true }).track const pluginWindow = sf.ui.proTools.windows.whoseTitle.is(`Plug-in: ${pluginName}`).first track.trackScrollToView() track.trackInsertToggleShow({ targetValue: "Enable" }); pluginWindow.elementWaitFor(); pluginWindow.popupButtons.allItems[3].popupMenuSelect({ menuPath: presetName, }); } catch (err) { throw err } finally { if (isMixWindowFocused) { sf.ui.proTools.menuClick({ menuPath: ["Window", "Mix"], targetValue: "Enable", }); } } } sf.ui.proTools.appActivate() sf.ui.proTools.invalidate() // Set info here, must type exactly as in pro tools setPluginPreset({ pluginName: "FabFilter Pro-Q 3", presetName: ["Preset 1"], slotNumber: 1, trackName: "Track 1" })