Re: Help with --combine merge
Jan Stary <[email protected]> Tue, 17 Oct 2023 14:05:58 +0200
| Newsgroups | gmane.comp.audio.sox |
|---|---|
| Message-ID | <[email protected]> |
On Oct 16 13:28:13, [email protected] wrote: > You are correct. > But I can't understand why > sox -M *.WAV out.wav > would work when > sox --combine merge *.WAV merged.wav > won't? But that's not what you are doing: sox --combine merge *.WAV >> merged.wav > On 16/10/2023 12:44, Jan Stary wrote: > > On Oct 15 15:27:56, [email protected] wrote: > > > I'm trying to combine a large amount of files into one single file and > > > wondered if someone could lend a hand. I have individual folders of 90 > > > 1-minute files in .wav and want to merge them into one 90-channel file. > > sox -M *.wav out.wav > > > > > for file in /dir > > > do > > > sox --combine merge *.WAV >> merged.wav > > > done > > That doesn't make any sense. > > > > > I'm getting some unexpected behaviour, it creates the file "merged.wav" but > > > does not write anything into it. It is the last file in the list where all > > > the files are combined, overwriting the contents of that file, as it becomes > > > a 89 channel file and not 90. > > Of course: sox --combine merge *.WAV > > merges all the given files (arguments) into the last argument. > > > > > > > > _______________________________________________ > > Sox-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/sox-users > > > _______________________________________________ > Sox-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sox-users >