Hi gang:
I can combine two mp3 sound files together by simply:
// load first
$file = "a.mp3";
$handle = fopen($file, "rb");
$size = filesize($file);
$load = fread($handle, $size);
fclose($handle);
// load second
$file = "b.mp3";
$handle = fopen($file, "rb");
$size = filesize($file);
$load .= fread($handle, $size);
fclose($handle);
// save both as one audio file
$filename = "tmp/a.mp3";
$file = fopen( $filename, "wb" );
fwrite( $file, $load);
fclose( $file );
However, I can't do the same with .WAV files. Does anyone know a way
to combine .WAV files similar to the way shown above?
Thanks.
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php