[Asterisk-Users] Join wav Files in Linux
Tzafrir Cohen
tzafrir at cohens.org.il
Mon Jul 4 07:52:18 MST 2005
On Mon, Jul 04, 2005 at 10:31:13AM -0400, Kevin Kiely wrote:
> Does anyone know how to join two .wav audio files via the command line
> in Linux for playback with Asterisk?
install the package sox (should be part of most distros).
sox infile1 [...] outfile1
e.g: sox in1.wav in2.wav in3.wav out.wav
Sox generally tries to do "the right thing" with mixing inputs to
outputs. This means that is all the inputs are exactly in the same format
and the extensions are right, you should have no problems, but if you,
you may need some extra hints using extra command-line switches.
BTW: sox supports gsm as well. Should also support ogg/vorbis quite
well. It generally supports decoding mp3-s, but at least on my system
(Debian Sarge) this support is quite spotty.
--
Tzafrir Cohen | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
ICQ# 16849755 | | friend
More information about the asterisk-users
mailing list