2021-01-08, 05:40 PM
(2021-01-08, 04:51 PM)Chewtobacca Wrote:(2021-01-08, 01:38 PM)allldu Wrote: So I copied your code to AvsPmod and made a script. So what should I do next?
Open the script in VirtualDub2 or BeHappy. Render the audio to FLAC (or whatever).
EDIT: You might find it useful to dub the audio to a blank video clip. I had assumed that you were working on a project of some kind; otherwise, I don't know where you'd have across seven mono wav files.
Code:#AviSynth
fl=WavSource("L.wav")
fr=WavSource("R.wav")
c=WavSource("C.wav")
lfe=WavSource("LFE.wav")
bc=WavSource("BC.wav")
sl=WavSource("SL.wav")
sr=WavSource("SR.wav")
MergeChannels(fl,fr,c,lfe,bc,sl,sr)
#Assuming 23.976fps input -- change "fps" and "fps_denominator" if necessary
AudioDub(
\BlankClip(c, fps=24000,fps_denominator=1001,width=720, height=480),
\MergeChannels(fl,fr,c,lfe,bl,br,sl,sr)
\)
I'm sure it's pretty simple, but somehow I don't see an option to open scripts in BeHappy when I load the wav files into it, and VirtualDub just can't open audio without video, and when I try Run scripts... it throws out an error.