PDA

Click to See Complete Forum and Search --> : [2.0] dot net dll for cut copy paste a wav file


vkkishore_s
Jun 9th, 2006, 05:28 PM
hello freinds


i am developing a small media player.friends is there any c# assembly that can cut ,copy,paste on a wav file ?if so plz tell me .


regards
kishore

jmcilhinney
Jun 9th, 2006, 10:05 PM
Do you mean actually act on the binary data in the file?

vkkishore_s
Jun 12th, 2006, 12:40 PM
thanks for sparing time for me.
yes.i wnat to do opearations on binary data of the wav file

i am developing a small application.it will play a wav file.now i want to cut,copy a small portion of the wave file.at the same time i want to paste this portion to the any wave file or for the existing wav file


regards
kishore

jmcilhinney
Jun 12th, 2006, 07:19 PM
Do you know what the binary format of WAV files is? I'm guessing that it's not simply a case of writing a few extra bytes. The file will presumably have header information that you will need to change. To paste data into an existing WAV file I would imagine that it would involve reading the existing header information, writing that out again with the new values for file length and whatever, writing out the first part of the existing WAV data, writing out the new data, then finally writing out the last part of the existing WAV data. The first thing to do would be to research what that binary format is.