使用现有的命令和脚本,实现批量命令、导出的一种思路

需求

需求分析

  1. 上下2个 item 开始位置需要对齐
  2. 导出命名根据上面的 item

需求准备

  • 上述报幕文件名,需要预先做好命名准备
  • 2个文件需要同时拖进 REAPER。同时拖进 REAPER 会自动对齐2个 item(选择 Seperate tracks)
  • 新建一个工程,专门为此做准备。

步骤实现

:sweat_smile: 这里其实有2个对应不同细分需求的思路

  1. 把2个文件拖入 REAPER

    导入文件

  2. 处理文件

    思路A:一次只处理和导出,一组(2个)文件
    思路B:多次分别导入和处理多组文件,一次性导出

思路A步骤(同时包含处理和导出,只限每次一组)

提前保存好工程的导出设置

Transport: Go to start of project
Item: Select all items
Item edit: Move position of item to edit cursor
Script: FnA_Unselect Last Selected Item.lua
Script: acendan_Insert marker at start of selected items with item name.lua
Item: Select all items
Track: Select all tracks
Script: Archie_Var; Move cursor to next end-start of selected item.lua
Script: Archie_Item; Select items under edit cursor in selected tracks.lua
Item: Fade items in to cursor
Time selection: Set time selection to items
File: Render project, using the most recent render settings

思路A效果图:

思路A

思路B步骤(多次处理多组,手动一次导出)

工程导出的时候,使用 region

Track: Select all tracks
Time selection: Set time selection to items
Markers: Insert region from time selection
Script: Archie_Var; Move cursor to next end-start of selected item.lua
Script: Archie_Item; Select items under edit cursor in selected tracks.lua
Item: Fade items in to cursor
Script: X-Raym_Select all items in current region at edit cursor.lua
Script: amagalma_Rename region at edit cursor after the first selected item.lua

思路B效果图:

思路B

简单解释

  1. 上述以 lua 结尾的是脚本,均在社区镜像源有,作者为脚本名字中的作者名。

    • Archie-ReaScripts
    Script: Archie_Var; Move cursor to next end-start of selected item.lua
    Script: Archie_Item; Select items under edit cursor in selected tracks.lua```
    
    • X-Raym Scripts
    Script: X-Raym_Select all items in current region at edit cursor.lua
    
    • ReaTeam Scripts
    Script: X-Raym_Select all items in current region at edit cursor.lua
    Script: FnA_Unselect Last Selected Item.lua
    
    • ACendan Scripts
    Script: acendan_Insert marker at start of selected items with item name.lua
    
  2. 在不订制脚本的前提下,这种“见缝插针”的方式应该是极限了。如果有严格的文件命名规范,定制脚本还是会提高一些效率。

  3. 上述步骤不包含删除

  4. 上述步骤使用 custom action,建议选上 Consolidate undo points

  5. 不同的 fade in 形状,可以另外加 action,如 Item: Set fade-in shape to type 2

2 Likes