Ideas for a Class Project

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
audioholic7
Posts: 4
Joined: Tue Nov 06, 2012 2:46 am
Operating System: Please select

Ideas for a Class Project

Post by audioholic7 » Tue Nov 06, 2012 3:01 am

I am a Junior CS major enrolled in a data structures course. For a final project I have to select a piece of open source software to modify. I want to work with Audacity, but need some help getting started. Ultimately, the goal of the project is to modify an existing data structure to marginally improve performance. I was hoping to field suggestions on what data structure I should focus my efforts. I have compiled Audacity on Linux and have browsed through the source code. I find this task a little daunting because I have never dealt with a program so big. Thank you in advance for your ideas!

kozikowski
Forum Staff
Posts: 68902
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Ideas for a Class Project

Post by kozikowski » Tue Nov 06, 2012 6:18 am

Our favorite data structure is the Audacity Project. Audacity saves shows as Projects and does not save sound files. If you need a stand-alone sound file, you have to Export one from your timeline.

http://manual.audacityteam.org/o/man/au ... jects.html

"My computer crashed while I was saving the project and now my show won't open."

"I deleted my AUP Project Manager file by accident and now I have several hundred thousand AU files. Can you put them back together?"

Koz

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

Re: Ideas for a Class Project

Post by steve » Tue Nov 06, 2012 11:23 am

9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

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

Re: Ideas for a Class Project

Post by waxcylinder » Tue Nov 06, 2012 12:56 pm

Ok here's a suggestion for you to try ...

As you will see, from the link that Koz posted anbove, the project structure uses lots of little snippets of audio stored in the .au files (and managed by the associated .aup file).
These .au files are usually buckets of 1 mb (or less) - this is done to speed processing performance when editing. So you could try tweaking the size of the .au files that Audacity creates and then measure the effect on processing speed with say one of the compute-intensive effects or analyzers. Plot the results - recommend a bucket-size. :geek:

How you do it I've no idea (I'm a documenter and QA person not a coder) I've never even looked at the code ... 8-)

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

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

Re: Ideas for a Class Project

Post by Gale Andrews » Mon Nov 12, 2012 7:10 am

waxcylinder wrote:Ok here's a suggestion for you to try ...

you could try tweaking the size of the .au files that Audacity creates and then measure the effect on processing speed with say one of the compute-intensive effects or analyzers. How you do it I've no idea
Launch Audacity with the "blocksize" argument, for example:

Code: Select all

"S:audacityaudacity-win-2.0.3-alphaaudacity.exe"  -blocksize 531950
which has Audacity writing 0.5 MB blocks instead of 1 MB.


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

Post Reply