On Sat, 9 Aug 2003 12:18:33 +1000
David Fisher <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> I am trying to splice several .wav files before converting to mp3 using
> lame but I cant seem to find a way to do it. I would have thought sox
> would do it but looking throught the man page I can't see anything
> (which might only mean I haven't had enough coffee yet....)
I kept this email because I needed something like this myself. Since it
didn't show up, I whipped this:
http://www.zip.com.au/~erikd/libsndfile/sndfile-concat.c
It does WAY more than just WAV files. When compiled into a binary, the
command:
sndfile-concat a.wav b.aiff
will leave b.aiff unchanged, but copy the audio data from b.aiff onto
the end of a.wav converting formats as it goes. This should work for
all formats supported by libsndfile:
http://www.zip.com.au/~erikd/libsndfile/
as long as both files contain the same number of channels.
Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+-----------------------------------------------------------+
" Baldie is such a wonderful villain
The Linux/OSS community could not possibly ask for a better villain than
our man Baldie. He is absolutely perfect for the part. Just look at his
creds: 1) Physically repulsive; 2) Morally bankrupt; 3) Megalomaniacal;
4) Possessed of a truly nasty, abusive disposition; 5) Prone to Hitlerian
ranting; 6) Stalinesque paranoia... The list just goes on and on. The man
has the gift of true despicability, no doubt about it. If it weren't for
Baldie we'd be stuck with Bilgatus' merely vacuuous and creepy persona
for an anthropomorphization of the Evil Empire -- tepid at best."
-- Matthew Alton in LinuxToday.com on Steve Balmer
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug