Old 05-28-2020, 11:38 PM   #1
DSG
Human being with feelings
 
DSG's Avatar
 
Join Date: May 2020
Location: Kazakhstan
Posts: 24
Default Script: Render time selection to new track

Quick render of all or selected tracks to stem track using the time selection as boundaries
(SWS REAPER Extension required http://www.sws-extension.org/)

Key features:
- Habitual way if you used FL earlier
- Automatically prevents multiple rendering of selected tracks

Changelog:
v 1.1 (08.06.2020)
[bugfix] Now script excludes childrens of selected folder tracks (earlier it was the other way around)
[feature] Now script renders all tracks if there are no selected
v 1.2 (11.06.2020)
[bugfix] Fixed partial script execution without time selection

This script available for install and update from Reapack

Attached Files
File Type: lua DSG_Render time selection to new track.lua (4.5 KB, 315 views)

Last edited by DSG; 06-11-2020 at 02:54 AM. Reason: new version
DSG is offline   Reply With Quote
Old 05-29-2020, 01:05 AM   #2
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,114
Default

Could you clarify what it exactly does?
Buy One is online now   Reply With Quote
Old 05-29-2020, 01:26 AM   #3
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
Default

Nicely done DSG!!

Quote:
Originally Posted by Buy One View Post
Could you clarify what it exactly does?
It exports the selected track to a stereo file using the Time Selection as boundaries.

I hope this helps.

Cheers,

Andrew K
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
Thonex is offline   Reply With Quote
Old 05-29-2020, 01:37 AM   #4
DSG
Human being with feelings
 
DSG's Avatar
 
Join Date: May 2020
Location: Kazakhstan
Posts: 24
Default

Quote:
Originally Posted by Thonex View Post
Nicely done DSG!!



It exports the selected track to a stereo file using the Time Selection as boundaries.

I hope this helps.

Cheers,

Andrew K
Thank you!
Updated.

Last edited by DSG; 05-29-2020 at 02:21 AM.
DSG is offline   Reply With Quote
Old 05-29-2020, 02:09 AM   #5
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,114
Default

Quote:
Originally Posted by Thonex View Post
Nicely done DSG!!

It exports the selected track to a stereo file using the Time Selection as boundaries.

I hope this helps.

Cheers,

Andrew K
Thank you.
Buy One is online now   Reply With Quote
Old 05-29-2020, 03:12 AM   #6
uksnowy
Human being with feelings
 
uksnowy's Avatar
 
Join Date: Feb 2008
Location: 6950 DK
Posts: 659
Default

I can see you have posted the file but will it be in the Reapack also.?
__________________
REAPING HAVOC SINCE 2008
uksnowy is offline   Reply With Quote
Old 05-30-2020, 02:32 AM   #7
DSG
Human being with feelings
 
DSG's Avatar
 
Join Date: May 2020
Location: Kazakhstan
Posts: 24
Default

Quote:
Originally Posted by uksnowy View Post
I can see you have posted the file but will it be in the Reapack also.?
Done
DSG is offline   Reply With Quote
Old 06-08-2020, 04:11 AM   #8
DSG
Human being with feelings
 
DSG's Avatar
 
Join Date: May 2020
Location: Kazakhstan
Posts: 24
Default

new version available
DSG is offline   Reply With Quote
Old 06-08-2020, 06:29 AM   #9
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,114
Default

Much appreciated
Buy One is online now   Reply With Quote
Old 08-19-2020, 09:00 AM   #10
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,710
Default

Great script. Use it all the time!

Is there a way to provide a tail when rendering (to catch reverb tails etc) Or does that defeat the point?

I've tried adjusting the rendering settings in prefs but I'm assuming the script bypasses those....
mozart999uk is offline   Reply With Quote
Old 08-23-2020, 07:40 AM   #11
DSG
Human being with feelings
 
DSG's Avatar
 
Join Date: May 2020
Location: Kazakhstan
Posts: 24
Default

Glad you like it. I don't know a way to render tails ;(
I do it like this:

DSG is offline   Reply With Quote
Old 08-23-2020, 07:43 AM   #12
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,762
Default

Quote:
Originally Posted by DSG View Post
Glad you like it. I don't know a way to render tails ;(
I do it like this:

What is happening here? How are you rendering tails?
Coachz is offline   Reply With Quote
Old 08-23-2020, 07:56 AM   #13
DSG
Human being with feelings
 
DSG's Avatar
 
Join Date: May 2020
Location: Kazakhstan
Posts: 24
Default

Quote:
Originally Posted by Coachz View Post
What is happening here? How are you rendering tails?
Split your item, mute temporarily his right part, make time selection with space for tail and run the script.

Last edited by DSG; 08-24-2020 at 03:04 AM. Reason: grammar
DSG is offline   Reply With Quote
Old 08-23-2020, 08:03 AM   #14
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,762
Default

Brilliant script. Way to go.
Coachz is offline   Reply With Quote
Old 08-23-2020, 12:18 PM   #15
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 610
Default

I already did this, the same thing in my opinion There is also a version with options (see my signature - the "Mixdown selection" script) But I made a script that renders the selected items, like in Studio One. Therefore, this is a little different, in little things

Last edited by Yanick; 08-23-2020 at 12:27 PM.
Yanick is offline   Reply With Quote
Old 08-23-2020, 01:47 PM   #16
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 610
Default

Quote:
Originally Posted by mozart999uk View Post
Is there a way to provide a tail when rendering (to catch reverb tails etc) Or does that defeat the point?
In my mixdown selection script, I made it so that the tail can be manually entered. This cannot be done natively yet. You need to get the transient threshold in real time, in short it is difficult

Last edited by Yanick; 08-23-2020 at 02:00 PM.
Yanick is offline   Reply With Quote
Old 08-23-2020, 09:58 PM   #17
DSG
Human being with feelings
 
DSG's Avatar
 
Join Date: May 2020
Location: Kazakhstan
Posts: 24
Default

Quote:
Originally Posted by Yanick View Post
I already did this, the same thing in my opinion There is also a version with options (see my signature - the "Mixdown selection" script) But I made a script that renders the selected items, like in Studio One. Therefore, this is a little different, in little things
Nice scripts. I searched for a long time, but didn't find them when i started to learn Reaper ;( On the other hand, i did exactly what i need
DSG is offline   Reply With Quote
Old 08-24-2020, 01:29 AM   #18
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,710
Default

Quote:
Originally Posted by DSG View Post
Glad you like it. I don't know a way to render tails ;(
I do it like this:

Cool thanks. I'll just get used to adding a bit of extra time selection :-)
mozart999uk is offline   Reply With Quote
Old 01-28-2021, 02:49 AM   #19
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,710
Default

Love this script. Use it every day!

Wondered if there was a way for me to tweak a few things?

Is it possible if the item I am rendering is in a folder, to render to the track below but still within the folder? At the moment it renders to a new track outside the folder

Also I wondered if it's possible to change the naming convention?

My idea would be $trackname "-audio.

Happy to tweak the script if you can give me some pointers :-)
mozart999uk is offline   Reply With Quote
Old 01-28-2021, 06:15 AM   #20
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 610
Default

Quote:
Originally Posted by mozart999uk View Post
Love this script. Use it every day!

Wondered if there was a way for me to tweak a few things?

Is it possible if the item I am rendering is in a folder, to render to the track below but still within the folder? At the moment it renders to a new track outside the folder

Also I wondered if it's possible to change the naming convention?

My idea would be $trackname "-audio.

Happy to tweak the script if you can give me some pointers :-)
My scripts had a similar question, it seems? The fact is that the track is natively created over the old track, and it is very undesirable to change this (that is, you need to add an extra "crutch" code)
But as for the name, it's easy. I currently support only one Mixdown selection script, so I can drop a link in a personal message.

Last edited by Yanick; 01-28-2021 at 06:21 AM.
Yanick is offline   Reply With Quote
Old 01-28-2021, 06:19 AM   #21
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 610
Default

In addition, you cannot make a track within a folder. Due to the fact that if there are already FX on the track folder, they are applied twice (first after rendering, then the signal of the new track will be sent to the track folder in real time)
Yanick is offline   Reply With Quote
Old 01-28-2021, 06:26 AM   #22
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 610
Default

Quote:
Originally Posted by Yanick View Post
In addition, you cannot make a track within a folder. Due to the fact that if there are already FX on the track folder, they are applied twice (first after rendering, then the signal of the new track will be sent to the track folder in real time)
True, it depends on the initial method of the script, which sums several signals into one track. Can be done through sends (which is ignoring routing), or through the global track folder I have two of these methods
Yanick is offline   Reply With Quote
Old 01-28-2021, 06:57 AM   #23
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,710
Default

Thanks Yanick. :-)

The DSG script doesn't render through folder FX so there'd be no problems there :-)

One of my most common uses is just to render a VSTi into audio but keep it within the same folder .

It's just a PITA to keep going to find the track and then moving it back within the folder :-)
mozart999uk is offline   Reply With Quote
Old 01-28-2021, 01:15 PM   #24
reapero
Human being with feelings
 
Join Date: Aug 2011
Posts: 508
Default

Oh so this script doesn't apply the fx on the folder track? Then this works better for my workflow than Yanick's.

I think it must be relatively easy to move the rendered track to the folder of the selected tracks. I might give this a stab if I have a bit of time next week
reapero is offline   Reply With Quote
Old 01-29-2021, 12:23 AM   #25
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 610
Default

Quote:
Originally Posted by reapero View Post
Oh so this script doesn't apply the fx on the folder track? Then this works better for my workflow than Yanick's.

I think it must be relatively easy to move the rendered track to the folder of the selected tracks. I might give this a stab if I have a bit of time next week
I still have another script from the repository (Yaunick_Render selected tracks to stereo track obeying time selection (ignore routing)), it seems similar to DSG...

Last edited by Yanick; 01-29-2021 at 12:49 AM.
Yanick is offline   Reply With Quote
Old 01-29-2021, 01:57 AM   #26
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,710
Default

Quote:
Originally Posted by reapero View Post
Oh so this script doesn't apply the fx on the folder track? Then this works better for my workflow than Yanick's.

I think it must be relatively easy to move the rendered track to the folder of the selected tracks. I might give this a stab if I have a bit of time next week
That would be great if you can.

I haven't had time yet to learn much scripting so if you happen to get a chance to explain what you did that would be awesome :-)
mozart999uk is offline   Reply With Quote
Old 01-29-2021, 02:07 AM   #27
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,710
Default

Quote:
Originally Posted by Yanick View Post
I still have another script from the repository (Yaunick_Render selected tracks to stereo track obeying time selection (ignore routing)), it seems similar to DSG...
hi. Yes - apart from putting the new track above to old one, that seems very similar. 😀

It does however put the track inside an existing folder which is really useful. :-)

I see the section where you can name it (currently "stem")

Is there a way to get it to grab the tracks name or item name and then append something to it?
mozart999uk is offline   Reply With Quote
Old 01-29-2021, 02:36 AM   #28
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 610
Default

Quote:
Originally Posted by mozart999uk View Post
Is there a way to get it to grab the tracks name or item name and then append something to it?
Yes, I'll do it a little later
Yanick is offline   Reply With Quote
Old 01-29-2021, 02:44 AM   #29
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 610
Default

Quote:
Originally Posted by mozart999uk View Post
It does however put the track inside an existing folder which is really useful. :-)
Otherwise, it will not be correct here ... That is, if the render does not apply FX from the track folder, then the track cannot be outside the folder. This is the difference between my Mixdown selection script and Render tracks (ignore routing) script
Yanick is offline   Reply With Quote
Old 01-29-2021, 03:18 AM   #30
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,710
Default

Quote:
Originally Posted by Yanick View Post
Yes, I'll do it a little later
Wow great thanks!
mozart999uk is offline   Reply With Quote
Old 01-29-2021, 10:44 AM   #31
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 610
Default

Quote:
Originally Posted by mozart999uk View Post
Wow great thanks!
I did this You can download from the repository
Yanick is offline   Reply With Quote
Old 01-29-2021, 12:16 PM   #32
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,710
Default

Quote:
Originally Posted by Yanick View Post
I did this You can download from the repository
Great! I'll check it out :-)
mozart999uk is offline   Reply With Quote
Old 01-30-2021, 05:07 AM   #33
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,710
Default

It works really well. Thanks :-) Tried to work out what you've done from looking at the old and new script but can't quite get it! :-)

Have just sent a small donation for your time.

Is it possible to name the new rendered media item with the name of the previous one?
mozart999uk is offline   Reply With Quote
Old 01-30-2021, 06:07 AM   #34
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 610
Default

Quote:
Originally Posted by mozart999uk View Post
It works really well. Thanks :-) Tried to work out what you've done from looking at the old and new script but can't quite get it! :-)

Have just sent a small donation for your time.

Is it possible to name the new rendered media item with the name of the previous one?
Thanks! Yes, I'll do it a little later
Yanick is offline   Reply With Quote
Old 01-30-2021, 06:38 AM   #35
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,710
Default

Quote:
Originally Posted by Yanick View Post
Thanks! Yes, I'll do it a little later
That's very kind! Thank you :-)
mozart999uk is offline   Reply With Quote
Old 02-03-2021, 10:31 AM   #36
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,710
Default

Hi Yanick. Did you get a chance to make the tweak?
mozart999uk is offline   Reply With Quote
Old 02-04-2021, 08:40 AM   #37
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 610
Default

Quote:
Originally Posted by mozart999uk View Post
Hi Yanick. Did you get a chance to make the tweak?
Hi mozart999uk! Yes, I did, if I understood correctly how

Last edited by Yanick; 02-04-2021 at 10:14 AM.
Yanick is offline   Reply With Quote
Old 02-05-2021, 01:46 AM   #38
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,710
Default

Thanks Yanick. Unless I'm doing something wrong...

It still seems to be naming the new item "-stem".
mozart999uk is offline   Reply With Quote
Old 02-05-2021, 03:26 AM   #39
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 610
Default

Quote:
Originally Posted by mozart999uk View Post
Thanks Yanick. Unless I'm doing something wrong...

It still seems to be naming the new item "-stem".
Where in the parameters "stem", put just "" (or ''), then it will not write anything
Yanick is offline   Reply With Quote
Old 02-05-2021, 03:28 AM   #40
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 610
Default

Quote:
Originally Posted by mozart999uk View Post
Thanks Yanick. Unless I'm doing something wrong...

It still seems to be naming the new item "-stem".
Or should the item be named as a track? So Far I did not understand the task
Yanick is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:52 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.