Log in

View Full Version : Merging 1, 4channel WAV [Lf-Rf-Ls-Rs] and 1, 2channel WAV [C-LFE]


Maskawanian
14th August 2009, 13:44
I wish to merge two wav files extracted from a DVD Audio while retaining all 6 channels. Two files were extracted 1, 4channel WAV [Lf-Rf-Ls-Rs] and 1, 2channel WAV [C-LFE]. The end result that i desire is a 6 channel FLAC file with the channels appropriately mapped. If someone could point me in the right direction on how to do this that would be great. Now I prefer to use Linux, however I can use windows as well for this if necessary.

tebasuna51
14th August 2009, 15:09
Use an .avs file like:
f = WavSource("x:\path\4chan_FR_FL_BL_BR.wav")
a = GetChannel(f, 1, 2)
b = GetChannel(f, 3, 4)
t = WavSource("x:\path\2chan_FC_LF.wav")
MergeChannels(a, t, b)
and convert to flac with BeHappy or wavi.