Recover files

imac wrote on 12/31/2002, 8:37 PM
I did a 32 track recording on NYE.

The first act was fine, but at the end of the main act Vegas crashed.

I do have a 16 bit ADAT backup with a gap at the tape change, so all is not lost but I want the 24bit continuous files.

On the puter each recorded track shows up as a large file appropriate to the recorded length. The HD is also showing 35 GB "used", so the files appear to be there.
When they are dragged onto vegas they are only minimum length (nil).

How to recover these files? Windows says they are big, Vegas doesn't.

Anyone know?

Comments

MarkWWW wrote on 1/1/2003, 7:07 AM
I'm not sure if it will be possible to recover these audio files purely in Vegas alone, but if you have Sound Forge (or some other audio editor) it should be fairly easy.

The problem is that when Vegas records the audio it stores the audio data normally in the .WAV (or .W64) files, but until the recording ends Vegas doesn't know how long the files are and so it can't complete the files by writing the correct length into the appropriate place in the header of the files. Because Vegas crashed before the recording was stopped, the length (and possibly some other items in the header of the WAVs) is still set to some temporary bogus value, probably zero.

The solution is to open these files in an audio editor (e.g. SF6) which can open RAW audio data files. If you open the data files as RAW you will need to tell SF the correct values for the bit depth (24-bit in your case presumably), clock rate (48kHz or 96kHz presumably) and whether they are stereo or mono, etc. Once you have told it this information SF will open the file, treating the entire contents as though they are audio data. There will be a glitch at the beginning (where the header information is being erroneously interpreted as audio data*), but you should find that apart from this glitch that you can easily chop off, you will have successfully recovered the audio from the file. You can then save each of these recovered audio files as a normal WAV file and you should then be able to open them in Vegas and re-assemble the multi-track recording correctly.

Best of luck.

Mark

*Actually, if you want to be a bit cleverer you can specify how many bytes to skip at the beginning of the file to avoid this glitch, but it helps to have a hex editor to look at the beginning of the file and a knowledge of the internal structure of a WAV file to see just how big the header is, so you can tell it the correct number of bytes to skip. It's probably easier just to accept the glitch and then chop it off.
eclips1 wrote on 1/2/2003, 9:49 AM
Chk the properties of the files. What does it say??(wav, aiff, ect...) Do you have an audio editor like wavelab? If so try opening the file in another program and see what happens. If it opens fine, just save each file as a new wave file, then drop them into vegas.
imac wrote on 1/11/2003, 10:34 PM
Thanks for the reply Mark and eclips1.
Sorry I could not reply but have been “offline”.
Windows reports these files to be “WAV” files. If I open them in Wavelab they are reported as being wav files of the appropriate size but length is “0”. If I rename the files in WIN explorer as any other type, RAW or PCM etc, when I open them, the file info in Wavelab still calls it a wav, correct size nil length. Wavelab does not give me the opportunity to alter these values.
Will SF deal with these differently?
I realise I need the header information to be changed, but am not familiar with how to edit this.

If SF6 would let me do this then I could make the effort to find a copy to try. Mark, do you think SF will see them differently than Wavelab?

Thanks for your help.

I have been using the tape recordings for evaluation, but still hope to recover the vegas files.

Ian
MarkWWW wrote on 1/12/2003, 11:14 AM
Renaming the files will not help - as I said before, you will need to open the files as RAW audio data using an audio editor that will allow this.

I am not familiar with WaveLab but I am suprised to hear that it does not allow this, but I suppose it is possible. There doesn't seem to be a downloadable manual or help file on the Steinberg website so I can't check for sure.

Sound Forge 6 will allow you to do this, using the procedure I described in my previous message - just choose File|Open and select "Raw File" in the "Files of type" box.
imac wrote on 1/12/2003, 4:12 PM
By renaming I mean I had just renamed the extension as ".raw", then opened it selecting "raw file" in the "file types" box in Wavelab. It doesn't seem to be able to ignore the wav header though.

Sounds like I need to do this in SF.

Thanks for your help Mark.
imac wrote on 2/13/2003, 3:00 PM
Thank you very much for your help Mark. I did have success. In fact Sound Forge was the only programme that would allow me to change the header when opening as a RAW file. All the others insisted on referring to the WAV header even though I was opening as a RAW.

Ian
MarkWWW wrote on 2/14/2003, 1:14 PM
Excellent - glad I could help.