ANNOUNCE: compress and archive an audacity project

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
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.
Post Reply
peeps
Posts: 8
Joined: Fri Jan 13, 2017 4:07 am
Operating System: Linux *buntu

ANNOUNCE: compress and archive an audacity project

Post by peeps » Fri Jan 13, 2017 4:21 am

Hi,

If you have (like me) several large audacity projects you know they take a decent amount of disk space.

I wrote two small Python scripts to "properly" archive/restore an audacity project. "Proper" here means the project can be restored "almost" exactly - that is sans the effects of encoding to ogg and back. Unless you insist on accuracy to the last bit I find it extremely useful. You can compress loosely via wv, but your savings will be around a factor of 2. ogg is about a factor of 10. Going down from 2G to 200M can make saving to the cloud feasible.

It works only on Linux. You will need Python, tar and sox installed. All one (command) line away if they are not installed already.

The project can be found here: https://github.com/jheled/audacity-archive

Jo.

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

Re: ANNOUNCE: compress and archive an audacity project

Post by steve » Fri Jan 13, 2017 10:21 am

How does this differ from / improve on Audacity's "Save Compressed Copy of Project" ?
http://manual.audacityteam.org/man/file ... compressed
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

peeps
Posts: 8
Joined: Fri Jan 13, 2017 4:07 am
Operating System: Linux *buntu

Re: ANNOUNCE: compress and archive an audacity project

Post by peeps » Fri Jan 13, 2017 11:09 am

Audacity "Save Compressed Copy of Project" is unfortunately somewhat broken. It does not preserve envelopes and concatenates segments in the same track. This might be fine for some people but if you want to come back to a big project and make changes this is highly annoying. I would not have bothered otherwise.

-Joseph

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

Re: ANNOUNCE: compress and archive an audacity project

Post by Gale Andrews » Fri Jan 13, 2017 4:56 pm

peeps wrote:You can compress loosely via wv, but your savings will be around a factor of 2.
Do you mean "losslessly", therefore not the hybrid lossy compression with .wvc correction file for lossless?


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

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

Re: ANNOUNCE: compress and archive an audacity project

Post by steve » Fri Jan 13, 2017 5:24 pm

peeps wrote:Audacity "Save Compressed Copy of Project" is unfortunately somewhat broken.
No it's not broken, though I agree that it won't suit everyone. "Saved Compressed Copy" is intended to make projects more easily shared. By applying envelopes when rendering tracks to OGG, the recipient does not even have to be using Audacity.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

peeps
Posts: 8
Joined: Fri Jan 13, 2017 4:07 am
Operating System: Linux *buntu

Re: ANNOUNCE: compress and archive an audacity project

Post by peeps » Fri Jan 13, 2017 11:09 pm

Gale Andrews wrote:
peeps wrote:You can compress loosely via wv, but your savings will be around a factor of 2.
Do you mean "losslessly", therefore not the hybrid lossy compression with .wvc correction file for lossless?


Gale
Yes I meant "without loss", i.e. restore is bit exact. Sorry about my English.

-Joseph

peeps
Posts: 8
Joined: Fri Jan 13, 2017 4:07 am
Operating System: Linux *buntu

Re: ANNOUNCE: compress and archive an audacity project

Post by peeps » Fri Jan 13, 2017 11:12 pm

steve wrote:
peeps wrote:Audacity "Save Compressed Copy of Project" is unfortunately somewhat broken.
No it's not broken, though I agree that it won't suit everyone. "Saved Compressed Copy" is intended to make projects more easily shared. By applying envelopes when rendering tracks to OGG, the recipient does not even have to be using Audacity.
I agree that the "Audacity compress" is sufficient for some people. I disagree about "the recipient does not even have to be using Audacity". In that case it is better to send an exported mp3/ogg. Without Audacity the track placement is lost, which is the main thing preserved by the "compress".

-Joseph

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

Re: ANNOUNCE: compress and archive an audacity project

Post by steve » Mon Jan 16, 2017 3:44 pm

My point was that "Save Compressed Copy of Project" is not (as you say in your caud.py script and repeated in your post) "broken", it behaves as intended and as described in the manual: http://manual.audacityteam.org/man/file_menu.html

The caud.py script appears to fail if the Audacity project contains 24-bit tracks or dependencies (http://manual.audacityteam.org/man/auda ... pendencies)

Perhaps it would be useful if there was an option in "Save Compressed Copy of Project" to compress the .AU files individually so as to retain individual clips and envelopes, and for Audacity to be able to open projects made as such?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply