Macro for Bulk Export of Stems - I Made One

Post general topics related to Cubase Pro 9, Cubase Artist 9 and Cubase Elements 9 here.
Post Reply
Stuart Stuart
New Member
Posts: 19
Joined: Thu Jan 03, 2013 2:38 am
Contact:

Macro for Bulk Export of Stems - I Made One

Post by Stuart Stuart » Wed Apr 12, 2017 2:28 am

Hi guys,

The bulk export / rendering tool in Cubase is awesome, but for me, comes with significant limitations. Mainly, it can't export folder tracks. Now, I don't know about you, but when I'm exporting stems, I don't want 20 stereo tracks of group / shout vocals, each one panned hard left and right. I want ALL of those, bounced as one stem, with FX. The render tool can't cope with that presently.

Sooooo ... using a combination of the Cubase macro function, and a little program called Macro Recorder, I've made a little script that works down the track list, and exports everything one by one. Here's what it does ...

1. Sets the output format to 24 bit
2. Puts the first track in solo, whether it be folder, audio or midi. I haven't tried with group channels, but I assume it could do that too
3. Copies the name of the track and pastes that into the file name box in the export audio dialog
4. Exports the track (you have to set the locators)
5. Put the next track in solo, and exports
6. Rinse and repeat
7. When it hits a track called ZZZ, it stops (you need to insert this track at the end of the tracks to be exported)

Anyway, this thing is saving me a bucketload of time. I've also worked up one that will do a 16 bit wav export then straight after, a 320k mp3 export.

J-S-Q
Member
Posts: 961
Joined: Fri Jan 14, 2011 1:45 pm
Location: London, UK
Contact:

Re: Macro for Bulk Export of Stems - I Made One

Post by J-S-Q » Wed Apr 12, 2017 6:26 pm

Can you share any more details on how this is done? Sounds like it could save me a huge amount of time!
Cubase Pro 9, Win10
CPU: AMD Threadripper 1920X. MOTHERBOARD: Gigabyte Aorus X399. RAM: 16GB Corsair Vengeance LPX. GRAPHICS CARD: Gigabyte GV-N96TSL GeForce 9600GT. SYSTEM DRIVE: Samsung 950 Pro M.2 SSD. AUDIO INTERFACE: Steinberg MR816-CSX CONTROLLER: Avid S3, Avid Artist Transport

Stuart Stuart
New Member
Posts: 19
Joined: Thu Jan 03, 2013 2:38 am
Contact:

Re: Macro for Bulk Export of Stems - I Made One

Post by Stuart Stuart » Wed Apr 12, 2017 11:43 pm

The essence of the macro ...

Solo track
Rename first selected track
Copy name
[At this point my macro checks for value "ZZZ" and stops if it finds it]
Export audio mixdown
Paste name
Tab to wav / mp3 format select box
Arrow up x 10 to ensure wav format
Tab to resolution box
Arrow down x 10 then up once to ensure 24 bit
Tab to enter button
Enter
Wait for process to finish
Unsolo
Select next track
REPEAT

J-S-Q
Member
Posts: 961
Joined: Fri Jan 14, 2011 1:45 pm
Location: London, UK
Contact:

Re: Macro for Bulk Export of Stems - I Made One

Post by J-S-Q » Thu Apr 13, 2017 10:49 am

Is this the software that you're using?

http://macrorecorder.co
Cubase Pro 9, Win10
CPU: AMD Threadripper 1920X. MOTHERBOARD: Gigabyte Aorus X399. RAM: 16GB Corsair Vengeance LPX. GRAPHICS CARD: Gigabyte GV-N96TSL GeForce 9600GT. SYSTEM DRIVE: Samsung 950 Pro M.2 SSD. AUDIO INTERFACE: Steinberg MR816-CSX CONTROLLER: Avid S3, Avid Artist Transport

Stuart Stuart
New Member
Posts: 19
Joined: Thu Jan 03, 2013 2:38 am
Contact:

Re: Macro for Bulk Export of Stems - I Made One

Post by Stuart Stuart » Thu Apr 13, 2017 12:42 pm

That's the one. I'm also using a couple of Macros in Cubase itself. Most importantly, I have one that does this ...

Solo (to unsolo the track just exported)
Select next track
Solo
Rename first selected track (to highlight the name, which lets me copy it to the clipboard)

Importantly, the "rename" key command wasn't available in Cubase 8. And without that, I can't think of a reliable way to harvest the name of the track for export.

J-S-Q
Member
Posts: 961
Joined: Fri Jan 14, 2011 1:45 pm
Location: London, UK
Contact:

Re: Macro for Bulk Export of Stems - I Made One

Post by J-S-Q » Thu Apr 13, 2017 4:58 pm

Great! Thanks very much for this useful info. I guess I should be able to figure out from here but will post if I run into any problems.
Cubase Pro 9, Win10
CPU: AMD Threadripper 1920X. MOTHERBOARD: Gigabyte Aorus X399. RAM: 16GB Corsair Vengeance LPX. GRAPHICS CARD: Gigabyte GV-N96TSL GeForce 9600GT. SYSTEM DRIVE: Samsung 950 Pro M.2 SSD. AUDIO INTERFACE: Steinberg MR816-CSX CONTROLLER: Avid S3, Avid Artist Transport

Willy Vargas
New Member
Posts: 2
Joined: Fri Jan 19, 2018 4:54 pm
Contact:

Re: Macro for Bulk Export of Stems - I Made One

Post by Willy Vargas » Sat Jan 27, 2018 4:24 pm

I have made a macro to make the export.
It works very well, but I can not insert the pause to "wait for the process to finish", I do not know how to insert it correctly, then the only thing I can do is calculate how long it will take approximately the export of each track and change it in each song .
It is not the idea to change it every time.

Can someone help me to do this please?

Thank you very much

User avatar
HorNet505
Junior Member
Posts: 185
Joined: Sun Dec 26, 2010 9:48 pm
Contact:

Re: Macro for Bulk Export of Stems - I Made One

Post by HorNet505 » Fri Jun 01, 2018 6:24 pm

macro recorder can track window-names or graphical areas.
So in basic you need MACRO RECORDER track a window "if open - wait, if closed goto next command" or make it "see" a window name and track it until it is gone.
Cubase user from the beginning :-)
-------specs-------
Cubase 10.x Pro
Dorico 2 Pro
Windows 7/10
VePro
Fireface UCX + Mindprint TRIO SPDIF
-------------------------------------------
www.ScoringStage.de

rockdude9k
Junior Member
Posts: 129
Joined: Fri Apr 19, 2013 2:43 am
Contact:

Re: Macro for Bulk Export of Stems - I Made One

Post by rockdude9k » Fri Jun 08, 2018 12:15 am

Wouldn't it be easier to just route all the relevant tracks through a Group and bounce the group?
Mac Pro 3.5Ghz 6-Core E5 64GB ram - 10.14.5 - Cubase Pro (Latest) - VEP6 - Two PC's - Waves - Lexicon - PLAY - Kontakt - Sound Toys...etc

ianfishercomposer
New Member
Posts: 7
Joined: Thu Mar 05, 2015 7:44 pm
Contact:

Re: Macro for Bulk Export of Stems - I Made One

Post by ianfishercomposer » Sun Jun 30, 2019 9:40 am

Is there a way others can download and use this macro?

Post Reply

Return to “General”

Who is online

Users browsing this forum: EmBee1972 and 6 guests