Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 2099 - 24-bit WAV (and AIFF) export is wrongly limited to 3GB
24-bit WAV (and AIFF) export is wrongly limited to 3GB
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Application Core
2.3.2
Per OS Other
: P3 RepeatableAll
Assigned To: James Crook
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-04-26 11:16 UTC by Peter Sampson
Modified: 2019-07-20 10:36 UTC (History)
6 users (show)

See Also:
Steps To Reproduce:
1) get a stereo track of length 4hrs30mins 2) Export it as 24-bit WAV 3) Observe error message blocking the export Note that the max limit should be 4h30m
Release Note:
Group Exports *24-bit WAV (and AIFF) export is wrongly limited to 3GB (it should be 4GB)
First Git SHA:
Group: ---
Workaround:
Export as 32-bit WAV and uses a 3rd party application to downsample to 24-bits
Closed: 2019-07-20 00:00:00
james.k.crook: Must‑Test‑All‑OS-
petersampsonaudacity: Test‑OK‑Win+
flyer185: Test‑OK‑Mac+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Sampson 2019-04-26 11:16:04 UTC
24-bit WAV (and AIFF)export is wrongly limited to 3GB - a maximum time of 3h22m for stereo and 6h45m for mono.

Those timings are the max times for 32-bit not 24-bit.

This is an error created in fixing Bug #2057 Exporting WAV files > 4GB silently creates invalid, truncated, WAV file.

This fails safe - it's just an overly restrictive limit.
Comment 1 Peter Sampson 2019-04-26 11:52:34 UTC
Technically this is a regression as we didn't have any checks on file size before, so it was possible with 2.3.1 and earlier to properly create AIFF files up to the 4GB limit rather than the 3GB limit as now.

It's just that beyond 4GB they just got truncated and corrupted silently without warning (Bug #2057)
Comment 2 Peter Sampson 2019-04-26 11:54:50 UTC
This is the table of max sizes in the 2.3.2 manual
https://alphamanual.audacityteam.org/man/Size_limits_for_WAV_files
Comment 3 Peter Sampson 2019-06-03 12:00:41 UTC
We are getting user complaints about this on the Forum
Comment 5 Peter Sampson 2019-07-15 11:20:25 UTC
Testing on W10 with audacity-2.3.3-alpha-288-a8d864ea9f5c3bafb8c66217b9fdcc0af66ac827

This now exports a stereo track of length 3hrs22mins as 24-bit WAV OK
Comment 6 Peter Sampson 2019-07-15 11:37:58 UTC
Testing on W10 with audacity-2.3.3-alpha-288-a8d864ea9f5c3bafb8c66217b9fdcc0af66ac827

Steps updated for lenght of WAV file

This now exports a stereo track of length 4hrs30mins as 24-bit WAV OK

4Hours31 still, properly gets the error message blocking the export
Comment 7 Cliff Scott 2019-07-16 22:26:31 UTC
Test good on MacOS 10.13.6 Commit a07b16

Note the actual file generated is 4.29GB so the error popup is not accurate. It should say something like "not over 4 Hours 30 Minutes in this mode." since it is over 4GB in size.
Comment 8 Peter Sampson 2019-07-20 10:36:07 UTC
Marked as minus for "nust tetst all OS" - so marked RESOLVED FIXED on the basis of W10 and Mac tests