Preferences

From Audacity Development Manual
Revision as of 16:51, 4 November 2009 by Billw58 (talk | contribs) (indent table, adjust spacing of sections)
Jump to: navigation, search
Preferences let you change most of the default behaviors of Audacity. The Preferences dialog can be selected from the Edit Menu (or use the shortcut CTRL + P). On a Mac, Preferences are under the Audacity Menu (shortcut CMND + ,).

I don't think I like prettytableb. Column 1 seems to have valign="middle" and column 2 valign="top". In any case the rows of text don't line up. - Bill

Gale: The table cells are all correctly top-aligned in the CSS. The problem is the bullets in the first table cell. They are padded/formatted somehow in the CSS, so throwing the valign out. It works fine in HTML with unstyled bullets. Even padding the second td doesn't work exactly because the texts becomes increasingly misaligned the more rows there are.

Do you really want bullets? Do we use them anywhere else in tables? If so you'll need to create an unformatted UL class and use that here instead. If no bullets, what works best, centering of the first cell as below, or indentation, to take the place of the bullet?

Bill: - Oops. No, I didn't want bullets. Good catch. I can't even remember why they're there - maybe because I copied the text from the main page? Anyway, I like the look of it now. Gale: I do think the left-hand cells need a bit of padding; the right-hand edge of the text in the other cells will almost never reach anything like as close to the right table edge as the text in the first cell is to the left-edge. By all means play with different px values but I think we should make that change. Bill: I think the second column could use some left-padding as well, otherwise the text in that column is uncomfortably close to the first column, but only in the case of the longest text in the first column. This is shaping up nicely.

The Preferences dialog is split into fifteen sections, each of which has their own clickable tab:

Section What it controls
Devices Select audio devices and their properties.
Playback Set playback behavior when previewing audio, or seeking.
Recording Settings for playthrough, latency, and sound-activated recording.
Quality Select sample rate and format, conversion trade offs between speed, size and quality.
Interface Interface behavior, hide and show additional information, preferred dB display range, choose language..
Tracks Tracks display and behavior, behavior of the Solo button.
Import / Export Whether imported audio is copied into projects, if tracks are normalized, how audio is mixed upon export.
Projects What to do when saving a project that depends on other audio files, turn auto save on or off and set auto save interval.
Libraries Locations of the LAME MP3 and FFmpeg libraries.
Spectrograms Presentation of spectrogram.
Directories Location of the temporary files directory, play and/or record using RAM (useful for slow drives)
Warnings Choose to show or not show warnings when saving projects, mixing down, and when disk space is getting low.
Effects Enable or disable effects by type: LADSPA, Nyquist, VAMP, Audio Units, VST. Control display of Audio Units and VST effects.
Keyboard Keyboard shortcuts for commands.
Mouse Mouse shortcuts for commands.
Note: Choice of export format (WAV, MP3 and others) is made at time of export in the File Export Dialog.

Where are Preferences stored?

Audacity Preferences are stored in a configuration file called audacity.cfg. It is a text file and can be edited with any text editor. The file is stored at:

  • Windows: Documents and Settings\<user name>\Application Data\Audacity\audacity.cfg
  • OS X: ~/Library/Application Support/audacity/audacity.cfg
  • Linux: ~/.audacity-data/audacity.cfg

However if you a create a directory called "Portable Settings" in the same directory as the Audacity executable, "audacity.cfg" will be stored there instead. This facilitates transfer of the user's customized settings (for example, via a USB stick) if Audacity is used on another computer. Note: a workround is needed where audacity.cfg is on a computer running OS X.

Resetting Preferences

Resetting preferences to factory defaults can sometimes fix freezes, crashes or unexplained behavior. To reset Preferences if you have never used a previous Audacity 1.2.x version:

  1. Exit Audacity
  2. Delete audacity.cfg
  3. Restart Audacity

If you have previously used Audacity 1.2.x, deleting audacity.cfg will roll back those preferences common to 1.2 and 1.4 to their current 1.2 settings (even if you have since uninstalled 1.2.x). To reset 1.4 preferences to factory settings where you have previously used 1.2:

  1. Exit Audacity
  2. Open audacity.cfg in a text editor and remove all the content except the line "NewPrefsInitialized=1"
  3. Restart Audacity

Another way to completely reset 1.4 preferences on a machine which has previously run 1.2 is to delete the old 1.2 settings file as well as audacity.cfg. The 1.2 settings are stored in the "audacity" file in your Library (OS X), the file ~/.audacity (Linux) or the Windows registry key HKEY_CURRENT_USER\Software\Audacity\. Note: Modifying the Windows registry is dangerous - always back it up before modifying it.