Re: fixing a wav file



paramindsoftware@xxxxxxxxx wrote:
I know this isn't the highest tech but thought someone might know the
answer.

Using an mp3 player with voice recorder, I was reading a book, hit
pause to get something, and didn't return to recording. I fell asleep
and forgot to hit save. The battery must have run down and did some
kind of autosave. The file is 8 megs but in using Adobe Audition to
edit it, there
is no wav to display. Does anyone know how to extract that data or
fix the file?

There is a possibility that the only thing wrong with the file
is that the software never got a chance to update the audio length
in the header. Some software looks at the header for the length,
and if it is listed as zero, will not bother to look further for
the data.

I have a program called 'wavelength' that fixes the length entry
in a wav header. It's compiled for Linux, but it comes with source
code.

Aside from that, try taking the first 44 bytes from another wav
file, and add that to the beginning of your corrupt file. You may
have to run 'wavelength' again, or hex edit the header. If this
works, you can use an audio editor to cut out the old header.

e wav header is in no way limited to 44 bytes, but a very large
percentage of wav files out there do conform to this.

You could also import the data as raw into a suitable editor,
providing the sample rate etc. by hand. You will still have to
edit out the old header.

Failing all else, send me the file. I'll fix it for you.

Tobiah

--
Posted via a free Usenet account from http://www.teranews.com

.



Relevant Pages

  • Re: Splitting up 6gb .wav
    ... of .wav files. ... and a fixed 56-bit header saying what's inside. ... start copying the number of samples desired and copying them to ... C'est suisse, et tres, tres precis." ...
    (rec.audio.pro)
  • Re: Problem with RIFF tags in audio ripped with WMP11 x64
    ... I am getting the same file header format errors here when I rip to wav using ... difference in the WMP11 RIFF tags here from the RIFF tag headers ripped using ... Non-WMP11 ripped WAV RIFF tag header: ...
    (microsoft.public.windowsmedia)
  • Re: FFmpeg 1.10 and Murnong 1.50 released
    ... headers are telling other apps? ... Which I got from a wave file in CDDA format. ... If you don't get that then either the header is mangled ... then the file isn't a Wav one. ...
    (comp.sys.acorn.apps)
  • Re: How to split the wave files into smaller pieces?
    ... > Fabio wrote: ... >> does anyone know how to split the big wave file into smaller pieces? ... Each WAV file has a RIFF header. ...
    (alt.os.linux)
  • Re: WAV File Header Format.
    ... I am trying to append a standard WAV file header (which I believe is ... I am using a utility called HexEdit to view the source RAW file as well ... of the standard WAV format) I'll be really thankful. ...
    (comp.dsp)