The architecture of Open Source Applications: audacity

Source: Internet
Author: User
Tags wxwidgets
ArticleDirectory
    • The architecture of audacity
    • Lessons from the architecture of audacity
    • References
The architecture of audacity

Lessons from the architecture of audacity
  • User Interface shocould be discoverable: People shocould be able to sit down without a manual and start using it right away, gradually discovering its features.
  • Supports ladspa (Linux audio developer's simple plugin API) for dynamically loadable plugin audio effects
  • Use shuttlegui to transfer information between wxWidgets library and audacity in order to avoid tangled repetitive code
  • The main problem with the blockfile structure is that it is exposed to end users. we often hear from users who move. AUP file and don't realize they also need to move the folder containing all the blockfiles too.
  • Third party APIs such as portaudio and wxWidgets have been of huge benefit. they 've given us code that works to build on, and export acted away platform form differences. one price we pay for using them is that we don't get the flexibility to choose the specified actions. we have less than pretty code for playback and recording because we have to handle threading in three different ways. the Code also does more copying of data than it cocould do if we controlled the specified actions.
  • The API given to us by wxWidgets tempted us into writing some verbose, hard to follow application code. our solution to that was to add a facade in front of wxWidgets to give us the specified actions we wanted and cleaner application code.
  • In the trackpanel of audacity we needed to go outside the features that cocould easily be got from existing widgets. as a result we rolled our own ad hoc system. there is a cleaner system with widgets and Sizers and logically distinct application level objects struggling to come out of the trackpanel.
  • Structural decisions are wider ranging than deciding how to structure new features. A demo-about what not to include in a program can be as important. it can lead to cleaner, safer code. it's a pleasure to get the benefits of scripting versions like Perl without having to do the work of maintaining our own copy. structural decisions also are driven by plans for future growth. our embryonic modular system is expected to lead to more experimentation by making experiments safer. on Demand Loading is expected to be an evolutionary step towards on demand processing of real time effects.
References

http://www.aosabook.org/en/audacity.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.