Chris Hellyar wrote:

Hi-ho,

Utility trivia for the wav gifted.. :-).

I've got a problem where I want to join (concatenate) 30-70 small wav
files together into one long one...

They are sequentially numbered, (ie 1.wav, 2.wav) and I need to script
the joining of them..


Doesn't matter how slow the process is, as it's an offline processing
scenario, but needs to be script-able as I'll have about 30-40 sets a
day to process depending on some external factors.

Cheers, Chris Hellyar.






Convert to raw format with sox,


$ sox 1.wav 1.raw
$ sox 2.wav 2.raw
$ cat 1.raw 2.raw > result.raw
$ sox -r44100 -c2 -sw result.raw result.wav

Note raw format is dumb as it has no headers, that is why I had to specify the
sample rate and channels etc



Cheers Col.



Reply via email to