|
From: Ulrich K. <ul...@ch...> - 2013-01-14 01:02:27
|
Rainer M. Engel <en...@en...>: > I made a concatenation test and it worked to up to 500 files. Not beyond. There is often a restriction on the length of a command line. SoX itself should not be limiting the number of files. You can avoid the shell in at least two ways: 1. Use a playlist file. Make a file "list.m3u" that contains all the file names, each on a separate line, then run sox list.m3u output.wav effects ... or similar. 2. Use internal globbing: sox "file_*.wav" output.wav Note the quotes around the first argument, they tell the shell not to replace this with a list of matching file names (instead, SoX will do this internally). > Perhaps something like this.. > sox -cat ascending file_%04d.wav new-wave.wav > ..would be nice to concat all files matching that filter to one outputfile. Actually, globbing (both shell and internal) will do that. The files are ordered lexicographically; i.e., as long as numbers are zero-padded (file09, file10; not file9, file10), you can just write file_*.wav or "file_*.wav" as above. Ulrich |