python script used to combine multiple channels of multiple .wav files into one multi-channel .wav file
change fns
,chns
,output_fn
in combineMultiChannels.py
accordingly.
Then do python3 combineMultiChannels.py
If we want to get the channel 1's data of 1.wav
and channel 0 and channel 2's data of 2.wavWe set: fns = ['1.wav','2.wav'] chns = [[1],[0,2]] output_fn = './output/out.wav'
in combineMultiChannels.py
, it will give us the output file out.wav