I have no clue where to start. Help??

0 votes
asked Oct 19, 2019 in Synalyze It! by slimtim2 (120 points)
To start from the beginning, my Solid State External Hard drive somehow went up on me and quite a few of my wav files got corrupted in the "Recover" process. The weird thing is, even tho the durations of the files are saying zero, they are still the same sizes they were before the drive went up, which gives me hope that the actual audio is still in the file and salvageable but I just can't get to em because I think the headers are jacked up. I've downloaded the app but have NO CLUE where to start to try to repair the headers of the files. Help!!!

1 Answer

0 votes
answered Feb 28 by murphyschaos (200 points)

First, just look at each WAV file, just in the hex editor. If everything shows up as 00s, your data really is lost. Assuming these aren't some special structure, the first 44 bytes describe the file. Everything after that is sound samples that are literally amplitude (loudness) values. A file that is 44.1 khz, 16 bit, stereo, each second of audio will be 176,400 bytes. A full minute would add up to 10 MB.

There's an existing grammar but, before you look at that, I'd recommend reading up a little on how a WAV file is structured:

http://soundfile.sapp.org/doc/WaveFormat/

The grammar for Hexinator / Synalize It! is called "Windows Wave" because the format was introduced by Microsoft. It's a slightly complex grammar but you could try using that and see if it can tell you anything useful. Of course, if you're bored or drunk and want to see something really complex. take a look at the MP3 grammar. You'll start to wonder how humanity has made it this far.

...