The command line tool wavmerge will do this (although it only accepts .wav files as input and they all need to be the same bitrate/frequency).

wavmerge -o output.wav input1.wav input2.wav input3.wav

There's no option to add silence between the merged files, so I usually just make a .wav file containing the required amount of silence and merge it in between the others:

wavmerge -o output.wav input1.wav silence.wav input2.wav silence.wav input3.wav





On Sun, Aug 3, 2014 at 12:33 AM, jonetsu@teksavvy.com <jonetsu@teksavvy.com> wrote:
Hi !

  Thanks for the replies on slowing down audio.

  I would like to build an audio file using several other audio files,
preferably with some 2-4 seconds silence between them.  Actually this
is to upload to youtube a series of songs as one single file, that does
not need the use of a playlist.  The files are currently in wav (Ardour
export) and ogg.  Which tool can be used to construct such a file ?

  Very quickly I'd think of using Ardour to put all the files one after
another and then export the result, but that seems overkill, and
possibly taking more time to do. There has to be something more like a
'tool' to do that.  Suggestions ?

Cheers.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user