I'm using 2.4.1.
I notice my .aud file is very large (around 560 Mbytes)
Looking inside the file (it's plain ole XML, it seems) I see there are vast numbers of <controlpoint> elements.
Since all the snipping and joining has been completed there are only about 4 Tracks in play. I am guessing all those elements
are a residue of my snipping and joining. Does joining two clips do all the clean up a naive user (me) would expect? If not, is there a way of purging all any unneeded <controlpoint> elements?
(I am getting problems stashing my project into a CVS repository, by the way.)
.aud file bloat
Forum rules
This forum is for Audacity on GNU/Linux.
Please state:
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state:
- which version of Linux you are using,
- the exact three-section version number of Audacity from Help menu > About Audacity,
- whether you installed your distribution's release, PPA version, or compiled Audacity from source code.
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
-
JohnFClarke
- Posts: 3
- Joined: Tue Jun 23, 2020 4:16 pm
- Operating System: Linux *buntu
Re: .aud file bloat
Do you mean ".aup" file?JohnFClarke wrote: ↑Tue Jun 23, 2020 4:33 pmI notice my .aud file is very large (around 560 Mbytes)
If so, that seems extraordinarily large. Are you certain that it 560 MB? How long are the tracks?
If not, what do you mean?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
JohnFClarke
- Posts: 3
- Joined: Tue Jun 23, 2020 4:16 pm
- Operating System: Linux *buntu
Re: .aud file bloat
Yes "aud" tripped wrongly off the fingers. Sorry about that.
The project will contain about 6 tracks when complete. The duration is the usual 3'30"-ish.
The aup is usually quite small - a few 10s of Kbytes. The "bloated" version appears after I have done lots of Edit >Clip Boundaries >Split and
>Join operations, and lots of Delete operations. I haven't tried to count the number of these ops and compared it to the number of <controlpoint> elements, I'm afraid.
I imagine there is an in-memory tree that gets marshaled out to file during a Save. And somewhere in the lifetime of a project, there must be a "pruning" process to remove tree-stuff that has become redundant because it's cancelled out by other stuff. It looks to me like the "pruning" is sometimes not done before a Save.
I am going along OK now, just checking the size of aups before I attempt to commit them to CVS. I haven't worked out what make Audacity prune the aup down. So it is trial-and-error.
But I can probably find a "bloated" copy if that would help.
The project will contain about 6 tracks when complete. The duration is the usual 3'30"-ish.
The aup is usually quite small - a few 10s of Kbytes. The "bloated" version appears after I have done lots of Edit >Clip Boundaries >Split and
>Join operations, and lots of Delete operations. I haven't tried to count the number of these ops and compared it to the number of <controlpoint> elements, I'm afraid.
I imagine there is an in-memory tree that gets marshaled out to file during a Save. And somewhere in the lifetime of a project, there must be a "pruning" process to remove tree-stuff that has become redundant because it's cancelled out by other stuff. It looks to me like the "pruning" is sometimes not done before a Save.
I am going along OK now, just checking the size of aups before I attempt to commit them to CVS. I haven't worked out what make Audacity prune the aup down. So it is trial-and-error.
But I can probably find a "bloated" copy if that would help.
Re: .aud file bloat
I'd be interested to see that if you can find one and upload it somewhere.JohnFClarke wrote: ↑Wed Jun 24, 2020 3:14 pmBut I can probably find a "bloated" copy if that would help.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
JohnFClarke
- Posts: 3
- Joined: Tue Jun 23, 2020 4:16 pm
- Operating System: Linux *buntu
Re: .aud file bloat
I have (I think) put a "cloud" copy at this link: https://drive.google.com/file/d/1eg86Sn ... sp=sharing
(I'm struggling a bit, trying to do this working with my longest-handled spoon 8^) Let me know if this doesn't work for you.
(I'm struggling a bit, trying to do this working with my longest-handled spoon 8^) Let me know if this doesn't work for you.
Re: .aud file bloat
Thanks, got it.
Those "control points" are "envelope control points" (https://manual.audacityteam.org/man/envelope_tool.html)
You have millions of them (8,388,610 to be precise), and they are all completely redundant (they all have the value "1.0"). There's certainly far too many of them to have been created in the normal way (with the "Envelope Tool"), so the obvious question is, how did you create them?
If you can open the project in Audacity, and then "Save Project As" to give the project a new name (save to a normal hard drive), then Audacity may be able to sort out the mess.
Those "control points" are "envelope control points" (https://manual.audacityteam.org/man/envelope_tool.html)
You have millions of them (8,388,610 to be precise), and they are all completely redundant (they all have the value "1.0"). There's certainly far too many of them to have been created in the normal way (with the "Envelope Tool"), so the obvious question is, how did you create them?
If you can open the project in Audacity, and then "Save Project As" to give the project a new name (save to a normal hard drive), then Audacity may be able to sort out the mess.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: .aud file bloat
By the way, are you aware of this: viewtopic.php?f=48&t=111501
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)