[music-dsp] [ot] [macos] post-crash soundfile recovery
Tim.Kreger at mail.bigpond.com
Sat Aug 3 07:49:36 EDT 2002
If your running OSX try doing a command line "cp xxx" from the terminal app,
or even a duplicate file from the finder, it may restore the file without
the busy flag.. A BBedit save file as could also work.
I've had this happen a few times sometimes I can recover others no.
on 3/8/02 12:46 PM, yon at yon at proptronix.com wrote:
> I've experienced some crashes while recording stuff I'm doing in
> MaxMSP. Unfortunately, this leaves the file on disk in a weird state.
> It is never closed properly, and the header apparently not updated
> with the new link. Subsequently the file cannot be opened in
> Peak, MSP, or soundhack (the last will playback the 1st fraction
> of a second).
> So I am trying to figure out how to recover the data, and ask for tips.
> Judging from the file size and innards as seen in HexEdit, is there.
> when I open the file in resedit or filebuddy, its listed as being open,
> which makes sense, but is not good. I was so far unable
> to modify it with either of these tools in a way that makes it possible for
> file to be opened. I've tried deleting resources and copying new
> ones, but this doesn't improve the situation, and monkeying around
> with the data in Hexedit didn't help either, as far as I got.
> Attempting to playback by forcing the header also fails.
> In fact, this generates unmapped memory exceptions from MSP.
> I guess the first problem that I must address is to stop the file
> from appearing to be open, and the second is to get at the bytes,
> which (the bytes) should not be a problem, I guess,
> provided that nothing else is corrupted.
> so any anti-corruption suggestions you can offer would be appreciated.
> thank you, yon
> dupswapdrop -- the music-dsp mailing list and website: subscription info,
> FAQ, source code archive, list archive, book reviews, dsp links
dupswapdrop -- the music-dsp mailing list and website: subscription info,
FAQ, source code archive, list archive, book reviews, dsp links
More information about the music-dsp