|
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
#11
|
||||
|
||||
Re: Shortcut for spacing audio clips equally
Quantizing to grid will make them all start at a certain grid, but not necessarily end on one.
If the clips are not of equal length, then there will always be a different amount of time between the end of a clip and the start of the next clip. And due to this difference,a tempo operation will not create an equal amount of spacing. It will enlarge the difference. Clips with equal lengths is a "special case" , I was thinking of a "general" solution. The bottom track is the original, the clips were pasted to the track above, and then a tempo operation from 120bpm to 60 bpm.
__________________
PT 11.3.2 HD , RME Fireface 800 , Genelec 5.1 , Win7 64bit Professional , i7 3930 Hexcore , 48GB Ram , SSD System + SSD PT Session/Audio + SSD Video (all Samsung 840 Evo) + Spinner 1TB Data , 2x Radeon HD 5450 \\ SD 633 Femto MKH8060 MKH8070 MKH30/MKH40 DPA4060 Last edited by joachim; 02-22-2017 at 08:09 AM. Reason: grammar |
#12
|
|||
|
|||
Re: Shortcut for spacing audio clips equally
Quote:
Of course ! Sorry, major brain fart there. The thing is, I'm certain I solved this problem years ago, and that this was at least part of the procedure - I'm sure it will show up in an old post of mine, just wracking my brain to try and remember (a big problem I've noticed since posting from a phone, rather than whilst in front of the DAW - too much background noise to focus my mind ). Sent from my iPhone using Tapatalk |
#13
|
||||
|
||||
Re: Shortcut for spacing audio clips equally
Your idea with the tempo operation is totally valid and smart, when dealing with clips of equal length.
__________________
PT 11.3.2 HD , RME Fireface 800 , Genelec 5.1 , Win7 64bit Professional , i7 3930 Hexcore , 48GB Ram , SSD System + SSD PT Session/Audio + SSD Video (all Samsung 840 Evo) + Spinner 1TB Data , 2x Radeon HD 5450 \\ SD 633 Femto MKH8060 MKH8070 MKH30/MKH40 DPA4060 |
#14
|
|||
|
|||
Re: Shortcut for spacing audio clips equally
Thanks for this, Joachim. Unfortuantely, I'm running PT on mac.
|
#15
|
|||
|
|||
Re: Shortcut for spacing audio clips equally
Sorry for being late here. To clarify I want the same amount of space (time) in between clips (of different lengths, by the way) - from the end of clip A to beginning of clip B, and so on.
|
#16
|
||||
|
||||
Re: Shortcut for spacing audio clips equally
https://www.keyboardmaestro.com/main/
For Mac. Highly recommended by Mac users. Scripting opens unbelievable possibilities. And the code for this spacing action is simple.
__________________
PT 11.3.2 HD , RME Fireface 800 , Genelec 5.1 , Win7 64bit Professional , i7 3930 Hexcore , 48GB Ram , SSD System + SSD PT Session/Audio + SSD Video (all Samsung 840 Evo) + Spinner 1TB Data , 2x Radeon HD 5450 \\ SD 633 Femto MKH8060 MKH8070 MKH30/MKH40 DPA4060 |
#17
|
|||
|
|||
Re: Shortcut for spacing audio clips equally
Quote:
activate application "Pro Tools" tell application "System Events" tell process "Pro Tools" key code 48 using {shift down} -- forward tab Key delay 0.5 key code 9 using {command down} -- v key delay 0.5 key code 48 delay 0.5 key code 48 end tell end tell Select the the amount of space you want in an empty section of a track, Copy, Select Shuffle mode, go to the end of the first clip and run the application.
__________________
macOS Sonoma 14.2 • Intel Core i9 MacBook Pro(16,1) 2019, 32 GB RAM • Pro Tools Studio 2023.12, RME Babyface Pro |
#18
|
||||
|
||||
Re: Shortcut for spacing audio clips equally
That looks like Stig's idea in post #2, but in code. Thanks for sharing.
How is your script triggered again for subsequent clips ? I am not familiar with Apple Script.
__________________
PT 11.3.2 HD , RME Fireface 800 , Genelec 5.1 , Win7 64bit Professional , i7 3930 Hexcore , 48GB Ram , SSD System + SSD PT Session/Audio + SSD Video (all Samsung 840 Evo) + Spinner 1TB Data , 2x Radeon HD 5450 \\ SD 633 Femto MKH8060 MKH8070 MKH30/MKH40 DPA4060 |
#19
|
|||
|
|||
Re: Shortcut for spacing audio clips equally
Quote:
This was just meant to be a simple example of what can be done with just macOS built in apps.
__________________
macOS Sonoma 14.2 • Intel Core i9 MacBook Pro(16,1) 2019, 32 GB RAM • Pro Tools Studio 2023.12, RME Babyface Pro Last edited by zoff; 03-04-2017 at 10:56 AM. |
#20
|
||||
|
||||
Re: Shortcut for spacing audio clips equally
Another example, again with Autohotkey for Win, with a GUI, Video : https://www.dropbox.com/s/yl8m0xsosd...Start.mp4?dl=0
Code : Gui, New,,Spacing Clip End to Clip Start Gui,+AlwaysOnTop Gui, Add, Text,, First Clip must be selected and placed manually before this action. Gui, Add, Text,, Minutes ? Gui, Add, Edit, Number vMinutes gLimit Gui, Add, Text,, Seconds ? Gui, Add, Edit, Number vSeconds gLimit Gui, Add, Text,, Milliseconds ? Gui, Add, Edit, Number vMilliseconds gLimit Gui, Add, Text,, How many Clips after the already placed one to be placed ? Gui, Add, Edit, Number vConsecutive gLimit Gui, Add, Button, Default gSpaceNextClipNow, Space next single Clip now Gui, Add, Button, Default gSpaceDefinedNumberOfClipsNow, Space defined Number of Clips now Gui, show WinMenuSelectItem, Pro Tools, , View, Main Counter, Minutes:Se&conds return SpaceNextClipNow: { Gui, Submit, NoHide WinActivate, ahk_class DigiAppWndClass send {Up} send {NumpadDiv} send {NumpadDiv} send {NumpadDiv} sleep 10 send %Minutes% sleep 10 send {Right} send %Seconds% sleep 10 send {Right} send %Milliseconds% sleep 10 send {Enter} send {Up} send {Shift}+{NumpadDiv} send {Tab} send {Shift}+{Tab} send h send {Shift}+{NumpadDiv} Gui, show return } SpaceDefinedNumberOfClipsNow: Loop, %Consecutive% gosub , SpaceNextClipNow return Limit: Gui, Submit, NoHide if Minutes > 9 ControlSend, Edit1, {Ctrl Down}a{Ctrl Up}{Del} if Seconds > 59 ControlSend, Edit2, {Ctrl Down}a{Ctrl Up}{Del} if Milliseconds > 999 ControlSend, Edit3, {Ctrl Down}a{Ctrl Up}{Del} if Consecutive < 1 then Consecutive = 1 return And actually, I hope that some scripting gurus might chime in to correct/optimize/give hints/ ... , because I am a scripting dummb nut. (Shan, I would appreciate your opinion ... )
__________________
PT 11.3.2 HD , RME Fireface 800 , Genelec 5.1 , Win7 64bit Professional , i7 3930 Hexcore , 48GB Ram , SSD System + SSD PT Session/Audio + SSD Video (all Samsung 840 Evo) + Spinner 1TB Data , 2x Radeon HD 5450 \\ SD 633 Femto MKH8060 MKH8070 MKH30/MKH40 DPA4060 Last edited by joachim; 03-16-2017 at 05:32 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Click & drag shortcut for swapping clips? | take77 | Pro Tools 12 | 5 | 02-14-2016 07:28 AM |
is there a shortcut for seperate and mute clips at the same time | evilstudios | Pro Tools 10 | 0 | 11-24-2013 06:22 PM |
Clear selected clips shortcut not working hd 10.3.2 | dgoodi22 | macOS | 7 | 02-08-2013 04:49 PM |
Ungroup Clips Shortcut Not Working? | ChazC | Windows | 6 | 01-29-2012 03:32 PM |
Spacing between regions - Shortcut?? | Rhythmproject | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) | 3 | 12-02-2010 03:57 PM |