Hey SF. I've searched through the forum on Elastic Audio and how to enable/choose which type of elastic audio you want across selected tracks and I can't really find any new information on scripts for this that actually work. I had an old deck (2021) that had scripts that worked for this, but they no longer do. Is it because of ProTools and their updates? Are their any macros/scripts for this out there (current Pro Tools and SF version)? Can anyone point me in the right direction? Please and thanks in advance.
Linked from:
- Kitch Membery @Kitch2023-08-24 03:33:04.251Z
This should do the trick @Bergatron_Music :-)
/** * @param {object} obj * @param {string} obj.plugin */ function setElasticAudioPlugin({ plugin }) { const track = sf.ui.proTools.selectedTrack; const elasticAudioOrAraPlugInSelector = track.popupButtons.whoseTitle.is("Elastic Audio or ARA Plug-in selector").first elasticAudioOrAraPlugInSelector.popupMenuSelect({ menuPath: [plugin], isOption: true, isShift: true, }); } sf.ui.proTools.appActivateMainWindow(); setElasticAudioPlugin({ plugin: 'Varispeed' });
Bergatron Music @Bergatron_Music
Awesome. THANK YOU KITCH!!!!!! Works perfectly!
Kitch Membery @Kitch2024-08-13 18:29:16.382Z
You're totally welcome :-)
- AAsi Tal @Asi_Tal
:))
Now I just need to find how to toggle the "samples" and the "ticks" with the same script.
My purpose is before I drag a sample from splice to prepare the track so it would receive the sample tempo and be elastic.. Any idea where to find it?- AAsi Tal @Asi_Tal
FOUND IT !
// Set to Varispeed sf.ui.proTools.selectedTrack.popupButtons.allItems[5].popupMenuSelect({ isShift: true, isOption: true, menuPath: ["Varispeed"], }); // Set to Ticks sf.ui.proTools.selectedTrack.popupButtons.allItems[3].popupMenuSelect({ isShift: true, isOption: true, menuPath: ["Ticks"], });
Kitch Membery @Kitch2024-08-13 18:44:24.565Z
Nice one @Asi_Tal!
I've edited your last post so that the code is formatted correctly.
Please see the following thread on how to quote code in the SoundFlow Forum. :-)
- AAsi Tal @Asi_Tal
awesome !
I've tried the code now.., and it's not working as I want.
When I drag loops from Soundbase it comes automatically in "musical mode" (I come from cubase) or elastic mode. (which is great)
Now when I use the script and I drag loops from splice it doesn't have the little triangle mark on the right top corner ... and its now getting the tempo from the loop.
Any idea how to overcome this?Kitch Membery @Kitch2024-08-13 18:54:55.021Z
Are you using the script I shared?
- In reply toAsi_Tal⬆:
Kitch Membery @Kitch2024-08-13 18:57:45.161Z
I'm not sure I quite understand the workflow as I'm not a Cubase or Splice user. Maybe some screenshots or a screen recording will help me understand what you are after.
- In reply toAsi_Tal⬆:
Kitch Membery @Kitch2024-08-13 18:47:39.597Z
Here's an updated version :-)
/** * @param {object} obj * @param {string} obj.plugin */ function setElasticAudioPlugin({ plugin }) { const track = sf.ui.proTools.selectedTrack; const elasticAudioOrAraPlugInSelectorBtn = track.popupButtons.whoseTitle.is("Elastic Audio or ARA Plug-in selector").first; elasticAudioOrAraPlugInSelectorBtn.popupMenuSelect({ menuPath: [plugin], isOption: true, isShift: true, }); } /** * @param {object} obj * @param {string} obj.timebase */ function setTimebase({ timebase }) { const track = sf.ui.proTools.selectedTrack; const timebaseSelectorBtn = track.popupButtons.whoseTitle.startsWith("Timebase selector").first; timebaseSelectorBtn.popupMenuSelect({ menuPath: [timebase], isOption: true, isShift: true, }); } function main() { sf.ui.proTools.appActivateMainWindow(); sf.ui.proTools.mainWindow.invalidate(); setElasticAudioPlugin({ plugin: "Varispeed" }); setTimebase({ timebase: "Ticks" }); } main();
- AAsi Tal @Asi_Tal
The script is great.. and working.
somehow I guess I don't sucessed in what I'm trying to do.. so maybe its not the way.
Sorry for that , I'm really new with protools and I come from Cubase & Ableton .The first track is what I dragged from Soundbase. works great and adjusted its tempo to the project tempo.
The second track is the one I dragged from Splice. and it's tempo isn't adjust to the tempo of the project although I run the script.
Helppp :)
@KitchKitch Membery @Kitch2024-08-13 19:37:32.244Z
Thanks for clarifying,
It seems like this question is more about Pro Tools functionality rather than SoundFlow functionality
It may be best to ask about this workflow in Avid's Pro Tools forum. Or check Pro Tools documentation for this.
When you know/understand the process, you can then implement automating the workflow with SoundFlow. :-)
- In reply toAsi_Tal⬆:
Kitch Membery @Kitch2024-08-13 19:39:28.048Z
Splice may also have documentation for this. So it'd be worth checking their resources as well.
- AAsi Tal @Asi_Tal
Thanks Kitch,
This is what I did in a few days with SoundFlow.. and its on my touch screen
Works unbelievableKitch Membery @Kitch2024-08-13 19:53:45.222Z
That is awesome, @Asi_Tal!
Is there any reason you are using Open Stage Control for this? You could build this in SoundFlow's Surface editor. That way you'd be able to display it on an iOS or Android device.
- AAsi Tal @Asi_Tal
well I wanted to just plug my 24" screen to the computer and roll with it... and open stage control runs from the Mac Studio. I don't want use a device based on iSO or Android it always makes problems with the connections and the wifi (from my years of using this) etc .
Also I programed this originally for cubase which is my main DAW so far... I just replaced a few of the triggers.
we see if I could overcome a few difficulties with Protools and midi/instruments and I'll start producing only in PT. Seriously if they (PT) could make a few upgrades for producing like in cubase or Ableton (midi , samplers instruments it would be by far the DAW for everyone.
@kitchKitch Membery @Kitch2024-08-13 20:19:13.544Z
Sounds great man... Nice work on the setup. Be sure to tag us if you make any Social media posts about it ;-). The community loves this kind of stuff!
- AAsi Tal @Asi_Tal
Of course!
- In reply toAsi_Tal⬆:
Kitch Membery @Kitch2024-08-13 19:54:22.419Z
Looks like a lot of work went into this. :-)