Recovering recordings without aup file.

Audio software developers forum.

If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like

Recovering recordings without aup file.

Permanent link to this post Posted by ombresaco » Fri May 27, 2016 10:39 am

Hello, this is not a question, I just wanted to share my experience, and perhaps it can be useful to anybody.

I recorded at the same time 4 mono signals (more than 30 minutes), and when recording, audacity crashed.
I had an empty .aup file, and hundreds 1MB .au file whis strange names.

This help did not work for me:
http://manual.audacityteam.org/man/reco ... ually.html
http://manual.audacityteam.org/man/recovery.html

Tryng Append import, it was totally hazard, so I had to order them before.

For recovering.
1. I ordered them by date.
2. I used Konkeror for massively rename them starting by Audio1000 (if starting by 1, I had problems later)
3. After that, I had 4 files with the same datation, another 4 files created a few seconds later, and so on.

I tried to import them, but it was crazy, so many files. If I used theappend import pluging, I had several seconds for each channel. So I need split each channel before.

For that I programmed next script using python (sorry it is in spanish):
Code: Select all
import os
import shutil
dir_actual=os.getcwd()
lista_archivos=os.listdir(dir_actual)
for nombre_archivo in lista_archivos:
  numero_archivo=nombre_archivo[5:9]
  if nombre_archivo[0]=='A':
    numero=int(numero_archivo)
    numero_microfono=numero%4
    if numero_microfono==0:
      shutil.copy(nombre_archivo, "000"+nombre_archivo)
    elif numero_microfono==1:
      shutil.copy(nombre_archivo, "111"+nombre_archivo)
    elif numero_microfono==2:
      shutil.copy(nombre_archivo, "222"+nombre_archivo)
    elif numero_microfono==3:
      shutil.copy(nombre_archivo, "333"+nombre_archivo)

After that, I could use Append import, and importing just 000*files without problems.

Of course, perhaps there is another easy way for doing the same, but it worked for me. Perhaps instead append import, one everything was splitted I could have used this shell script (https://gist.github.com/mef/2c90295920dc66f669a6) but, it seems to work fine with mono files.
ombresaco
 
Posts: 4
Joined: Thu May 26, 2016 7:32 am
Operating System: Linux *buntu

Re: Recovering recordings without aup file.

Permanent link to this post Posted by Gale Andrews » Fri May 27, 2016 12:11 pm

Thanks. I think a long time ago, I successfully used the steps "Linux command-line alternatives for timestamp sorting" then Append Import on a small number of files, possibly only one track though, whereas you have four tracks. Did you use the latest version of Append Import?

If you rename the files in an alphanumerical sequence, it is probably better to use the "1.2 Recovery Utility" to merge them to WAV files.

It may be better to find out why Audacity crashed and could not recover the recording. What version of Audacity are you using and where did you obtain it? What version of Ubuntu? Audacity 2.0.6 supplied by Ubuntu is very buggy because they built it with a version of wxWidgets that 2.0.6 does not support.

Most users on Ubuntu up to 15.10 should uninstall their packaged version of Audacity and install the 2.1.2 PPA of Audacity from https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/audacity.

What recording device are you using? Does it support Linux and have you looked for community-provided drivers for it?


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26093
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Recovering recordings without aup file.

Permanent link to this post Posted by ombresaco » Fri May 27, 2016 2:11 pm

It may be better to find out why Audacity crashed and could not recover the recording.
Totally agree.

What version of Audacity are you using and where did you obtain it?
I am not sure, I just took an old small pc I had with an old ubuntu 12.04 (no internet, just some games for children), totally out of date, and I tried at home and it worked fine. I took the hard disk for installing it in another pc and recovering them faster, so I do not know, but it is so old that it has no interest. Anyway, whrn I knew, I will came here and answer.

What recording device are you using?
Behringer UMC404HD. It worked at home for ten minutes, and I did not test it for more time (my fault). It is class compliant, so it does not need specific drivers. I use it a lot ot times with my desktop pc without problem.

I did not use jack, directly ALSA with 4 channels @ 44100 sps.

About the 1.2 recovery utility, I will try it, buit I am not sure if I will be able.

Thank you.
ombresaco
 
Posts: 4
Joined: Thu May 26, 2016 7:32 am
Operating System: Linux *buntu

Re: Recovering recordings without aup file.

Permanent link to this post Posted by Gale Andrews » Sat May 28, 2016 12:29 pm

The Audacity version can be found at Help > About Audacity... . It is probably Audacity 2.0.0 if you obtained it from Ubuntu - it is really old now.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26093
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10


Return to General Audio Programming



Who is online

Users browsing this forum: No registered users and 4 guests