Thursday, March 13, 2008

When I record my audio for the RunAs Radio show, I'm typically sitting in my home office at my desk and using Audacity along with my Samson 01U USB microphone plugged into my Vista laptop. Audacity is an open-source program for all sorts of fancy audio recording, processing and editing. It's really pretty amazing.

Until fairly recently, Audacity was also pretty reliable. But about a month ago I started experiencing occasional crashes when trying to save and export the audio from my recording sessions. Now, if you think about for more than a couple seconds you'll quickly understand that crashes that occur after the interview is over, but before the file is saved, are extremely frustrating - and not just for me. A recording session do-over with three or more people involved in a 30- to 45-minute interview is really not a nice thing to have to ask for.

This morning Richard and I completed an interview with a guest. When I went to save the file, Audacity crashed. My heart sank, and my brain went into oh-crap-overdrive mode. I really did not want to be in the position of having to ask a busy guest to schedule more time to record an interview that had been quite good in the original session. I needed some magic.

I started thinking about temp files. The hard drive is always flashing away as I record the interviews, so something must be saved somewhere, right?

Sure enough, a quick search for *.au files on the hard drive uncovered nearly 400 files in a "_data" folder off the Audacity project's location. The date and time stamps on them made me feel a lot better - Phew! Each file appeared to contain 10 seconds of audio. The first one was stamped with the exact time we started recording the interview, and the last one with the time we stopped.

I imported all the .au files into Audacity, thinking I could just do that and I'd be good to go. But it turns out Audacity doesn't import files one-after-the-other on the timeline. Instead, it imports them as if they were almost 400 individual tracks in a single 10-second audio project. I started the click-cut-end-paste process, and quickly realized it was going to take literally hours to fix this problem manually.

(Also, just for fun I decided to see if the program would actually play a 10-second project session with 400 tracks in it. No dice.)

I quickly gave up on the cut-paste option in search of something better. What I found was the aptly-named Audacity Recovery Utility. Apparently I'm not the only one who's needed to recover recorded audio seemingly lost during application crashes. It's a Python app and can be used on Windows, Mac and Linux.

The program is simple in its execution. You point it at a folder and it looks for audio files, tries to determine if they are all one block/set, or if they're more than one, and then attempts to put them together into a single .WAV file that you can then import back into Audacity (or anywhere else for that matter) for editing and processing.

image

The app will confirm what it finds and give you a chance to stop it from proceeding.

image

Tell it "Yes" and the program starts processing the temp files.

image

Out the other end, you'll eventually get a .WAV file that you can use.

Sure saved my backside today. Thanks to the author! By the way, supposedly Audacity 1.3.2 and newer (which is a beta release right now, not the stable version) have crash recovery built in. I'll probably have to check that out, as well.



Add/Read: Comments [13]
AudioBlogging | RunAs Radio | Tech
Thursday, March 13, 2008 1:43:13 PM (Pacific Standard Time, UTC-08:00)
#  Trackback

Referred by:
audacity crashes when recording (www.google.com) [Referral]
help audacity just froze (www.google.com) [Referral]
recover audacity temporary files (www.google.co.uk) [Referral]
how can you recover audacity files manually (www.google.co.uk) [Referral]
where audacity save temp files (www.google.com) [Referral]
audacity crashes after recording temp file (www.google.co.uk) [Referral]
http://n2.nabble.com/How-do-I-manually-restore-temp-files-td... [Referral]
audacity au file restore (www.google.com) [Referral]
http://www.greghughes.net/ [Referral]
recovering audacity files (www.google.com) [Referral]
audacity file recovery (www.google.com.au) [Referral]
recover audacit (www.google.co.uk) [Referral]
recovering audio audacity (www.google.co.uk) [Referral]
audacity crash vista (www.google.nl) [Referral]
audacity keeps crashing when I record (www.google.com.au) [Referral]
audacity retrieve track (www.google.co.uk) [Referral]
cache:1kuUBx_HD_wJ:n2.nabble.com/How-do-I-manually-restore-temp-files-td293076.html audacity recover temporary files (74.125.155.132) [Referral]
where does audacity keep temp files? (www.google.com) [Referral]
http://www.answers.com/recover%20audacity%20files [Referral]
audacity crashes after recording (www.google.com) [Referral]
what folder does audacity saves its temp files (www.google.ca) [Referral]

More...
Friday, March 14, 2008 6:36:26 AM (Pacific Standard Time, UTC-08:00)
I stopped using Audacity because of problems like you experienced.
I use a third party podcast producing application, myself.

But then again, with another kid on the way, I haven't had any time to even think about firing up the ole' mic.
Saturday, March 22, 2008 9:31:22 AM (Pacific Standard Time, UTC-08:00)
Thanks, that really saved my bacon!!!!

http://bitesblog.blogspot.com
Nicolai
Friday, October 10, 2008 11:31:47 PM (Pacific Standard Time, UTC-08:00)
Thanks! I just did a podcast and my pc that was recording the call rebooted due to an update which lost the entire show. I'm using the recovery tool and I hope that it works. But thanks for your help.
Mike
Saturday, November 01, 2008 5:23:33 PM (Pacific Standard Time, UTC-08:00)
Hi, cheers for this -- very helpful.
Had my first Audacity crash last night, admittedly my fault for trying to record a gig 7 hours without saving but I wasn't sure how stable Audacity is. Seems I can recover at least a few hours, the program is running now.

Thursday, March 12, 2009 9:15:19 AM (Pacific Standard Time, UTC-08:00)
This saved my arse this morning!!! ty so much for posting this!
Erika
Wednesday, March 18, 2009 10:18:35 PM (Pacific Standard Time, UTC-08:00)
thx so much. you saved my butt too. ;D luv ya.
zakei
Wednesday, April 08, 2009 9:50:03 AM (Pacific Standard Time, UTC-08:00)
awesome!!! thanks for posting this, I found it via google - I podcast with 4 other people and after a full hour session I hit stop and aud. froze on me. I too tried to put all of the files in one project and almost lost hope.

thanks


ousspodcast.blogspot.com
Thursday, May 28, 2009 12:45:48 AM (Pacific Standard Time, UTC-08:00)
Thank you so much!!!
Aidan
Monday, June 15, 2009 7:57:05 AM (Pacific Standard Time, UTC-08:00)
Masive thanks mate! To you and the creator of the program!!! =)
Will
Sunday, July 26, 2009 12:55:46 AM (Pacific Standard Time, UTC-08:00)
Thank you very, very, very much. :)
Kara
Saturday, August 29, 2009 10:27:22 PM (Pacific Standard Time, UTC-08:00)
Thank you for recommending the program. It saved me, too. I experienced the error message about every other recording I made in Audacity. It was frustrating to have to start again, in hopes that it wouldn't crash after I stopped the recording. After the last crash, I found your site, downloaded the program, and was able to recover the recording.

Thanks again.
Jay
Saturday, October 03, 2009 1:11:59 AM (Pacific Standard Time, UTC-08:00)
I can't seem to even find the .au files in my temp folder after it crashed - had a 45 min interview so now I'm rather screwed. SIGH! My situation , where I can't even seem to locate my .au files, is not too good huh.... Does anyone know what to do in such a situation?
Keith
Saturday, October 03, 2009 8:45:21 AM (Pacific Standard Time, UTC-08:00)
Keith: I ran across a similar problem a few weeks ago using Audacity, right after upgrading my Mac to Snow Leopard OS. Luckily when we record our show there's a separate phone track with my voice on it. Low quality of course, but at least I'm there. No idea if the OD change is related to the crash and disappearing files, but I can tell you I immediately switched over to my Windows XP machine to do future Audacity recording. I'm seriously considering buying some commercial recording software at this point. Audacity is cool, but just too flaky over the past couple years for me to feel comfortable with it. I've looked at Adobe Audition, just haven't convinced myself to pull the trigger on the expense quite yet.
Name
E-mail
Home page

Comment (Some html is allowed: b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Live Comment Preview