Re: Combining sound files

From: Date: Wed, 28 Feb 2007 20:02:22 +0000
Subject: Re: Combining sound files
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-249612@lists.php.net to get a copy of this message
On Wed, February 28, 2007 8:28 am, tedd wrote: > For the moment, I can use a HEX Editor and inspect the first 256 > bytes of a wav file and find out all the goodies therein, but do you > know if I strip out the first 256 bytes can I then combine the files > so they will work (providing the sample rates, frequencies, and such > as the same)? Probably not exactly like that. One of the goodies is file length (actually, I think it's sample count, but same smell). So you are going to have to open both headers and plus up the numbers to get the right new header. I suspect most .wav readers are far less forgiving than .mp3 readers due to their relative format age. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#249612) next »