By the way, I was delighted to find out that I could join .ogg files with cat, i.e. cat {file1.ogg} file2.ogg > outputfile.ogg <p>I successfully used this capability, together with oggenc and sox, to join two .WAV files in the following manner: <p>oggenc -q9 file1.wav ... oggenc -q9 file2.wav --- cat file1.ogg file2.ogg > outfile.ogg ox outfile.ogg outfile.wav I get a few complaints from sox about "holes in the file, probably harmless." But the resulting file has a nice RIFF header and works fine for me. So after searching the internet for an easy way to combine .wav files, I am glad to discover that xiph's commitment to open standards has solved one of my problems caused by a bad design of a proprietary standard. :) <p>Regards, Glendon Gross Satisfied Ogg-Vorbis User --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
>===== Original Message From "Glendon M. Gross" <gross@xinetd.com> ====>I get a few complaints from sox about "holes in the file, probably >harmless." >But the resulting file has a nice RIFF header and works fine for me. So >after searching the internet for an easy way to combine .wav files, I am >glad to discover that xiph's commitment to open standards has solved one of >my problems caused by a bad design of a proprietary standard. :) >I can see one immediate problem with this: Vorbis is a lossy format, where as WAV is a lossless format. This means that the resultant WAV is of a lower quality than either input. I don't know if FLAC works like this, but if it does, then since FLAC is lossless, it should work much better. Indeed, FLAC stands for Free Lossless Audio Codec. That means that you can transcode FLAC > WAV all you want without any loss of data. <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> cat file1.ogg file2.ogg > outfile.ogg > > sox outfile.ogg outfile.wavI've actually done the exact same thing, when I just needed it quick & dirty and didn't feel like firing up Audacity. It's super nice to have such an option. Though I used oggdec rather than sox: $ oggdec outfile.ogg -o outfile.wav -- Graham Mitchell - computer science teacher, Leander High School "Several tiers below the surface [of the human heart] is a pervasive, integral force that demands the right to avoid pain and experience self-fulfillment. This self-centered energy is the very essence of what the Bible calls 'sin.'" -- Harry Schaumberg, "False Intimacy" --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
>===== Original Message From Tom Felker <tcfelker@mtco.com> ====>If FLAC doesn't, I'd assume OggFLAC does. Right?Ogg is a container. Only. OggFLAC should have the same results as FLAC.>But while FLAC is lossless, it's still a waste of CPU. For the OP: If Ionly>had Sox, I'd do this:Granted, but don't you have Sox?>sox a.wav a.cdr >sox b.wav b.cdr >cat a.cdr b.cdr | sox -t cdr - ab.wav > >This assumes you're working with CD format (44.1 kHz 2 channels 16 bit) data. >CDR is just this data in raw form. Otherwise, use .raw, but you'll need to >give options to sox to specify the format. It would be possible to do this >with no temp space using named pipes.Similarly, it should be possible to simply strip the header on the second WAV and concat the two files. I don't know on this, tho...>-- >Tom Felker, <tcfelker@mtco.com> ><http://vlevel.sourceforge.net> - Stop fiddling with the volume knob. > >Verbing weirds language. > -- Calvin, Bill Watterson<p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hi: For joining wav files, I use the Quelcom tools (http://www.etse.urv.es/~dmanye/quelcom/quelcom.html). There's a whole bunch of tools there which I find very useful. Geoff. <p> -- Geoff Shang <gshang@uq.net.au> ICQ number 43634701 Make sure your E-mail can be read by everyone! http://www.betips.net/etc/evilmail.html Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
The easiest way to concatenate wav files IMHO is to drop the header, "converting" them to raw PCM (sox can do this), concatenate them with cat and "convert" (add RIFF header; sox... you know) the resulting file back to wav. -- /dev/brains: permission denied Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html <p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.