Old 01-23-2021, 07:20 AM   #1
Rodilab
Human being with feelings
 
Join Date: Jan 2021
Location: Paris
Posts: 18
Default Render FX on wholes items

Hi ��

Is there a way to render FX on the wholes items while keeping the edit trim?

Explanation :
I want to apply one (or more) FX to one (or more) item(s). So I put them in "take FX".
For resource issues, I would like to apply/render theses FX. But I want to keep items separate to continue editing. So, no Render/Freeze Tracks. Two options :
  1. Glue each items
    • Pros: Applies item FX, not track FX
    • Cons : Each item must be glued independently
  1. Select all items, and "Apply track/item FX to items as new takes"
    • Pros: rendering is done for each item independently and with a single click.
    • Cons : Also applies track FX...

And both methods have a huge problem: the rendering doesn't apply to the whole item, so can't grow edges after that.

I don't like comparisons, but...
In Pro Tools, to do this, you can apply an "Audio Suite FX" and select "creating individuals files" and "whole file".
This way, you can apply the effect to several items without reducing future editing possibilities.

Any issues ?
Thanks ! ��

Last edited by Rodilab; 01-23-2021 at 09:27 AM.
Rodilab is offline   Reply With Quote
Old 01-23-2021, 07:56 AM   #2
jrk
Human being with feelings
 
Join Date: Aug 2015
Posts: 1,498
Default

What's wrong with freezing? You can always unfreeze if you want to make changes.

And why do you need to keep the "edit trim" (is this take volume envelope?)

I'm missing something, clearly.

P.S. I'm sure it's possible to script something...
copy the take volume envelope;
bypass the take volume envelope
glue the item
paste the take volume envelope;
__________________
it's meant to sound like that...

Last edited by jrk; 01-23-2021 at 08:01 AM.
jrk is online now   Reply With Quote
Old 01-23-2021, 09:26 AM   #3
Rodilab
Human being with feelings
 
Join Date: Jan 2021
Location: Paris
Posts: 18
Default

Thank you for the answer,

When I say "trim", I mean to enlarge the size of the item, not the trim volume.
"trim left/right edge of item" or "grow left/right edge of item".
My fault... the correct term is "grow edge item" (first post edited).

Exemple :
  • I have some different audio files in one track.
  • After some edits, I need to denoise only two of these items. So I open two takes FX (iZotope RX) on these items.
  • To save CPU, I decide to glue these items to apply the denoise FX.
  • I continue editing, and later, I decide to grow left/right edge of these items
  • But as I previously glued them, there is no sound beyond the edges...

I'd just like apply the FX to the whole file, so that I can modify the edges later.
Rodilab is offline   Reply With Quote
Old 01-23-2021, 11:42 AM   #4
jrk
Human being with feelings
 
Join Date: Aug 2015
Posts: 1,498
Default

I see what you mean. Sorry. In this kind of case, I wonder if you'd be better using the RX standalone as an external editor? With appropriate backups, of course. i.e. de-noise the source media / file.
__________________
it's meant to sound like that...
jrk is online now   Reply With Quote
Old 01-23-2021, 02:20 PM   #5
Rodilab
Human being with feelings
 
Join Date: Jan 2021
Location: Paris
Posts: 18
Default

Thx jrk,

Too bad... I hope it will be possible soon. Maybe I can post it as "Feature Request" ?
Rodilab is offline   Reply With Quote
Old 01-24-2021, 05:15 AM   #6
Rodilab
Human being with feelings
 
Join Date: Jan 2021
Location: Paris
Posts: 18
Default

Ok, I found a solution !
A make a new Cycle Action like this :

Code:
If the next action is ON
Options: Toggle trim content behind media items when editing Options: Disable trim content behind media items when editing Time Selection: Set time selection to items Item: Set item start/end to source media start/end Item: Render items to new take Go to start of time selection Item edit: Trim right edge of item to edit cursor Go to end of time selection Item edit: Trim right edge of item to edit cursor Options: Enable trim content behind media items when editing
Else
Time Selection: Set time selection to items Item: Set item start/end to source media start/end Item: Render items to new take Go to start of time selection Item edit: Trim right edge of item to edit cursor Go to end of time selection Item edit: Trim right edge of item to edit cursor
It works well but only on one item at a time.

Last edited by Rodilab; 01-24-2021 at 06:57 AM.
Rodilab is offline   Reply With Quote
Old 01-25-2021, 07:04 AM   #7
Rodilab
Human being with feelings
 
Join Date: Jan 2021
Location: Paris
Posts: 18
Default

I finally make a ".lua" ReaScript to do this on one or many items.
Let me know if you see any errors

Code:
--[[ 
Author : Rodrigo Diaz
Name : Render whole items in new take
Description : Rend items selected in new takes to apply takes FXs
but do it in whole audio file item, so you can expend item size later
--]]

function render()
  --Save all selected items in a list
  Item_list={}
  for i=0, count-1 do
    Item = reaper.GetSelectedMediaItem(0, i)
    Item_list[i] = Item
  end
  
  --Render each item, one by one
  for i=0, count-1 do
    --Select only one item
    reaper.SelectAllMediaItems(0,0)
    reaper.SetMediaItemSelected(Item_list[i],1)
    --Apply Reaper main actions
    reaper.Main_OnCommand(40290,0)--Time Selection on item
    reaper.Main_OnCommand(42228,0)--Set item start/end to source media start/end
    reaper.Main_OnCommand(41999,0)--Render item in new take
    reaper.Main_OnCommand(40630,0)--Go to Time Selection in
    reaper.Main_OnCommand(41305,0)--Trim left edge of item
    reaper.Main_OnCommand(40631,0)--Go to Time Selection out
    reaper.Main_OnCommand(41311,0)--Trim right edge of item
  end
end

function main()
  count = reaper.CountSelectedMediaItems(0)
  if count > 0 then
    reaper.Undo_BeginBlock(0)
    trim_toggle = reaper.GetToggleCommandState(41117)
    if trim_toggle == 1 then
      -- Trim toggle ON
      reaper.Main_OnCommand(41121,0) -- Trim content behind off
      render()
      reaper.Main_OnCommand(41120,0) -- Trim content behind on
    else
      -- Trim toggle OFF
      render()
    end
    reaper.Undo_EndBlock("Render whole item to new take",0)
  else
    --No item selected, do nothing  
  end
end

main()
Attached Files
File Type: lua Render whole items in new take.lua (1.5 KB, 7 views)

Last edited by Rodilab; 01-25-2021 at 07:10 AM.
Rodilab is offline   Reply With Quote
Old 01-25-2021, 05:45 PM   #8
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 2,023
Default

Nice and useful script.
Thank you for sharing.
akademie 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 10:02 AM.


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