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!
On Tuesday, July 1, 2003, at 10:49 PM, mukesh harjai wrote:
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.