# Waveward > Local-first tools for Audacity project files (.aup4 from Audacity 4, .aup3 from Audacity 3, and the older .aup from Audacity 1.x and 2.x together with its _data folder): open and play a project, convert it to WAV or MP3, recover a corrupted one, and downgrade an .aup4 so Audacity 3.7 can open it again. Projects are parsed on the user's own device with the File API, a Web Worker and SQLite compiled to WebAssembly — nothing is uploaded. Opening and playing a project are free at any size (one too large to hold in memory is read from the file in pages); exporting the stereo mix and downgrading to .aup3 are free up to 256 MB; reading a project's labels (as Audacity's label file or as timestamps) is free; rebuilding a corrupted project, per-track stems, splitting a mix at its labels or one MP3 with a chapter per label, exporting a batch of projects at once, FLAC / M4A (AAC) / Opus exports, an MP4 video of the mix (AAC sound with a still picture, for YouTube or a phone), a transcript as text or .srt subtitles (Whisper speech recognition run in the browser), exporting at another sample rate or normalised to a loudness target (−14, −16 or −23 LUFS), rendering the built-in realtime effects, saving a compact copy of a project without the space Audacity no longer uses, and larger exports and downgrades are a one-time paid license. ## Key facts - No upload: the project never leaves the user's device. The reader is downloaded the first time a project is opened; once one is open, playing, WAV export and downgrading keep working offline; MP3 export downloads its encoder from the site the first time, so it needs the connection. - No Audacity required: the project format is read directly, on any OS including macOS and ChromeOS, and in Chrome on Android phones. On an iPhone or iPad it works in Safari: tap the drop area, then Choose Files (the page leaves the picker unfiltered there, because iOS greys out project files in a filtered one). Audacity has no phone version (its downloads are Windows, macOS and Linux only); a project larger than the phone can hold is read from the file a piece at a time rather than loaded whole. - Size: a project the browser tab can hold is read into memory whole (the file bytes plus SQLite's in-memory copy, roughly twice the file size), which is what lets PRAGMA integrity_check run on it. A larger one — always one over 1.5 GiB, where sql.js's 2 GiB WebAssembly heap cannot take it, and sooner on a device that reports little memory — is read from the file a page at a time by a read-only reader of the SQLite file format: only the B-tree pages a lookup touches and the audio being played or exported are in memory, and playback and export render the mix a window of about 13 seconds at a time. That removes the ceiling Chrome and Edge put on reading a single file into memory (measured: 2,000,000,000 bytes reads whole, 2,147,483,647 does not). Measured 2026-10-09: a 2,229,993,472-byte, 104-minute project opened in about 3 seconds and its whole mix exported to a 1,101,004,844-byte WAV in about 12 seconds (Chrome 155 (headless, desktop and Pixel 7 profiles), Apple M3, 24 GB). Read in pages, the integrity check is skipped and reported as not run, and rebuilding or downgrading — which write a new copy of the whole project in memory — work only when the browser can hold it. - An Audacity project is not an audio file. It is an SQLite database holding audio as immutable blocks plus a binary-encoded XML document describing tracks and clips, so no media player can open one. Nor is it an MP3 under another name: Audacity stores new recordings as 32-bit float by default (QualitySettings.cpp, 3.7.9), so one minute of stereo at 44.1 kHz is about 21 MB of audio inside the project, against 2.4 MB as a 320 kbps MP3 or under 1 MB at 128 kbps. - Audacity 4.0 (released 3 September 2026) introduced .aup4. It opens .aup3 projects and converts them to .aup4 one way; a converted project cannot be saved back to .aup3, and Audacity 3.7 refuses to open .aup4 at all. Audacity 4.0.1 (30 September 2026) kept both: it still writes document version 2.0.0 and adds no save or export to .aup3. So did 4.0.2 (2 November 2026), a fix release whose ProjectFileIO.cpp still defines AUDACITY_FILE_FORMAT_VERSION "2.0.0". - Audacity 3.7 refuses a newer project at two gates: the SQLite user_version field (the Audacity version that wrote the file) and the project document's root `version` attribute (the XML schema version — 1.3.0 in Audacity 3.7, 2.0.0 in Audacity 4). Rewriting both, and dropping the fields Audacity 3 has no reader for, is what makes a downgrade possible. - Audacity 4.0 does not yet include Time Tracks, Note/MIDI tracks, the Mixer, the Macro Manager and scripting pipe, VAMP and LADSPA plugin hosting, or Play-at-speed; its release notes say they are coming back in later releases. That is the usual reason to downgrade a project. - Realtime effects: Audacity's built-in realtime effects (Reverb, Compressor, Limiter, Bass and Treble, Phaser, Wahwah) can be rendered into a Pro export — track effects before the track's volume and pan, master effects on the mix, as Audacity's export orders them — by this site's own DSP (not Audacity's code) that processes them the way Audacity 3.7.9 does; compared with Audacity 3.7.9's own export of 15 test projects, the samples match to within floating-point rounding (Phaser and Wahwah bit for bit). Audacity 4's rendering has not been compared. Plug-in effects (VST, Audio Unit, LV2, Nyquist) and Distortion are NOT rendered; playback and free exports are the dry mix. Every effect in a project is named as soon as it opens. - MP4 video (Pro, /aup3-to-mp4): the mix as AAC-LC sound with one still picture — the project's name, length and waveform, or an image the visitor picks — encoded as H.264 at 1280×720, 1 frame a second with a keyframe every 10 seconds, by the browser's own encoders (WebCodecs), so it is offered only where the browser has AAC and H.264 encoders. The file follows YouTube's recommended upload settings: the moov index at the front and no edit lists. - Transcription (Pro, /aup4-to-text): Whisper base (74 million parameters, OpenAI) in the 8-bit ONNX export, run on the device's processor in one WebAssembly thread; the model and the ONNX runtime are served from this site (about 96 MB the first time, then cached by the browser), so the recording is never uploaded and the model is not fetched from Hugging Face or a CDN. The spoken language is picked by the visitor, not detected; output is plain text or .srt subtitles, Chinese optionally converted to simplified characters with OpenCC. Measured on an Apple M3 in Chrome: 34 seconds of spoken English took 10 seconds and 20 seconds of Chinese took 5, model already downloaded; a phone is several times slower. Base is the small model: names, jargon, music and overlapping speakers come out with mistakes, so a transcript needs reading before it is published. - Per-clip time stretching (Audacity 3.4+) is approximated rather than resampled, and the number of stretched clips is reported after each mix. - 16-bit output — PCM WAV, and the 16-bit input the MP3 encoder takes — is rounded with Audacity's own constant: blocks are read as n / 32768 and written as round(f × 32768) clipped to −32768…32767, so a block stored as 16-bit comes back bit for bit. No dither is applied. Audacity's export applies shaped dither by default once a mix changes the samples (an envelope, a volume change, a mixdown, resampling, effects, or a 32-bit float block), so its 16-bit file and this one differ in the last bit on such material; Audacity's MP3 export also feeds LAME 32-bit float rather than 16-bit integers. - Old .aup files from Audacity 1.x and 2.x are a different format: a small XML file plus a separate _data folder holding the audio as .au block files, so the .aup file alone contains no audio. Audacity 4 cannot import them (Audacity 3.x converts them to .aup3). Since 14 October 2026 Waveward opens them too — drop the folder holding the .aup and its _data folder, or a .zip of both, at /aup-to-mp3; an .aup on its own opens and reports which folder and how many block files are missing. Blocks recorded as pcmaliasblockfile point at the original imported file rather than holding audio and play as silence. - A damaged .aup is usually not lost. Audacity 1.3–2.1 saved by renaming the old .aup to name.aup.bak (name.aup~ on Linux), writing the new .aup in place, and deleting the copy once the save finished (Project.cpp, safetyFileName), so a save cut off by a crash or power cut leaves an .aup that stops part-way next to the complete previous save. Since 12 November 2026 Waveward opens an .aup that stops part-way (or turns into zero bytes) up to its last complete entry and says what is missing, and opens the .aup.bak / .aup~ copy as well — Audacity 2.4.2 itself refuses to open a file ending in .aup.bak. Missing block files play as silence and are counted. ## Project file internals - Container: SQLite 3, with Audacity's application id (the ASCII bytes AUDY) in the database header at offset 68, and the writing Audacity version packed into user_version at offset 60. - Tables: `project` (the saved document), `autosave` (unsaved changes, what Audacity offers to restore after a crash), `sampleblocks` (the audio), and `project_history` (a few earlier saved documents, added in Audacity 4). - The document is XML stored in a compact binary token stream: a dictionary blob assigns a two-byte id to every element and attribute name, and the document blob references those ids. Structure: a `project` root, `wavetrack` children, then `waveclip`, `sequence`, `waveblock` and `envelope`. - Audio: `sampleblocks` rows hold raw PCM of up to about a megabyte each (roughly five seconds of mono at default settings) in one of three formats — 16-bit, 24-bit stored in four-byte integers, or 32-bit float — plus per-block min/max/RMS statistics and two pre-computed waveform summaries. Blocks are immutable: an edit writes new blocks rather than changing one, which is why project files grow quickly and why the audio usually survives corruption. - Clips record their timeline offset, left and right trims, an amplitude envelope as control points, and (from Audacity 3.4) a stretch ratio and pitch shift. Audacity 4 adds clip groups, a per-clip tempo, a stretch-to-project-tempo flag, a per-clip selection flag, and a per-clip colour index (pre-release 4.0 builds wrote colour as a hex string; the release writes a palette index, as Audacity 3 does). - Companion files: Audacity opens a project with SQLite journal_mode = WAL and wal_autocheckpoint = 0 (DBConnection.cpp, identical in Audacity 3.7.9 and 4.0.0), so while a project is open its folder also holds -wal (the write-ahead log: committed edits not yet copied into the project file) and -shm (the log's shared-memory index, which SQLite's WAL-format document says "does not contain any database content"; neither companion file converts to MP3 without the project). Audacity's own thread copies the log into the project in passes and forces a final copy when the project closes, after which SQLite deletes both files. A -wal left beside a closed project means Audacity crashed, was killed, or could not finish copying (its code names the -wal in its disk-full error); it still holds edits the project file lacks, so keep it next to the project, move the two together, and let Audacity open the project once — SQLite's documentation warns that separating a database from its -wal can lose committed transactions. Audacity renames and deletes -wal with the project on every platform and -shm on Windows only. Every project file is stamped as a WAL-mode database (header bytes 18 and 19 are 2), so any SQLite tool that opens it normally creates the pair; Audacity 4's own thumbnail reader avoids that by opening the file read-only with immutable=1. Dropped together with its project (or in the folder that holds both), a -wal has its committed transactions applied in the browser the way SQLite applies a log on open — a frame counts only when its salts and running checksum match the log header (sqlite.org/fileformat2.html, section 4), frames after the last commit frame are ignored — and neither file is changed; a -wal that passes those checks but leaves the project unreadable (nothing but the name ties a log to its database, so one from another copy of the project does this) is set aside and the project opens as last saved; a -wal dropped on its own is identified by its header magic, and a dropped -shm by the wal-index version (3007000) at the head of both copies of its header, instead of reporting a damaged project. ## .aup3 vs .aup4 - Written by: .aup3 — Audacity 3.0 to 3.7. .aup4 — Audacity 4.0 and newer. - Opens in: .aup3 — Audacity 3 and Audacity 4 (4 converts it to .aup4 on open, one way). .aup4 — Audacity 4 only — Audacity 3.7 refuses it. - Container: .aup3 — SQLite 3 database. .aup4 — SQLite 3 database (same design). - Database version stamp (user_version): .aup3 — The Audacity 3 build that saved it, e.g. 3.7.9. .aup4 — The Audacity 4 build that saved it, e.g. 4.0.0. - Document version attribute: .aup3 — 1.3.0 — unchanged since the .aup era. .aup4 — 2.0.0. - Tables: .aup3 — project, autosave, sampleblocks. .aup4 — project, autosave, sampleblocks, plus project_history (earlier saves). - Audio storage: .aup3 — Immutable sample blocks: 16-bit, 24-bit in four bytes, or 32-bit float. .aup4 — Identical — the blocks are the same bytes. - Clip fields: .aup3 — Offset, trims, envelope; stretch ratio and pitch shift from 3.4. .aup4 — Adds group id, clip tempo, a stretch-to-project-tempo flag and selection state. - Colour: .aup3 — A palette index (colorindex) on the track. .aup4 — A palette index on every clip as well; pre-release 4.0 builds wrote a hex color string, which the release does not. - Unsaved working copy: .aup3 — .aup3unsaved. .aup4 — .aup4unsaved. - Going back: .aup3 — Not needed. .aup4 — Rewrite the two version stamps and drop the Audacity 4 fields; the audio is untouched. - Source: https://waveward.app/what-is-aup4-file ## Recovering a damaged project - Audacity reports two SQLite failures by number: error code 11 means the database structure is damaged (a page failed to read), and error code 101 means a sample block the project references is missing. - Audacity 4.0.2 (2 November 2026) fixed two causes of project corruption in 4.0.0 and 4.0.1 — a one-sample clip removed on load whose audio was deleted while the saved document still referenced it (pull request 12544), and copying between projects — and restored autosave while recording, which 4.0.0 and 4.0.1 never ran (pull request 12539). Updating does not repair a file already damaged; a missing block plays and exports as silence here. - Recovery order: run the SQLite integrity check, then try the saved document, then the autosave copy, then each generation in `project_history` newest first; then census which referenced blocks can actually be read. - Blocks that cannot be read become silent runs in a rebuilt project (Audacity itself encodes silence as a non-positive block id meaning that many samples of nothing), and the report says how many seconds are affected. - Audacity's own recovery utility, audacity-project-tools, is a terminal program (Windows, Linux, and macOS since v1.0.5 in January 2026). It was written for .aup3 and has accepted .aup4 since v1.0.6 (7 October 2026); it restores an earlier save from project_history only when given that save's number (-history=N, Audacity 4 only). Its support article asks for about four times the project's size in free disk space. This tool runs the same checks in a browser on any operating system, reads .aup4 as an Audacity 4 project, and tries the earlier saves newest first. - Not every refusal is corruption: Audacity 4.0.0 on Windows cannot open a project whose file name or folder path contains characters outside the system ANSI code page (Cyrillic, Japanese, Hebrew, accented Latin letters — an accented parent folder such as Téléchargements is enough). Its command-line parser decodes the path with that code page instead of UTF-8, so double-clicking the file, or opening it while another project is already open, fails with "Unable to read file" / file not found. macOS and Linux are unaffected, and an existing .aup3 opened for conversion fails the same way (issue 12124: 録音テスト.aup3 refused, the same file renamed test.aup3 converted). Fixes: the parser change in Audacity pull request 11985 (https://github.com/audacity/audacity/pull/11985) was merged into master on 15 September 2026, and the maintainers' wider code-page fix in pull request 12115 (https://github.com/audacity/audacity/pull/12115), which covers recent-files entries, metadata, export errors and preset names but not the parser, was merged on 17 September; both shipped in Audacity 4.0.1 (released 30 September 2026, https://github.com/audacity/audacity/releases/tag/Audacity-4.0.1), whose release notes list "Fixed opening projects and files with non-ASCII characters in their name or folder" — updating from 4.0.0 is the fix. Workarounds on 4.0.0 that follow from the cause: move the project to an ASCII-only path, or (per the fix's analysis of issue 11973) open it from File → Open with no other project open. The integrity check here passes on such a file because the database was never touched. ## Sources - ExportMP3.cpp, Audacity 3.7.9: Audacity's MP3 export mixes to floatSample and calls lame_encode_buffer_interleaved_ieee_float (or lame_encode_buffer_ieee_float for mono), so LAME receives 32-bit float samples rather than 16-bit integers. https://github.com/audacity/audacity/blob/Audacity-3.7.9/modules/import-export/mod-mp3/ExportMP3.cpp - Dither.cpp, Audacity 3.7.9: 16-bit conversion uses one constant both ways, CONVERT_DIV16 = 1 << 15: an integer is read as n / 32768, and a float is stored as lrintf(f × 32768) clipped to −32768…32767. The two dither settings default to none (real-time) and shaped (high-quality). https://github.com/audacity/audacity/blob/Audacity-3.7.9/libraries/lib-math/Dither.cpp - SampleFormat.cpp, Audacity 3.7.9: gHighQualityDither starts as shaped and gLowQualityDither as none; InitDitherers() reloads both from the preferences. https://github.com/audacity/audacity/blob/Audacity-3.7.9/libraries/lib-math/SampleFormat.cpp - Mix.cpp, Audacity 3.7.9: NeedsDither() decides once per mix: dither is skipped only when no resampling, mixdown to fewer channels, fractional volume, envelope or effect touches the samples and no source's effective format is wider than the output; otherwise a high-quality mixer applies the high-quality dither choice. https://github.com/audacity/audacity/blob/Audacity-3.7.9/libraries/lib-mixer/Mix.cpp - ExportPluginHelpers.cpp, Audacity 3.7.9: Every export creates its mixer with highQuality set to true, so an export that needs dither uses the high-quality choice — shaped unless the preference was changed. https://github.com/audacity/audacity/blob/Audacity-3.7.9/libraries/lib-import-export/ExportPluginHelpers.cpp - QualitySettings.cpp, Audacity 3.7.9: The default sample format setting offers 16-bit, 24-bit and 32-bit float and defaults to choice 2, floatSample, so a new project stores its audio as 32-bit float unless the preference was changed; the default sample rate is the audio device's optimal rate rather than a fixed value. https://github.com/audacity/audacity/blob/Audacity-3.7.9/libraries/lib-project-rate/QualitySettings.cpp - SQLite WAL-mode file format: In active use a WAL-mode database is three files: the database "X", "X-wal" and "X-shm". The -wal is "a roll-forward journal that records transactions that have been committed but not yet applied to the main database", and "the shm file does not contain any database content and is not required to recover the database following a crash." https://www.sqlite.org/walformat.html - SimpleBlockFile.cpp, Audacity 2.4.2: A block file is a Sun .au file whose magic 0x2e736e64 (".snd") is written in the machine's own byte order, so a little-endian PC writes it as "dns."; dataOffset is the header plus Audacity's summary bytes; dataSize is written as 0xffffffff; the encoding is 16-bit, 24-bit or 32-bit float, and 24-bit samples are written three bytes each. https://github.com/audacity/audacity/blob/Audacity-2.4.2/src/blockfile/SimpleBlockFile.cpp - PCMAliasBlockFile.cpp and SilentBlockFile.cpp, Audacity 2.4.2: A records aliasfile (the full path of the original imported file), aliasstart, aliaslen and aliaschannel instead of holding the audio; a records only len (SilentBlockFile.cpp, same folder). https://github.com/audacity/audacity/blob/Audacity-2.4.2/src/blockfile/PCMAliasBlockFile.cpp - Project.cpp, Audacity 2.1.3 (lines 3707–3717, 3873): Before saving, an existing project file is renamed to safetyFileName — the file name plus ".bak", or plus "~" under GTK (Linux) — the new document is opened under the real name (line 3797), the copy is renamed back if writing throws (line 3817), and it is removed only after the save succeeds; 1.3.14 and 2.0.6 have the same code. https://github.com/audacity/audacity/blob/Audacity-2.1.3/src/Project.cpp#L3707-L3717 - ProjectFileManager.cpp, Audacity 2.4.2 (lines 402–415, 1245–1250): 2.4.2 keeps the .bak rename, writes the document through XMLFileWriter (a temporary file renamed into place), and refuses to open a file ending in .aup.bak: "You are trying to open an automatically created backup file." https://github.com/audacity/audacity/blob/Audacity-2.4.2/src/ProjectFileManager.cpp#L402-L415 - DirManager.cpp, Audacity 2.4.2 (lines 1167, 1185): MakeBlockFileName names a block "e" + two hex digits + two + three (e%02x%02x%03x) from numbers drawn with rand(), so a block file's name says nothing about where its audio belongs. https://github.com/audacity/audacity/blob/Audacity-2.4.2/src/DirManager.cpp#L1167-L1185 - SimpleBlockFile.cpp, Audacity 2.4.2 (lines 204–208): Every block file's header gets sampleRate = 44100 ("TODO: don't fabricate") and channels = 1 ("BlockFiles are always mono"), whatever the project's rate and channels. https://github.com/audacity/audacity/blob/Audacity-2.4.2/src/blockfile/SimpleBlockFile.cpp#L204-L208 - YouTube Help: recommended upload encoding settings: MP4 container with the moov atom at the front and no edit lists; H.264 video, High profile, 4:2:0; AAC-LC (or Opus) stereo sound at 48 kHz; common frame rates 24–60 with other frame rates also acceptable. https://support.google.com/youtube/answer/1722171 - WebCodecs, W3C: VideoEncoder and AudioEncoder, isConfigSupported (how the page asks the browser before offering MP4), encoded chunks with their decoder configuration. https://www.w3.org/TR/webcodecs/ - AVC (H.264) WebCodecs Registration, W3C: The avc format: a description that is an AVCDecoderConfigurationRecord (ISO/IEC 14496-15, 5.3.3.1) and a bitstream of length-prefixed NAL units, which is what the avcC box and the samples hold. https://www.w3.org/TR/webcodecs-avc-codec-registration/ - Audacity Support: saving and exporting projects: Audacity exports a project into an audio file with File → Export Audio (MP3, WAV, OGG and, with FFmpeg, more audio formats). https://support.audacityteam.org/basics/saving-and-exporting-projects - ProjectFileIO.cpp, Audacity 3.7.9: Gate 1: a user_version newer than the running build is refused with "This project was created with a newer version of Audacity". Gate 2: a document version above AUDACITY_FILE_FORMAT_VERSION 1.3.0 stops the load with "You may need to upgrade to a newer version to open this file". https://github.com/audacity/audacity/blob/Audacity-3.7.9/libraries/lib-project-file-io/ProjectFileIO.cpp - ProjectFileIO.cpp, Audacity 4.0.0: Audacity 4 writes 2.0.0 as the document version. https://github.com/audacity/audacity/blob/Audacity-4.0.0/au3/libraries/au3-project-file-io/ProjectFileIO.cpp - ProjectFileIO.cpp, Audacity 4.0.1: Audacity 4.0.1 still defines AUDACITY_FILE_FORMAT_VERSION as "2.0.0" and writes it as the document version. https://github.com/audacity/audacity/blob/Audacity-4.0.1/au3/libraries/au3-project-file-io/ProjectFileIO.cpp - Audacity 4.0.1 release notes: Released 30 September 2026; the features and fixes it lists include no way to save or export a project as .aup3. https://github.com/audacity/audacity/releases/tag/Audacity-4.0.1 - ProjectFileIO.cpp, Audacity 4.0.2: Audacity 4.0.2 still defines AUDACITY_FILE_FORMAT_VERSION as "2.0.0" and writes it as the document version. https://github.com/audacity/audacity/blob/Audacity-4.0.2/au3/libraries/au3-project-file-io/ProjectFileIO.cpp - Audacity 4.0.2 release notes: Released 2 November 2026, a fix release ahead of 4.1; none of the fixes it lists saves or exports a project as .aup3. https://github.com/audacity/audacity/releases/tag/Audacity-4.0.2 - WaveClip.cpp, Audacity 4.0.0: The clip attributes Audacity 4 writes and a downgrade drops: groupId, clipTempo, clipStretchToMatchTempo and isSelected. Colour is written as a colorindex palette entry, as in Audacity 3. https://github.com/audacity/audacity/blob/Audacity-4.0.0/au3/libraries/au3-wave-track/WaveClip.cpp - Audacity 4.0.0 release notes: "Converted projects cannot be saved back to .aup3", and the list of what is not in 4.0: Time Tracks, Note/MIDI tracks, the Mixer, the Macro Manager and scripting pipe, VAMP and LADSPA plugin hosting, Play-at-speed. https://github.com/audacity/audacity/releases/tag/Audacity-4.0.0 - audacity/audacity issue #8841: An Audacity contributor's tracker issue from May 2025 stating that backwards compatibility from Audacity 4 to Audacity 3 is not planned. https://github.com/audacity/audacity/issues/8841 - audacity-project-tools README (Audacity): Error codes 11 and 101 as Audacity reports them, the recovery command order (-drop_autosave, -check_integrity, -recover_db, -recover_project, -compact), and that Audacity never updates a block. -history=N (Audacity 4 only) takes snapshot N from project_history instead of the project and autosave tables. https://github.com/audacity/audacity-project-tools - audacity-project-tools v1.0.5 release notes: macOS support arrived in this release on 27 January 2026, with the supported project version raised to 3.7. https://github.com/audacity/audacity-project-tools/releases/tag/v1.0.5 - audacity-project-tools v1.0.6 release notes: Audacity 4 project support, with -history and -extract-thumbnail (Audacity 4 only), released on 7 October 2026. https://github.com/audacity/audacity-project-tools/releases/tag/v1.0.6 - AudacityDatabase.cpp in audacity-project-tools: MaxSupportedVersion is 4.0.0.1 since v1.0.6 (3.7.0.0 for a file named .aup3); a project whose major version is neither 3 nor 4 is reported as a broken user_version and given that ceiling, and the recovered copy is written with it. https://github.com/audacity/audacity-project-tools/blob/main/src/AudacityDatabase.cpp - Audacity support: Recovering corrupted projects: The four-times-the-project-size free disk space guidance and the 15–30 minutes per GB estimate. The article still says macOS is not supported, which the v1.0.5 release superseded. https://support.audacityteam.org/au3/troubleshooting/recovering-corrupted-projects - SQLite result codes: 11 is SQLITE_CORRUPT, the database disk image is malformed. 101 is SQLITE_DONE, what a query returns when no row matches — which is why Audacity reports it for a missing block. https://www.sqlite.org/rescode.html - SqliteSampleBlock.cpp, Audacity 3.7.9: Silent blocks are encoded with a non-positive block id, the representation a rebuilt project uses for audio that could not be read. https://github.com/audacity/audacity/blob/Audacity-3.7.9/libraries/lib-project-file-io/SqliteSampleBlock.cpp - Audacity pull request 11985: decode command-line arguments as UTF-8: Why Audacity 4.0.0 on Windows cannot open a project whose name or folder path has characters outside the ANSI code page: the command-line parser decoded the path with fromLocal8Bit instead of UTF-8, which on Windows in Qt 6 is the system code page. Double-clicking a project, the single-instance handoff, and opening a project while another is open all go through that parser; macOS and Linux are unaffected. Approved by a maintainer on 10 September 2026 and merged into master on 15 September (merge commit e24c106), and shipped in Audacity 4.0.1 on 30 September, whose command-line parser decodes with fromUtf8. Its second commit fixes a separate read of freed memory on the same open path: DBConnection::OpenStepByStep took a char pointer from a temporary UTF-8 copy of the path that was released before sqlite3_open read it — an owning buffer on Windows and macOS, where wxString is not UTF-8 internally, as the pull request notes. https://github.com/audacity/audacity/pull/11985 - Audacity issue 12004: accented characters in the project path: An accented letter in a parent folder alone (D:\Téléchargements) makes Audacity 4.0.0 report the project as not found or not readable, on an already-converted .aup4 as well as on one converted from .aup3. https://github.com/audacity/audacity/issues/12004 - Audacity issue 11973: Cyrillic project name fails on the first try: The dialogs users see — "Unable to read file" and "Failed to open database file" — and the report that the same project opened on a second attempt, which the fix attributes to File → Open with no project open bypassing the command-line parser. https://github.com/audacity/audacity/issues/11973 - Audacity issue 12124: an .aup3 with a Japanese name fails in Audacity 4 on Windows 11: The refusal is not specific to .aup4: an existing .aup3 named 録音テスト.aup3 could not be opened, its path shown garbled in the error dialog, while the same file renamed to test.aup3 opened and converted. A maintainer asked the reporter to try a build of pull request 12115. https://github.com/audacity/audacity/issues/12124 - Audacity pull request 12115: fix codepage conversion issues: The maintainers' own Windows code-page fix, opened 10 September 2026 and approved 11 September: input device names, metadata fields, translated undo entries, the recent-files records written after opening a project from a non-ASCII path, export error messages, effect preset names and the ffmpeg path. It does not touch the command-line parser, which pull request 11985 changes. Merged into master on 17 September 2026 (merge commit df54269); its last commit, added that day and titled "Fix a crash when canceling a recovery", changes ProjectFileIO::LoadProject so a project with no saved document and no usable autosave is marked temporary and keeps its file name instead of leaving the connection uncommitted. Shipped in Audacity 4.0.1 on 30 September 2026. https://github.com/audacity/audacity/pull/12115 - Audacity pull request 12544: project corruption from removing empty clips on load: Before the fix an empty clip, one sample long, was removed before the saved state was created and its samples were removed from the sample block table, while the saved project document still referenced it. Merged into master on 23 October 2026. https://github.com/audacity/audacity/pull/12544 - Audacity pull request 12539: autosave the project during recording: "During recording Audacity 4 never called for autosave"; the change autosaves while recording and guards the serialization against the audio thread. Merged into master on 23 October 2026. https://github.com/audacity/audacity/pull/12539 - DBConnection.cpp, Audacity 3.7.9: The project connection is configured with journal_mode = WAL and wal_autocheckpoint = 0, so SQLite never checkpoints on its own; Audacity installs a WAL hook that wakes its own thread to run passive checkpoints, forces a truncating checkpoint when the connection closes ("moves data from wal to main project file"), and when a checkpoint fails with a full disk shows "Disk is full" naming the -wal file. Audacity 4.0.0 carries the same code under au3/libraries/au3-project-file-io. https://github.com/audacity/audacity/blob/Audacity-3.7.9/libraries/lib-project-file-io/DBConnection.cpp - SQLite: Write-Ahead Logging: When the last connection closes it checkpoints and deletes the WAL and its shared-memory file; a database separated from its WAL file can lose committed transactions or be corrupted; the WAL is part of the database's persistent state and must travel with it; and the first connection after a crash runs recovery. https://www.sqlite.org/wal.html - SQLite database file format, section 4: the write-ahead log: How a -wal is read when it is dropped with the project: a 32-byte header (magic, format 3007000, page size, two salts, a checksum of its first 24 bytes), then frames of a 24-byte header and one page; a frame is valid only if its salts are the header's and its checksum continues the chain from the header through every earlier frame, and a frame that commits a transaction carries the database size. Recovery uses the valid frames up to the last commit frame and ignores the rest. https://www.sqlite.org/fileformat2.html - ProjectSerializer.cpp, Audacity 4.0.0: The binary XML stream: a dictionary of two-byte name ids and the 17 field types (16 in Audacity 3, plus the blob type Audacity 4 added). Strings are stored in the writing platform's native width, two or four bytes per character. https://github.com/audacity/audacity/blob/Audacity-4.0.0/au3/libraries/au3-project-file-io/ProjectSerializer.cpp - SampleFormat.h, Audacity 3.7.9: The three sample formats and their codes: int16 0x00020001, int24 0x00040001, float 0x0004000F, with the byte width packed into the upper sixteen bits. https://github.com/audacity/audacity/blob/Audacity-3.7.9/libraries/lib-math/SampleFormat.h - DBConnection.cpp, Audacity 4.0.0: journal_mode = WAL with wal_autocheckpoint = 0 on the project connection, Audacity's own checkpoint thread driven by sqlite3_wal_hook, and the truncating checkpoint on close that moves the log into the project file — unchanged from Audacity 3.7.9. https://github.com/audacity/audacity/blob/Audacity-4.0.0/au3/libraries/au3-project-file-io/DBConnection.cpp - LabelTrack.cpp, Audacity 4.0.0: WriteXML writes with numlabels and, per label, t and t1 from the selected region, title and isSelected; LabelStruct::Export writes the TEXT label file as start, end and title separated by tabs, with FLT_DIG (six) digits after the point. https://github.com/audacity/audacity/blob/Audacity-4.0.0/au3/libraries/au3-label-track/LabelTrack.cpp - LabelTrack.cpp, Audacity 3.7.9: The same and