Discussion:
[mad-user] Cutting wave file
mukesh harjai
2003-07-02 05:49:31 UTC
Permalink
Hi All,

I need to cut the wave file and store it as another file,

Please tell me cutting wave file is just like cutting any binary

file or some care needs to be taken care of while cutting wave file.

Thanks and Regards,

Mukesh Harjai

_________________________________________________________________
Dress up your desktop! Get the best wallpapers.
http://server1.msn.co.in/msnchannels/Entertainment/wallpaperhome.asp Just
click here!
Rob Leslie
2003-07-02 23:30:24 UTC
Permalink
Post by mukesh harjai
I need to cut the wave file and store it as another file,
Please tell me cutting wave file is just like cutting any binary
file or some care needs to be taken care of while cutting wave file.
You can generally cut a WAVE file anywhere you like as long as it's on
a sample block boundary. However, you should update the RIFF and data
chunk headers with the new length, and you'll have to add a RIFF/WAVE
header to the beginning of the new file.

Doing this is really beyond the scope of this list, but you might find
some helpful information in the audio_wave.c module of the madplay
distribution.
--
Rob Leslie
***@mars.org
Continue reading on narkive:
Loading...