• transparent tattoo on your forehead
  • Recover damaged audio file on Mac

    by Jane is K.O.

    For Mac OS X users, assuming your OS is intact
    Note: This article by far doesn’t cover the complete issue, however it is especially about damaged audio files left after an application crash during recording. No professional assistance required.
    Use at your own risk.

    Crash during recording an audio file (tested in Logic Audio and MaxMSP). The result (.aif) still appears in Finder, but despite it’s apparent file size (definately more than just a few hundred KB) it shows a play length of zero seconds. The file does not load or play in any application. As if it would contain only header data, but no audio? Wrong.

    Using a 24-bit/44.1KHz stereo interleaved file as an example.
    • Download Tom Erbe’s Soundhack (must-have freeware).
    • Rename file extension in Finder from .aif or .wav to .txt
    • Open .txt file in Soundhack using “File -> Open any”. The file will appear as a mono 8-bit file (other variations, see user comments below), without header.
    • Press Apple-H or go to “Hack -> Header Change.” Change header to original no. of channels (2), and original bit resolution, but eventually swap bytes (try this first – if the bytes are in wrong order, then you’ll get white noise later).
    • Try playing the result (press space bar). If you just hear digital noise, close the result, open .txt file again, and use the “linear” instead of “byte swap” option when changing header.
    • Save working result using “File -> Save as Copy” using your original file type and resolution.

    I hope that helped :)
    Thank you, Tom Erbe.

    Jane is K.O. aka jayrope is a Berlin-based composer, producer and musician.
    More info: jayrope.com

    1. — daveclark966    24 February 2021    #

      the lost WAV files can be easily recovered by a professional WAV Recovery – Erelive Data Recovery.

    2. — Federico Javier Sanchez    27 June 2018    #

      Dear Tom i need to repair some audio AIF. files. from a ableton Live project (zero bytes) can you send me the soft soundhack please? thanks a lot

    3. — Serban Matei    16 February 2017    #

      Thanks for this. It is very important to save the changes before you can preview the file. For me the preview did not work before (no noise even, as in for example Audacity).

      So make sure you get the settings right, then save, and THEN the magical moment when your file is playing :)

    4. — Lila    8 November 2014    #

      You’re the first person to explain this in a way that actually makes sense and relates to my problem (and I’ve looked for about 6 hours) My worst nightmare of losing songwriting memos has become a reality, I have no idea how it came to be but one specific file is filled with white noise – I’ve tried everything, including your helpful guide! Only tip that improved the amount of white noise, but not all of it! Any more help would be a life saver, even if this was posted awhile ago. Losing files I can handle.. losing music, I cannot (especially mine) the file was recorded on quicktime/highest quality/aifc. All others say 24bit but this one says 34bit float? —— sincerely, L.

    5. — Marc    19 October 2013    #

      After a bit of trial and error, THIS WORKED! Recovered an important file I had all but given up on. Thank you so much!

    6. — Jomo    1 December 2012    #

      I’ve tried both soundhack & sd2wav for my broken files but they all recover with a ton of digital white noise. I can hear the music beneath the noise but I can’t figure out how to remove the noise. This is terribly frustrating. But I have some hope since I can actually hear the music. At least its there. I’m hoping I can find out what I’m doing wrong or what else maybe I should be doing to recover the files without all the noise. Any help is greatly appreciated. Thanks.

    Comment on this?

      *Email address will not be visible or used by anyone. It's only used for us to be able to communicate back, in case you put a question in here.
      Textile help


    XML ♒ We always wanted to do this. That´s a lie. ♒ Imprint