Pro Tools: how to extend regions by I frame and apply 1 frame fade?
Hello...I’m trying to figure out a way to automate cutting backgrounds for post production.
If I have 2 track groups (A and B) for example:
I want to extend all regions on tracks in group A by exactly one frame over the regions in group B and then apply a one frame fade.
Is there a way to automate this?
Thanks
Jon
- BBrian Sloss @Bsloss
I have made a macro that basically does this using End to Fill Selection. In order for it to work, you have to select the point that you want the fades to begin and then select all of the regions(over any existing fades as well) you want to extend and fade. I will admit, my macro is quite clunky and I would love to see if there is a better way to do something like this myself. I also have one that cuts/separates all of the regions at a specified point and creates a fade on all regions at the cut point. Here's a screenshot of my existing macro.
You'll notice the nudge value on mine is for half a frame currently, if you want full frames you just need to change this to 1 frame.
I hope this helps, and if anyone has more info on this or better techniques, please do enlighten!
-Brian
- SIn reply toJon_Lipman⬆:Sreejesh Nair @Sreejesh_Nair
Hi Jon,
I had made this specific script as part of my package that is in the store. This is the code for Extending the Head of the clip by a frame and putting a fade:
sf.ui.proTools.appActivateMainWindow(); var selTab = sf.ui.proTools.getMenuItem('Options', 'Tab to Transient').exists; var oldNudgeValue = sf.ui.proTools.mainWindow.gridNudgeCluster.nudgeControls.nudgeValue.value.value; var optTab = true; if (selTab) { sf.keyboard.press({ keys: "cmd+alt+tab", }); var optTab = false; } if (oldNudgeValue != "00.00.00.01.00") { sf.ui.proTools.nudgeSet({ value: "00:00:00:01.00", }) sf.keyboard.press({ keys: "tab, numpad plus, alt+shift+tab, alt+numpad minus, numpad minus, f", }); sf.wait({intervalMs: 50}); sf.ui.proTools.nudgeSet({ value: oldNudgeValue }); } else { sf.keyboard.press({ keys: "tab, numpad plus, alt+shift+tab, alt+numpad minus, numpad minus, f", }); } if (!optTab) { sf.keyboard.press({ keys: "cmd+alt+tab", }); } This is the same one for the tail of the clip: sf.ui.proTools.appActivateMainWindow(); var selTab = sf.ui.proTools.getMenuItem('Options', 'Tab to Transient').exists; var oldNudgeValue = sf.ui.proTools.mainWindow.gridNudgeCluster.nudgeControls.nudgeValue.value.value; var optTab = true; if (selTab) { sf.keyboard.press({ keys: "cmd+alt+tab", }); var optTab = false; } if (oldNudgeValue != "00.00.00.01.00") { sf.ui.proTools.nudgeSet({ value: "00:00:00:01.00", }) sf.keyboard.press({ keys: "alt+tab, numpad minus, shift+tab, cmd+numpad plus, numpad plus, f", }); sf.wait({intervalMs: 50}); sf.ui.proTools.nudgeSet({ value: oldNudgeValue }); } else { sf.keyboard.press({ keys: "alt+tab, numpad minus, shift+tab, cmd+numpad plus, numpad plus, f", }); } if (!optTab) { sf.keyboard.press({ keys: "cmd+alt+tab", }); }
- In reply toJon_Lipman⬆:Christian Scheuer @chrscheuer2020-02-04 20:49:48.403Z
Cool script examples here.
I also have a long script that does most of this.
You can see an example here - along with discussion:
https://forum.soundflow.org/-502#post-9 - CIn reply toJon_Lipman⬆:Chris Testa @Chris_Testa
This is an older post. Is this script not working anymore? I tried it and it's not working. I didn't do anything but copy and paste it so I'm not sure what I might be doing wrong.