Audacity not fully exporting audio file

This read-only archive contains discussions from the Adding Feature forum.
New feature request may be posted to the Adding Feature forum.
Technical support is available via the Help forum.
steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity not fully exporting audio file

Post by steve » Wed Jun 29, 2016 3:26 pm

Edgar wrote: It should, Export could return FALSE in this case and the proper rollback (deleting the malformed file if necessary) could terminate with the warning. If not, I would consider this a bug.
Wouldn't it be better if Audacity worked out how big the WAV file would be before even attempting to export it? Then, if >4GB, Audacity could advise the user of what they need to do without wasting time writing and deleting large amounts of useless data.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Audacity not fully exporting audio file

Post by Edgar » Wed Jun 29, 2016 7:55 pm

steve wrote:
Edgar wrote: It should, Export could return FALSE in this case and the proper rollback (deleting the malformed file if necessary) could terminate with the warning. If not, I would consider this a bug.
Wouldn't it be better if Audacity worked out how big the WAV file would be before even attempting to export it? Then, if >4GB, Audacity could advise the user of what they need to do without wasting time writing and deleting large amounts of useless data.
I just had a brief look at the code and Audacity calculates the entire size of the export before starting the Write (but it does repetitive Writes in small blocks). At this point it might not be immediately aware of the export format but I am sure that the format can be determined and, if not, the format could be passed to the Export function as an additional parameter.
-Edgar
running Audacity personally customized 2.0.6 daily in a professional audio studio
occasionally using current Audacity alpha for testing and support situations
64-bit Windows Pro 10

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Audacity not fully exporting audio file

Post by Gale Andrews » Thu Jun 30, 2016 3:09 pm

I've moved it to "Adding Features".

Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

waxcylinder
Forum Staff
Posts: 14684
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: Audacity not fully exporting audio file

Post by waxcylinder » Tue Aug 02, 2016 11:02 am

BUMP - what is the underlying feature request

Peter
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity not fully exporting audio file

Post by steve » Tue Aug 02, 2016 11:28 am

waxcylinder wrote:BUMP - what is the underlying feature request
Do something more helpful than dumbly exporting WAV files > 4GB.

This seems like more of a bugzilla "enhancement" issue rather than a "feature request".
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Audacity not fully exporting audio file

Post by Gale Andrews » Tue Aug 02, 2016 1:48 pm

steve wrote:
waxcylinder wrote:BUMP - what is the underlying feature request
Do something more helpful than dumbly exporting WAV files > 4GB.

This seems like more of a bugzilla "enhancement" issue rather than a "feature request".
I agree. I think an enhancement issue is justified given we get this at least twice a month on the Forum. I made a note to add it sometime, if no-one else does. Probably we should have a mild warning for a file between 2 GB and 4 GB, and different strong warning for a file over 4 GB.

I'm archiving this now.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Locked