Audacity Support
  • Audacity Support
  • Audacity Basics
    • Downloading & installing Audacity
    • Installing FFmpeg
    • Recording your voice with a microphone
      • Setting recording and playback levels
    • Recording desktop audio
    • Editing audio
    • Saving and exporting projects
    • ☁️Sharing audio online
    • Customizing Audacity
      • Using themes
      • Installing plugins
      • Effect Presets
    • Keyboard shortcuts
  • Repairing Audio Recordings
    • Noise reduction & removal
    • Re-recording a section
    • Removing clicks & pops
  • Audio Editing
    • 🆕Using master effects & realtime effects
    • Making crossfades
    • Speeding up and slowing down audio
    • Changing pitch
    • Mixing and panning tracks
    • 🆕Reducing dynamic range (Compressor / Limiter)
    • Splitting a recording into separate tracks
    • Loudness Normalization
    • Macros
      • Manage Macros
      • Macros Palette
      • Macros Examples
    • Audiobook Mastering
  • Music
    • 🆕Enabling music view
    • Aligning music to beats and bars
    • Working with audio loops
      • Making audio loops
    • Isolating or removing vocals from a song
  • Audio Analysis
    • Spectral analysis
  • Troubleshooting
    • Troubleshooting overview
    • Error codes
      • Error -9996: Invalid Device Error
      • Error -9997: Invalid Sample Rate
      • Error -9998: Invalid number of channels
      • Error -9999: Unanticipated Host Error
      • Error opening sound device
      • Error opening recording device
      • Error: Audacity failed to read a file in C: and Error: Failed to Open Database File
      • Error Audacity did not recognize the type of this file
      • Error: The Audacity IPC server failed to initialize
      • Error code=12: cannot allocate memory (macOS)
      • Error: Missing Plugins
      • Error FFmpeg:1008
      • Installation exit codes
    • Recovering corrupted projects
      • Recovering corrupted projects in legacy Audacity versions
    • Common troubleshooting steps
    • Solving recording problems
      • Audacity is not detecting the audio device I just connected
      • Audacity is not playing back what is being recorded
      • Delay and echoes when recording
      • Crackles, pops and distortion in the recording
      • Vertical red lines in the recording
      • Recording volume slider cannot be moved
      • Audacity records silence when using a Bluetooth headset as a recording device
      • Only the left channel is recording
      • Recording dropouts, gaps, skips and glitches
      • Latency Compensation
    • Solving other problems
    • Resetting Audacity
    • Uninstalling OpenVINO models
    • Missing features
  • Special uses
    • Info for Visually Impaired Users
    • Info for System Administrators
  • Community
    • Contributing to Audacity
      • Making Tutorials and User Guides
        • Style Guide
        • Editing through GitHub
        • Gitbook Markdown syntax
        • TODO
          • Untitled
          • ASIO in Audacity
          • Synchronizing Tracks
            • Keeping Tracks Synchronized
          • Using Macros to Automate Frequent Tasks
          • Using looping Playback
          • Mastering for Audio Books
          • How to use Audacity
          • Working with Tracks
      • Developing Audacity
      • Translating Audacity
      • Answering user questions
      • Testing the latest features
      • Finding & testing plugins
      • Credits & License
    • 💬Discord
    • 💬Forum
  • Additional resources
    • 📄Changelog
      • Audacity 3.7
      • Audacity 3.7.1
      • Audacity 3.7.2
      • Audacity 3.7.3
      • Audacity 3.7.4
      • Older versions
        • Audacity 1.x
        • Audacity 2.x
          • Audacity 2.0.0
            • Audacity 2.0.1
            • Audacity 2.0.2
            • Audacity 2.0.3
            • Audacity 2.0.4
            • Audacity 2.0.5
            • Audacity 2.0.6
          • Audacity 2.1.0
            • Audacity 2.1.1
            • Audacity 2.1.2
            • Audacity 2.1.3
              • New features in Audacity 2.1.3
              • New features in Audacity 2.1.3 - Appendix
          • Audacity 2.2.0
            • New features in Audacity 2.2.0
            • New features in Audacity 2.2.0 - Appendix
            • Audacity 2.2.1
              • New features in Audacity 2.2.1
            • Audacity 2.2.2
              • New features in Audacity 2.2.2
          • Audacity 2.3.0
            • New features in Audacity 2.3.0
            • Audacity 2.3.1
              • New features in Audacity 2.3.1
            • Audacity 2.3.2
              • New features in Audacity 2.3.2
            • Audacity 2.3.3
              • New features in Audacity 2.3.3
          • Audacity 2.4.0
            • New features in Audacity 2.4.0
            • Audacity 2.4.1
              • New features in Audacity 2.4.1
            • Audacity 2.4.2
              • New features in Audacity 2.4.2
        • Audacity 3.0
          • New features in Audacity 3.0.0
          • Audacity 3.0.2
            • New features in Audacity 3.0.2
          • Audacity 3.0.3
            • New features in Audacity 3.0.3
          • Audacity 3.0.4
            • New features in Audacity 3.0.4
          • Audacity 3.0.5
        • Audacity 3.1
          • Audacity 3.1.1
          • Audacity 3.1.2
          • Audacity 3.1.3
        • Audacity 3.2
          • Audacity 3.2.1
          • Audacity 3.2.2
          • Audacity 3.2.3
          • Audacity 3.2.4
          • Audacity 3.2.5
        • Audacity 3.3
          • Audacity 3.3.1
          • Audacity 3.3.2
          • Audacity 3.3.3
        • Audacity 3.4
          • Audacity 3.4.1
          • Audacity 3.4.2
        • Audacity 3.5
          • Audacity 3.5.1
        • Audacity 3.6
          • Audacity 3.6.1
          • Audacity 3.6.2
          • Audacity 3.6.3
          • Audacity 3.6.4
    • Audacity Plugins
Powered by GitBook
LogoLogo

Get Audacity

  • Home
  • Download

Contribute

  • Tutorial makers
  • Translators
  • Testers
  • Developers

Audacity Help

  • Help & Tutorials
  • Manual
  • Help Forum

Resources

  • Plugins
  • Share your audio
  • Muse Hub

© Muse Group & contributors. Contents licensed under the Creative Commons-Attribution 4.0 license.

On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Troubleshooting

Recovering corrupted projects

Using the Audacity Project Tools to recover corrupted projects

PreviousInstallation exit codesNextRecovering corrupted projects in legacy Audacity versions

Last updated 2 years ago

Was this helpful?

This article addresses the following error codes in Audacity:

  • Error code 11

  • Error code 13

  • Error code 101

  • "Audacity failed to read a file in C:" (or D:, E:, ...)

Make sure you use the latest version of Audacity. See Downloading & installing Audacity for more information.

Sometimes, just opening the file in the latest version automatically recovers the project. If not, proceed with the following steps:

First, download the latest version of the Audacity Project Tools:

After downloading, follow the instructions relevant to your system. Note: macOS is not supported yet.

Caution: Make sure you have plenty of space left on your computer. You will need roughly 4 times the size of your .aup3 for a successful recovery. If you have a 10GB file, you should have at least 40GB available.

  1. In your Downloads folder, create a new sub-folder "AudRepair".

  2. Unzip the audacity-project-tools zip which you downloaded

  3. Move the two .exe files from the unzipped folder into AudRepair.

  4. Copy your defective .aup3 project file into the AudRepair folder.

  5. Rename the file to broken.aup3.

  6. Press Windows-key + R, and type cmd. A (black) cmd screen will appear.

  7. Navigate to your AudRepair folder by typing cd Downloads\AudRepair and pressing Enter.

  8. Type dir and press Enter. The following three files should be listed: audacity-project-tools.exe, broken.aup3, and sqlite3.exe

  9. Type audacity-project-tools -drop_autosave broken.aup3 and press Enter.

  10. The message "Project requires Audacity 3.0.0" will appear.

  11. When the command prompt (C:\Users\(yourname)\Downloads\AudRepair\>) reappears, type dir again.

  12. If a broken.recovered.aup3 file appears, open it in Audacity. If that file works as expected, go to File -> Save As... and save it to your usual location. The recovery process is now over, you can continue working as normal. If that file does not appear, or is still broken, continue with the following steps:

  13. Type audacity-project-tools -recover_db -recover_project broken.aup3 and press Enter.

  14. The messages "Project requires Audacity 3.0.0", and "Using 'sqlite3.exe' for recovery" will appear. Later the message "Executing query #xxxx...." will appear as the rescued file is being recreated. Note: This process can take quite a while depending on your specific machine. There is no status (or % completion) indicator, so you just have to be patient. You should plan 15-30 minutes per GB, though it may be faster if you have a fast PC. Keep an eye on available disk space. Due to a glitch, sometimes a single character can appear when the program is done, eg "z". If this happens, simply press Backspace.

  15. When the process completes, your should be able to open the "broken.recovered.aup3" in Audacity. The message "File not saved properly" will appear the first time you open the recovered project. This is normal and you can ignore this message.

If the messages "Invalid block xxxx: Block not found", check to see if some audio was silenced - typically near your most recent edits. Usually these messages are spurious.

  1. In your downloads folder, create a new sub-folder called "AudRepair".

  2. Unzip the audacity-project-tools ZIP file that you downloaded

  3. Move the unzipped files into AudRepair

  4. Copy your defective .aup3 project file into AudRepair

  5. Rename the .aup3 file to broken.aup3

  6. Open the Terminal or Konsole program.

  7. Navigate to the AudRepair folder by typing cd ~/Downloads/AudRepair and pressing Enter

  8. Type ls and press Enter. **** The following three files should be listed: audacity-project-tools, broken.aup3 and sqlite3

  9. Make the audacity project tools and sqlite3 executable by typing chmod +x audacity-project-tools sqlite3 and pressing Enter.

  10. Type ./audacity-project-tools -drop_autosave broken.aup3 and press Enter.

  11. The message "Project requires Audacity 3.0.0" will appear.

  12. When the command prompt (you@pc:~/Downloads/AudRepair$) reappears, type ls again.

  13. If a broken.recovered.aup3 file appears, open it in Audacity. If that file works as expected, go to File -> Save As... and save it to your usual location. The recovery process is now over, you can continue working as normal. If that file does not appear, or is still broken, continue with the following steps:

  14. Type ./audacity-project-tools -recover_db -recover_project broken.aup3 and press Enter.

  15. The messages "Project requires Audacity 3.0.0", and "Using 'sqlite3' for recovery" will appear. Later the message "Executing query #xxxx...." will appear as the rescued file is being recreated. Note: This process can take quite a while depending on your specific machine. There is no status (or % completion) indicator, so you just have to be patient. You should plan 15-30 minutes per GB, though it may be faster if you have a fast PC. Keep an eye on available disk space. Due to a glitch, sometimes a single character can appear when the program is done, eg "z". If this happens, simply press Backspace.

  16. When the process completes, your should be able to open the "broken.recovered.aup3" in Audacity. The message "File not saved properly" will appear the first time you open the recovered project. This is normal and you can ignore this message.

If the messages "Invalid block xxxx: Block not found", check to see if some audio was silenced - typically near your most recent edits. Usually these messages are spurious.

Note:

  • There is no guarantee that all content will be able to be restored, or any at all.

  • Some additional commands for the Audacity Project Tools can be found on Github.

  • If a section of audio is missing, you may need to manually re-record it. See Re-recording a section for more information.

Releases · audacity/audacity-project-toolsGitHub
Logo