|
|
|
08-03-2020, 12:52 PM
|
#1
|
Human being with feelings
Join Date: Mar 2020
Posts: 3
|
Rendering Multiple tracks of different lengths with no padding for silence
Heya, I'm finding this to be a tough one. I'm wondering if Reaper can do this. I have 90 voice files that I need rendered separately. They are for a project that does not require them to be lined up, but their lengths must be preserved. Imagine it's for a computer game.
I can do each file separately but that will take a long time. regions won't work as each track is a different length.
How can I render all the files in a queue, preserving the length of each track without having to do each track separately?
Am I look at SWS? Automation? Any help would be appreciated.
|
|
|
08-03-2020, 01:21 PM
|
#2
|
Human being with feelings
Join Date: Dec 2011
Location: Portsmouth, UK
Posts: 4,376
|
Welcome to the forums.
Quote:
Originally Posted by vonboo
Am I look at SWS?
|
Possibly. You're certainly looking at a custom action.
Something like this?
^ This being:
X-Raym_Render selected tracks individually through master.lua
https://www.extremraym.com/en/my-reaper-scripts/
If you can specify exactly what you want the custom action to do, somebody will show you how to do it.
|
|
|
08-03-2020, 02:04 PM
|
#3
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
Would either one of the last two options there do or did I misunderstand?
|
|
|
08-03-2020, 02:41 PM
|
#4
|
Human being with feelings
Join Date: Dec 2011
Location: Portsmouth, UK
Posts: 4,376
|
Quote:
Originally Posted by nofish
Would either one of the last two options there do or did I misunderstand?
|
LOL
I guess that would do what OP wants.... I have a habit of missing the obvious.
|
|
|
08-03-2020, 09:18 PM
|
#5
|
Human being with feelings
Join Date: May 2017
Posts: 3,204
|
Sounds like a job for the region render mattix...
Create a region for each piece of audio you want rendered, and pick the track(s) to render for each region.
If you have large numbers of items to do, there might be an action to autoconvert all the selected items to separate regions and name each by itemname or trackname.
|
|
|
06-20-2023, 12:51 AM
|
#6
|
Human being with feelings
Join Date: Dec 2012
Posts: 13,335
|
Created a script for this exact task. Instead of Selected tracks Razor edit areas should be used as a source. You'll get all the tracks from the beginning of the project to the last item.
Code:
reaper.PreventUIRefresh(1)
reaper.Undo_BeginBlock2(0)
for i=0, reaper.CountTracks(0)-1 do
tr = reaper.GetTrack(0, i)
count_items = reaper.CountTrackMediaItems(tr)
if count_items > 0 then
item = reaper.GetTrackMediaItem( tr, count_items-1 )
item_end = reaper.GetMediaItemInfo_Value( item, 'D_POSITION' ) + reaper.GetMediaItemInfo_Value( item, 'D_LENGTH' )
reaper.GetSetMediaTrackInfo_String(tr, 'P_RAZOREDITS', '0.0 '..tostring(item_end)..' ""', 1 )
end
end
reaper.Undo_EndBlock2(0, 'vitalker razor edits: enclose everything between start of project and last item on all tracks', 1)
reaper.PreventUIRefresh(-1)
Here is another version, which selects everything between left edge of first item and right edge of last item:
Code:
reaper.PreventUIRefresh(1)
reaper.Undo_BeginBlock2(0)
reaper.SelectAllMediaItems( 0, 1 )
reaper.Main_OnCommandEx(42630, 0, 0)
for i=0, reaper.CountTracks(0)-1 do
tr = reaper.GetTrack(0, i)
if reaper.CountTrackMediaItems(tr) > 0 then
retval, razors = reaper.GetSetMediaTrackInfo_String(tr, 'P_RAZOREDITS', '', 0 )
first = razors:match('[%d.]+ ')
last = razors:match('[%d.]+ ""$')
reaper.GetSetMediaTrackInfo_String(tr, 'P_RAZOREDITS', first..last, 1 )
end
end
reaper.Undo_EndBlock2(0, 'vitalker razor edits: enclose everything between first and last item on all tracks', 1+4)
reaper.PreventUIRefresh(-1)
|
|
|
06-21-2023, 01:06 AM
|
#7
|
Human being with feelings
Join Date: Dec 2012
Posts: 13,335
|
Quote:
Originally Posted by vitalker
Created a script for this exact task. Instead of Selected tracks Razor edit areas should be used as a source. You'll get all the tracks from the beginning of the project to the last item.
Here is another version, which selects everything between left edge of first item and right edge of last item:
|
A little gif showing what they do:
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 04:40 AM.
|