I'm trying to use this wav header program for myself but I obviously don't know what I'm doing.
What the program does is attempt to repair a malformed WAVE header on the audio file (the first 44 bytes of a "normal" WAV file).
Some have used it to actually
create a header on an audio file where one didn't previously exist. But doing that will overwrite 44 bytes of music data... a
very tiny loss of music, but it's still a loss. That's why the first thing it does is display those first 44 bytes so you can verify that there's actually a header in the file.
Here's an example of it displaying a
valid WAVE header... showing the keywords (highlighted in red) that it normally contains:
Existing header data. Look for the words 'RIFF', 'WAVE', 'fmt',
or 'data' to see if this is even a somewhat valid WAVE header:
00000000: 52 49 46 46 24 D4 55 0D 57 41 56 45 66 6D 74 20 RIFF$.U.WAVEfmt
00000010: 10 00 00 00 01 00 02 00 44 AC 00 00 10 B1 02 00 ........D.......
00000020: 04 00 10 00 64 61 74 61 00 D4 55 0D ....data..U.If you're a true geek (that can speak "hex), here's some links that explain those magical data bytes:
http://ccrma.stanford.edu/CCRMA/Courses/422/projects/WaveFormat/http://www.borg.com/~jglatt/tech/wave.htmIt will then ask you to verify three major pieces of audio information it found in the existing header, and allow you to correct them if they're wrong:
Is the file recorded in X channels? [y/n]This is verifying that the header contains the correct number of channels (i.e. Recorded with one microphone, two microphones, four microphones, etc). This would normally be 2 channels for a R-09, so you'd answer "
N " (for a "No") here if it says anything different... otherwise enter a "
Y " (meaning "Yes").
Enter number of channels... 1=Mono, 2=Stereo, etc:Here's where you'd enter the correct number of channels (and this is only displayed if you answered "
N " above).
Is the number of samples per second = XXXXX? [y/n]This is asking if the number of samples per second is correct for this audio file. This should normally display 44100 or 48000 for a R-09.
Enter number of samples per second:This is where you enter the correct number of samples per second (and this is only displayed if you answered "
N " above).
Is the number of bits per sample = XX? [y/n]This should normally be 16 or 24 bits per audio sample for a R-09. Again, answer "
Y " or "
N " depending on which setting you used when created the
recording.
The most important point is that the information you enter
must match how you actually created the recording. This program just changes the header... it won't actually convert the audio file from one format to another (for example, it won't actually change a file recorded in 16 bits per sample to 24 bits). So if you enter incorrect values, the audio is going to sound really screwed up on playback... so try running the program again