Skip to content

python script used to combine multiple channels of multiple .wav files into one multi-channel .wav file

Notifications You must be signed in to change notification settings

JiachuanDENG/combine-multiple-channels-of-audio-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

combine-multiple-channels-of-audio-files

python script used to combine multiple channels of multiple .wav files into one multi-channel .wav file

Usage

change fns ,chns,output_fn in combineMultiChannels.py accordingly. Then do python3 combineMultiChannels.py

Example

If we want to get the channel 1's data of 1.wav

alt text

and channel 0 and channel 2's data of 2.wav

Screen Shot 2019-12-11 at 7 49 28 PM

We 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 Screen Shot 2019-12-11 at 7 56 33 PM

About

python script used to combine multiple channels of multiple .wav files into one multi-channel .wav file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages