On Sun, 24 Aug 2003 21:33, Erik de Castro Lopo wrote: > 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 > --
Thanks, Erik, I'll have a good long look at this. I had been converting .wav to .raw using sox, concatenating and then converting back. This can only be better. -- David Quidquid latine dictum sit, altum sonatur. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
