Old 09-18-2023, 01:04 PM   #1
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,821
Default Render Razor Edit Areas Together to Audio

Hi, I've really tried but this is outside my skills. Hope this might be easy for someone willing to help!

SR : Make Razor Edit Areas, script renders all areas together to a new item.

Pseudocode:

1. Make a table of all tracks that currently contain Razor Edits, "retracks"
2. Make a temporary dummy track at the root level of routing, "dummysend"
3. Send each track in "retracks" to "dummysend", post-fader
4. Render post-fader the "dummysend" track, with boundaries from Left Edge of First RE to Right Edge of Last RE
5. Place the "dummysend" Render track near your last-selected track or cursor
6. Delete the "dummysend" track, which deletes all the temporary sends
__________________
FERRO
Songs I've Written/Produced : https://sptfy.com/7SIW
Instagram : http://www.instagram.com/ferropop

Last edited by ferropop; 09-18-2023 at 07:32 PM.
ferropop is online now   Reply With Quote
Old 09-18-2023, 03:28 PM   #2
smandrap
Human being with feelings
 
smandrap's Avatar
 
Join Date: Feb 2021
Location: Right here
Posts: 429
Default

This sounds VERY hard (to me at least). Reason:



How should this render be handled?

EDIT: But wait, we have Razor edit areas as source in the Render window. So maybe it could be used.

Last edited by smandrap; 09-18-2023 at 03:38 PM.
smandrap is offline   Reply With Quote
Old 09-18-2023, 07:31 PM   #3
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,821
Default

I imagined starting with the simple case of a single Razor Area, with a clear start and end, and then going from there in complexity once that's shown to be possible.
__________________
FERRO
Songs I've Written/Produced : https://sptfy.com/7SIW
Instagram : http://www.instagram.com/ferropop
ferropop is online now   Reply With Quote
Old 09-18-2023, 07:33 PM   #4
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,821
Default

The idea here would be: draw a box - render the box to Audio. Mucking with Time Selection for this precise style of edit still feels so strange to me.
__________________
FERRO
Songs I've Written/Produced : https://sptfy.com/7SIW
Instagram : http://www.instagram.com/ferropop
ferropop is online now   Reply With Quote
Old 09-19-2023, 06:28 AM   #5
reapero
Human being with feelings
 
Join Date: Aug 2011
Posts: 490
Default

Its definitely a cool idea
reapero is offline   Reply With Quote
Old 09-21-2023, 08:32 AM   #6
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,821
Default

Like the number of times I accidentally attempt to use Razor Edits to "Render post-fader" type behiaviour, really speaks volumes. Can a scripter comment on if something like this is doable? It seems that if I can literally perform those operations by hand, that in most cases it should be reasonably straight forward?
__________________
FERRO
Songs I've Written/Produced : https://sptfy.com/7SIW
Instagram : http://www.instagram.com/ferropop
ferropop is online now   Reply With Quote
Old 09-21-2023, 11:06 AM   #7
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,128
Default

Ferro have you tried the Stem Manager script? Will that get you the right end result?
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode is offline   Reply With Quote
Old 09-21-2023, 11:58 AM   #8
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,821
Default

Quote:
Originally Posted by Triode View Post
Ferro have you tried the Stem Manager script? Will that get you the right end result?
I'll look again, I think that script does far more than what I'm hoping for, and maybe not as directly. Like I'm hoping to simply get the equivalent of "Render Tracks in Time Selection to new track (post fader)" with Razor Edits.

RE are just such a more direct way to interact with media, it's such a better suited natural extension for those actions than Time Selection x Tracks.
__________________
FERRO
Songs I've Written/Produced : https://sptfy.com/7SIW
Instagram : http://www.instagram.com/ferropop
ferropop is online now   Reply With Quote
Old 09-21-2023, 01:07 PM   #9
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,349
Default

So you want to basically render, let's say, a track, but only the razored areas, ignoring the gaps? So you skip them?
Or rather a file where you only hear audio where razor areas are, the gaps are silence?

I don't really get it from your pseudocode, after having read it.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Bugreports&Docs notes please do here:https://github.com/Ultraschall/ultra...-reaper/issues - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 09-21-2023, 01:18 PM   #10
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,128
Default

In the native render to file dialog there's an option to render razor edit areas. I've never used it but in combination with hitting solo on the track combo you want that might do it? (and possibly bypass master track FX?)
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode is offline   Reply With Quote
Old 09-21-2023, 02:04 PM   #11
ProG4mr
Human being with feelings
 
ProG4mr's Avatar
 
Join Date: Jan 2012
Posts: 13
Default

There is this very useful script:
Render time selection to new track

https://forum.cockos.com/showthread.php?t=237319

Is the same you describe, only with selected tracks + time selection instead of razor area
ProG4mr is offline   Reply With Quote
Old 09-21-2023, 08:53 PM   #12
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,821
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
So you want to basically render, let's say, a track, but only the razored areas, ignoring the gaps? So you skip them?
Or rather a file where you only hear audio where razor areas are, the gaps are silence?

I don't really get it from your pseudocode, after having read it.
Hi Mespotine, I'm starting with the simple case here of a single area selection :



Even if just this could be scripted it would be a huge life improvement.

Again, what I want is "the contents of the area selection" be rendered "together", and to achieve this :

1. I make a new Track, and Send all the tracks involved in the Razor Edit to this new Track "DUMMYSEND".
2. I then Render this track DUMMYSEND, at the time selection the same size as the width of the Razor Edit. DUMMYSEND is receiving the desired signal from the involved tracks in the RE, so rendering this gets us what we want.
3. Then I clean up... delete the receive and it deletes all the sends automatically -- perfect.
__________________
FERRO
Songs I've Written/Produced : https://sptfy.com/7SIW
Instagram : http://www.instagram.com/ferropop
ferropop is online now   Reply With Quote
Old 09-21-2023, 09:00 PM   #13
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,821
Default

And yes definitely more complex to have non-contiguous area selections... I'm just hoping the simplest case I show above is possible, as it's already a tremendous improvement.
__________________
FERRO
Songs I've Written/Produced : https://sptfy.com/7SIW
Instagram : http://www.instagram.com/ferropop
ferropop is online now   Reply With Quote
Old 09-21-2023, 10:38 PM   #14
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,349
Default

Quote:
Originally Posted by ferropop View Post
Hi Mespotine, I'm starting with the simple case here of a single area selection :



Even if just this could be scripted it would be a huge life improvement.

Again, what I want is "the contents of the area selection" be rendered "together", and to achieve this :

1. I make a new Track, and Send all the tracks involved in the Razor Edit to this new Track "DUMMYSEND".
2. I then Render this track DUMMYSEND, at the time selection the same size as the width of the Razor Edit. DUMMYSEND is receiving the desired signal from the involved tracks in the RE, so rendering this gets us what we want.
3. Then I clean up... delete the receive and it deletes all the sends automatically -- perfect.
I understood that they shall be rendered together. My question was: shall the finished file have them rendered one after another, without gaps?
Or with silence at the points where there were no razor areas?
I try to determine a scrioting path, but I need to know in detail what the final file should be.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Bugreports&Docs notes please do here:https://github.com/Ultraschall/ultra...-reaper/issues - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 09-22-2023, 02:17 AM   #15
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 789
Default

Quote:
Originally Posted by ferropop View Post
SR : Make Razor Edit Areas, script renders all areas together to a new item.
I've been using a script for a long time that fits this description. This could be a Razor, a selected area, or simply selected items:
Attached Files
File Type: lua Mixdown.lua (6.5 KB, 16 views)
cool is online now   Reply With Quote
Old 09-22-2023, 09:41 AM   #16
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,821
Default

Quote:
Originally Posted by cool View Post
I've been using a script for a long time that fits this description. This could be a Razor, a selected area, or simply selected items:
Thanks for sending this !

I'm trying to find out how it works, because if I phase invert against the original selection they don't cancel perfectly. Is this rendering through all the busses right up through the master?

When I do it by hand (like I show above) it's phase accurate -- just curious how this works before I start doing things that might get me in trouble with phase!
__________________
FERRO
Songs I've Written/Produced : https://sptfy.com/7SIW
Instagram : http://www.instagram.com/ferropop
ferropop is online now   Reply With Quote
Old 09-22-2023, 10:03 PM   #17
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 789
Default

Quote:
Originally Posted by ferropop View Post
Thanks for sending this !

I'm trying to find out how it works, because if I phase invert against the original selection they don't cancel perfectly. Is this rendering through all the busses right up through the master?

When I do it by hand (like I show above) it's phase accurate -- just curious how this works before I start doing things that might get me in trouble with phase!

I'll be honest - I don't know how it works My friend made this script a long time ago, I just modified the script by adding Razor Edit and removing some bugs.

I know for sure that it takes into account processing on the tracks, but not the master. But I don't know how it reacts to the busses.
cool is online now   Reply With Quote
Old 09-24-2023, 11:50 AM   #18
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,821
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
I understood that they shall be rendered together. My question was: shall the finished file have them rendered one after another, without gaps?
Or with silence at the points where there were no razor areas?
I try to determine a scrioting path, but I need to know in detail what the final file should be.
In the case of a single Razor Edit selection, there's no gaps so the finished file would be exactly from beginning of RE to end of RE.

With multiple RE, it would be cleaner if each RE "block" was a separate item... but I can see where this maybe gets complicated.

Even more complicated if you have non-rectangular selections... when I proposed this I was just thinking of the simplest situation and trying to script it myself so I didn't let myself think this far. One approach would be to separately render each Rectangular section per-track, put those items temporarily in a folder, and render the folder... this way you're getting the combination of them playing together from the separate renders.
__________________
FERRO
Songs I've Written/Produced : https://sptfy.com/7SIW
Instagram : http://www.instagram.com/ferropop
ferropop is online now   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 09:37 PM.


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