Does anyone know of a script that can read the numerical value(s) on one or more faders and add that value to the clip gain across all clips in the corresponding track and then reset the fader to 0?
Example:
Fader is set to +3.0 db, clip gain varies per clip for any particular track, but 3db is added to each clip when the command is run. So a clip that was at 0, is now +3 and one next to it that was at -3 is now 0.
I want to do this so i can ultimatly zero all the faders but keep the relative balance intact
- Kitch Membery @Kitch2021-09-13 22:14:40.704Z
Hi @Eric_Dan,
I think what you are after may already be a menu option in Pro Tools;
In Javascript it looks like this :-)
sf.ui.proTools.menuClick({ menuPath: ["Edit","Automation","Coalesce Clip Gain to Volume Automation"], });
Is that what you are after?
Rock on!
- EEric Dan @Eric_Dan
Ah, must be only on PT Ultimate. I’ve been meaning to pony up for it anyway….
- OIn reply toEric_Dan⬆:Owen Granich-Young @Owen_Granich_Young
I do this all the time in my workflow now. I did add a render clip gain in front of the coalesce becuase if you have any un-rendered clip gain it will blow that out when you run the coalesce. Saves buckets of time working with faders to get my edit balanced right and then still delivering flat faders to the Mixer.
- EEric Dan @Eric_Dan
This is exactly what I’m trying to do. Thanks!
- In reply toOwen_Granich_Young⬆:MMike @Mike
Can I program a workaround for Pro Tools (non ultimate) to just copy the fader value to the clip gain and zero the volumne afterwards? I don't need the automation but wan't to copy only static fader value to clip gain.
- AAndrew Downes @Andrew_Downes
Hi Mike
I think what you are asking will be carried out by this script. I use it to Gain Stage tracks that have been recorded to loud or to quietly.
The one caveat is not to have ant audio starting a absolute zero. For some reason Pro Tools won't clear volume automation at the zero point so you sometimes end up with the automation still written to the track.
Cheerssf.ui.proTools.menuClick({ menuPath: ["Edit","Automation","Coalesce Volume Automation to Clip Gain"], }); sf.ui.proTools.menuClick({ menuPath: ["Edit","Clear Special","All Automation"], }); const VOLUME = '0'; sf.ui.proTools.appActivateMainWindow(); const checkBoxes = [ { Title: 'I/O', State: "Enable" }, ]; function setCheckboxState(item) { sf.ui.proTools.menuClick({ menuPath: ['View', 'Edit Window Views', item.Title], targetValue: item.State, onError: "Continue", }) } function setupScreen() { //Make sure I/O visible in Edit window checkBoxes.forEach(setCheckboxState); } function setVolume() { sf.ui.proTools.mainWindow.invalidate(); if (sf.ui.proTools.selectedTrack.outputWindowButton.value.invalidate().value != 'open') sf.ui.proTools.selectedTrack.outputWindowButton.elementClick(); var win = sf.ui.proTools.floatingWindows.allItems.filter(function (w) { return w.children.whoseTitle.is('Volume').exists; })[0]; win.textFields.whoseTitle.is('Volume Numerical').first.elementClick(); sf.keyboard.type({ text: VOLUME }); sf.keyboard.press({ keys: 'enter' }); } function main() { setupScreen(); //Save the name of the originally selected track var originalTrackName = sf.ui.proTools.selectedTrackNames[0]; //Select the desired track sf.ui.proTools.selectedTrackNames }; //Set the volume setVolume(); //Select original track again sf.ui.proTools.selectedTrackNames sf.keyboard.press({ keys: "cmd+alt+w", }); main();
- MMike @Mike
Many Thanks! But I think this is only working with ProTools Ultimate since of the "menuPath: ["Edit","Automation","Coalesce Volume Automation to Clip Gain"]," which I do not have in my NONE-Ultimate ProTools 2021.12.0. I think I need something which writes the read volume numerical to the clip gain fader ... but that is maybe only possible with a Ultimate Version of ProTools.
- AAndrew Downes @Andrew_Downes
Sorry Mike. I didn't realise there were differences in Automation other than Trim mode between the two Pro Tools versions
- MMike @Mike
It seems my 'new' 2022.4 Protools Studio have 'Coalesce Volume Automation to Clip Gain' now :)
- In reply toOwen_Granich_Young⬆:RRandall Smith @Randall_Smith
If you coalesce volume to clip gain, instead of convert it will ADD the volume automation to the existing clip gain, without blowing it out.
I would change the script to that command...
Randall
- OOwen Granich-Young @Owen_Granich_Young
Oh man I don't think my PT had coalesce clipgain yet, why i was running the render then covert! I gotta go look and update my button !