possible to recover audio after accidentally closing program

No, if you answer “No” to “Save Changes?” when you meant “Yes”, the data and the “autosave” file that pieces the data together are deleted.

All you are left with is a thin chance that you could use data recovery software like Pandora to recover the autosave and data to an external drive.

If the data is intact but the autosave is missing then you can rename the AU data files in time sorted order then recover them using the Audacity 1.2 Recovery Utility: http://wiki.audacityteam.org/index.php?title=Crash_Recovery#Automatic_recovery_tools . This only works completely correctly with a mono recording.


Gale

ok I just did a recuva scan and it looks like it has all my data from yesterday and it shows it recoverable I’m recovering all the files now on an external hdd like it recommends, but how should I go about putting the parts together. Will the audacity recovery tool do this for me ?

Did you find the autosave file? If so put the autosave file in Documents and SettingsApplication DataAudacityAutosave (or UsersAppDataRoamingAudacityAutosave if you are on Windows Vista, Windows 7 or Windows 8). Put the “project” data folder in Audacity’s temporary folder, restart Audacity, and recover the project. Force quit Audacity if the recovered audio is not correct, which preserves the data.

If there is no autosave, follow the steps in the link already given.


Gale

what does a autosave file look like ? like its extension ?

When running the recovery tool on all the au parts it gives me this message shortly into the recovering of 12 continuous audio blocks "See the logfile ‘C:Program Files (x86)Audacity Recovery Utilityaudacity_recovery.exe.log’ for details.

then when I check this txt file it says

Traceback (most recent call last):
File “audacity_recovery.py”, line 157, in ?
File “audacity_recovery.py”, line 144, in MainLoop
OverflowError: long int too large to convert to int


what does this mean ?

Yes. If you never saved an Audacity project the autosave file looks like:

New Project - <date> <time> N-<number>.autosave

Gale

Try grouping no more than 1000 AU files into a folder and recover from those folders one at a time.


Gale

that might be tough, these were long recordings I have so many au files here. Even when I grouped like 180 at once it gave me this message but then when I did like 130 it did not ? whats up with that

You should be able to group about 1000 AU files at once but there are bugs in the 1.2 recovery utility and they won’t be fixed because no-one should need to be using it. Re-read the instructions to make sure there is not some problem in the naming sequence of your AU files.


Gale

I think I may have figured out the problem, so this was my first time using Recuva, and I just recovered all the files it listed for me, including ones that were listed as “Poor state” or yellow light. I was trying to convert small sections of au files even like 40 chunks and I was getting message so when it stopped and gave error I looked at what number au it was on then (thankfully ) I checked my Recuva records which luckily I left up, and sure enough the au it stopped on was a yellow poor quality state one. So I’m putting 1 and 1 together and I’m guessing it was getting stuck on poor recovered ones? Don’t know for sure yet but does that sound right ?

Perhaps, if the headers of the AU file are damaged. But if some of the recovered files are in bad state, you are only going to get a partial recovery at best, whether the Recovery Utility accepts the files or not.

It’s a good idea as soon as you press Stop after recording to export a WAV file or files - WAV should not exceed 2 GB in size to be sure that all player applications will play them. Then you have a backup of the raw recording.


Gale

ok nvm this did nothing, I went back and recovered all the files again but without the poor state ones and now it’s bringing up errors on au files that it did not the first time, and when I delete that au file and continue it keeps going but like every 30 au files there is a error on one and I have to delete it for the recovery tool to continue .

so there is no way to just import all these au files into audacity and it aligns them one after the other automatically? Or is there any way I can take these au files and append them in some way possible ? even if it’s with another program in some form ?

like is there any way I can mass export these au files to wav or mp3 format ? and then combine wave or mp3 files together with another program ?

like I have 26k au files here I need to combine :frowning:

Then you should have pressed “Yes” to Save Changes or backed up to WAV export first. :wink:

If you only recorded four hours at 44100 Hz you should only have 4800 AU files. Are you recording at 192000 Hz or similar?

Are you sure there is no autosave file?

Are you sure you have the naming sequence correct? How exactly did you sort by time then rename the AU files?

Assuming you have the sorting and naming correct you could try Append Import: Append Import . However this has limitations because it imports files in memory. You should not import more than 1 GB or 2 GB of AU files at once. More importantly, the way you sorted the files may not agree with the order in which Append Import imports them. See Append Import - #32 by steve .


Gale

yeah I seen that thing but it only does 10 files at once right ?

Actually I may have found a way to get around this, I had been using a older version of audacity on all my pcs, so I installed the newest version. I seen there was a feature to take the tracks from top to bottom and move them so each one starts where the one before ends. The thing is I don’t know how much my pc can handle at once before I can export, but I loaded like 100 at once and it seemed ok.

Append Import will import as many files as your available computer memory permits. If you can comfortably handle another 2 GB of memory use, I believe you can import 2000 AU files.

Audacity doesn’t respond well with hundreds of tracks. After importing each batch of files and running Tracks > Align End to End, try Tracks > Mix and Render. This will make the imported files into one track.

Audacity will import the files in the same order that the Append-Import plug-in does, so it won’t be the same order as Windows XP or later sort order unless you have renamed the files so that after the first letter, the file name only contains numbers.


Gale

my one remaining problem now is that these au files are stereo so when I import them I have 2 different tracks but just of different speaker but when I append them it basically just makes a double play of the same audio, so how can I fix that, so that I only import one of the two tracks or some way to combine the two into one track on a mass scale ?

or is there some way to mute every other track without doing it manually ?

I see how to combine the two mono to make one stereo track, but is there a way to do this on a mass scale ? or get rid of one of the mono ?

AU files are always mono when you import them manually. If you had renamed them in time sort order and if the sort order was accurate, the first, third and fifth AU’s and so on are the left channel, and the second, fourth and sixth AU’s and so on are the right channel.

If you were using xplorer2, you can’t be sure which of each pair of left and right is really the first when time sorting unless you use View > Raw Contents (available in xplorer2 paid versions only, but there is a trial period).

Perhaps what you want to do after importing your batch of AU files is to select the first, third, fifth tracks and so on. You can SHIFT-click on subsequent tracks (in empty space on the Track Control Panel) to multiple select tracks. Or, after selecting the first track, DOWN arrow twice then ENTER, DOWN arrow twice then ENTER and so on to do the multiple select.

Then Tracks > Align Tracks > Align End to End, and Tracks > Mix and Render. Now you should have the rendered single track at the bottom, and you can select all the other tracks and repeat the align end to end and render.


Gale

yeah, I knew how to do that just wondered if there was some way around the manual work >.< being there is so many I would have to do. I could also try to find a way to select files within a folder by some parameter, like in my case somehow make it so that windows select every other file within a folder containing in my case thousands of files. Then I could just delete those files and only have remaining a single mono track. Then import as usual and do what we already talked about. By any chance does anyone know how to do this in Windows ? or better yet a program that could do this, im sure there is one out there just dont know of it >.<

and yeah btw my au files are named correctly and all

If you are prepared to just use the left or right channel as a mono recording then the obvious solution would be to run a recursive script that ran on all folders in the _data folder and deleted all odd or even numbered AU files.

I am not a scripting genius but you could search on Google or ask on the forum of the file manager program you used to do the sort and rename.

I would emphasise again that unless you used PowerShell or your tool really does sort each pair of AU files in the order they were created in, then some pairs of AU files will have right channel first. So don’t be surprised to find some discontinuities in your mono file where you actually have the other channel.


Gale