ReaperBatch:
Filter:
ReaCollider/Classes (extension) | Reaper

ReaperBatch
ExtensionExtension

Batch convert sound files using reaper

Description

This is an interface for reaper's command line batchconverter.

To make use of this, you need to open up Reaper and create and save an FX chain. The file name of the fx chain can then be used with this command to batch process sound files through that chain.

Class Methods

.convert

Arguments:

fileNameArray

Array of file name strings ala: [["infile1.wav", "outfile1.wav"], ["infile2.wav", "outfile2.wav"]]

File name strings are standardized inside of the class so ~/yo.wavautomatically is unfolded to /home/mads/yo.wav

fxchainfilename

(use full path if specified, otherwise FxChains directory)

outpath

output folder path

sampleRate

Use source if nil

numChans

Use source if nil

dither

1=dither, 2=noise shaping, 3=both)

usesrcstart

1=write source media BWF start offset to output)

usesrcmetadata

1=attempt to preserve original media file metadata if possible)

padstart

(leading silence in sec, can be negative)

padend

(trailing silence in sec, can be negative)

outpattern

A wildcard as string

normalize

1=peak, 2=true peak, 3=lufs-i, 4=lufs-s, 5=lufs-m,

normalizedb

Normalization level in dB

normalizeonlyiftooloud

1=normalize only if too loud

brickwall

(1=peak, 2=true peak, 2nd parameter is dB)

brickwalldb

Brickwall level in dB

fxnumchans

(if not specified, FX will be configured to 4 channels)

Examples