Header change and 8-channel files

Mar 10, 2007 at 12:27pm

Header change and 8-channel files

I’ve got this 8-channel aif file lying around which got corrupted while
ending the recording due to a crash in MaxMSP. The data is there, the
file is around 2 GB. My experience is that it’s possilble to rescue such
files with SoundHack by manually applying the right header data to the
file, with the Header Change function. But it’s not posible in this case
since SoundHack only supports 1, 2 and 4 channel files. Any ideas/help
appreciated.

/Jakob
__________________________________

http://www.sonicEscape.net
http://www.myspace.com/sonicescape
__________________________________

#30735
Mar 10, 2007 at 1:09pm

On 10 mars 07, at 13:27, Jakob Riis wrote:

> I’ve got this 8-channel aif file lying around which got corrupted
> while
> ending the recording due to a crash in MaxMSP. The data is there, the
> file is around 2 GB. My experience is that it’s possilble to rescue
> such
> files with SoundHack by manually applying the right header data to the
> file, with the Header Change function. But it’s not posible in this
> case
> since SoundHack only supports 1, 2 and 4 channel files. Any ideas/help
> appreciated.

You may try the openraw message of sfplay~. Have a look to the “p
raw_data_and_force_header” subpatcher of the sfplay~’s help file.

ej

#98755
Mar 11, 2007 at 10:46pm

>You may try the openraw message of sfplay~. Have a look to the “p
>raw_data_and_force_header” subpatcher of the sfplay~’s help file.
>

And it works, great. Thanks for the hint. :-)
/J

#98756
Aug 24, 2009 at 6:30am

I’ve got a similar AIFF file recovery problem. I tried the message, but I’m not sure if I’m using it right.

I had an [sfrecord~ 11] running in my patch when the external HD I was recording to accidentally had a firewire cable come unplugged.

I tried opening the file with [sfplay~] sending the messages , , , but all I get is white noise output on some of the 11 channels (silence on the others). I’ve never used the message before, so I’m not sure if I’m using it right or need to do something with the offset.

Any thoughts? Or perhaps, any other methods of recovering this file you think I should try?

Thanks!

#98757
Aug 25, 2009 at 9:22pm

maybe BIAS-PEAK-Pro can do this ?

bd

#98758
Sep 2, 2009 at 4:39pm

I use soundhack for these things, never failed…

#98759
Sep 2, 2009 at 5:09pm

Funny that this pops up now that I just ported my code that fixes these files to intel, and that I happen to look into the awkward forums…

I often record multi-channel files with sfrecord, and Max often crashes, leaving a file that says “I’m empty”. So I did write the aiff header fixer that handles that. Source code and an intel-compiled command-line executable is attached, but of course I give no guarantee that it won’t corrupt your files, eat your harddisk, and poison your kittens…

Cheers…
…Diemo

#98760
Sep 2, 2009 at 5:50pm
Diemo Schwarz wrote on Wed, 02 September 2009 13:09
Funny that this pops up now that I just ported my code that fixes these files to intel, and that I happen to look into the awkward forums…

Great timing for me, I’ll try your tool out later today–hopefully my kitten survives!

stefantiedje wrote on Wed, 02 September 2009 12:39
I use soundhack for these things, never failed…

I’ve heard that works, but I hardly ever am lucky enough to be using the right number of channels to try this out. Hopefully I didn’t screw up my file with soundhack already.

Thanks for the help guys. I had already given up on that file since one of my band mates recorded a two channel version (two band members mixdowns per channel) that was passable–good thing I haven’t deleted the file yet so I can try Diemo’s software.

#98761
Jun 26, 2010 at 11:11am

For future crashes of sfrecord~, I put up the intel-compiled aiff file length fixer commandline program and the source code on http://diemo.concatenative.net/, in the software section.

#98762
Jul 6, 2010 at 12:28am

Big huge thanks for this. I just fixed a corrupted multichannel AIFF with it. You saved me hours of reworking my file!

#98763

You must be logged in to reply to this topic.