Audio Settings Preferences

From Audacity Development Manual
(Redirected from Devices Preferences)
Jump to: navigation, search


Accessed by: Edit > Preferences > Audio Settings    (on a Mac Audacity > Preferences > Audio Settings )
Audio Settings PreferencesPlayback PreferencesRecording PreferencesMIDI Devices PreferencesQuality PreferencesInterface PreferencesTracks PreferencesTracks Behaviors PreferencesSpectrograms PreferencesImport/Export PreferencesExtended Import PreferencesLibraries PreferencesDirectories PreferencesWarnings PreferencesEffects PreferencesShortcuts PreferencesMouse PreferencesModules PreferencesApplication PreferencesClick on this in Audacity to get helpPreferences Audio Settings.png

Interface

Selects the particular host interface with which Audacity communicates with your chosen playback and recording devices.

Windows: on Windows the choice is between the following host audio interfaces:

  • MME: This is the Audacity default and the most compatible with all audio devices.
  • Windows DirectSound: This is more recent than MME with potentially less latency.
  • Windows WASAPI: This host is the most recent Windows interface between applications (such as Audacity) and the audio interface driver. WASAPI was first officially released in 2007. WASAPI is particularly useful for "loopback" recording of computer playback. 24-bit recording devices are supported using this host. Playback is usually emulated. As a result, the playback slider in the Playback Meter will only scale the system playback slider's current level up or down rather than directly manipulating that system slider.

    WASAPI loopback has a big advantage over stereo mix or similar inputs provided by the audio interface. The capture is entirely digital (rather than converting to analog for playback, then back to digital when Audacity receives it).

Mac: On Mac the only choice is Core Audio.

Linux: On Linux there is often only one option: ALSA. Other options could be OSS and/or Jack Audio Connection Kit (also known as "Jack" or "Jackd").


Playback

  • Device: Selects the device used for playback.


Recording

  • Device: Selects the device used for recording.
On Windows, each entry for recording device consists of the input type (such as microphone), followed by the name of the audio device the input belongs to. If you have multiple audio devices, the list will be grouped so that inputs of each device are grouped together. The input level of the selected device can be adjusted in the Meter Toolbars, but device selection is no longer made there.
  • Channels: 1 (Mono), 2 (Stereo) or the number of channels that are provided by the drivers of your sound device. On most inbuilt sound devices, especially on Windows, only mono or stereo will be available. For some devices on Windows, choosing Windows DirectSound in "Host" above may be more likely to reveal options for recording more than two channels. On some devices capable of recording more than two channels, an explicit "multi" device may appear in the "Device" dropdown for recording all the channels simultaneously.


Quality

This panel sets the Project Sample Rate, Default Sample Rate and Default Sample Format. It is strongly recommended that you stick with the default settings.

  • Project Sample Rate: Changing the Project Sample Rate immediately changes the sample rate at which new tracks will be recorded or generated in the current project, and at which existing tracks will be played or rendered. The Project Sample Rate is stored with your project when you save the project.

    The normally grayed-out figure to the right becomes active when you choose "Other" from the dropdown list, this enables you to overtype with a custom value of your choice.

Tip Audacity supports multiple tracks with different sample rates.

The "Project Sample Rate" is the rate that the project is working in. If you have a project with two tracks, one with a sample rate of 8000 Hz and one with a sample rate of 48000 Hz, and the "Project Rate" is set to 44100 Hz, then:

  • playback will be 44100 Hz,
  • any new tracks created by "Tracks menu > Add track" will be 44100 Hz,
  • any new track created by recording to a new track will be 44100 Hz,
  • mixing down tracks will mix to 44100 Hz.
  • Default Sample Rate: This is only used each time Audacity is launched or a new project window is opened. It just sets the Project Sample Rate which will be used in the project. It offers a choice of 13 Sample Rates.

    Generally you will want to use the default value of 44100 Hz, which can can reproduce all frequencies that humans can hear (up to 22050 Hz) and is the standard for audio CDs. To choose some other bespoke rate, click "Other" in the dropdown and type your rate into the box to right of the dropdown.

    Sample rates between 44100 Hz and 96000 Hz can produce higher quality but the quality benefits are increasingly small compared to rapidly increasing consumption of disk space and increasing risk of recording dropouts on slower computers. 192000 Hz music recordings could have ultrasonic playback distortion that make them inferior to recordings at lower rates. Very high rates do have some specialized uses such as ultrasonic wildlife recordings and high-speed tape capture.

    The normally grayed-out figure to the right becomes active when you choose "Other" from the dropdown list, this enables you to overtype with a custom value of your choice.

Advice Changing this Preference setting will not change your project's Project Sample Rate, so if you wish your current project to use the new sample rate you will need to reset that as well.
  • Default Sample Format: This sets the Sample Format (bit depth) which will be used each time Audacity is launched, or each time a new project window or track is opened. It offers a choice of three sample formats or bit-depths. This affects both imported and newly recorded material, either in a new or existing project (even if the other audio in an existing project is at some other quality).

    A changed setting also acts immediately on the current project, affecting any subsequent new tracks you record.

    The current Sample Format is NOT stored with the project for re-use the net time you open the project

    The default 32-bit float resolution gives the highest quality of the three choices, but takes twice the storage space on disk compared to 16-bit resolution.

Tip It is strongly recommended that you work with this at the default 32-bit float resolution if you have sufficient available disk space.
Advice OGG will always import at 16-bit resolution using the standard OGG Vorbis importer, irrespective of Default Sample Format. This is due to the design of the OGG codec. However OGG can be imported at 32-bit resolution using FFmpeg, as described at Using the file type dropdown menu on the Importing Audio page.


Latency

  • Buffer length: A "buffer" is a chunk of audio waiting for the computer to process it. At the default 100 milliseconds (ms) setting, the audio will take 0.1 seconds to travel through the audio interface when recording or playing. Decreasing this value means recordings will be laid down on disk with less latency, and playback may respond faster. However, the computer will have to work faster so that it is ready to process the shorter chunks as soon as required. Setting this value too low (for example to 1 ms) will mean the computer will not be able to keep up, and neither recording or playback will work. 100 ms is a safe setting for most computers.
Advice Settings below 20ms, or 30 ms if you are using the Audacity default MME host, may cause you to get clicky playback.
  • Latency compensation: When recording, it takes a small amount of time for the sound to be converted to digital data and written to the track. This time delay is the recording latency and is typically around 130 ms (0.13 seconds) for consumer level equipment. By compensating for this delay, sounds are written to the track at the correct time relative to the Timeline, and other tracks in the project. The actual amount of delay depends on the hardware and audio settings, so for accurate synchronization in multi-track recording, this setting should be calibrated as described in the Latency Test page.
Tip See Latency Test for details on how to adjust latency on you computer set-up.

Alternatives

Audio Setup Toolbar

As an alternative to using Devices Preferences, you can make and change all the same settings with Audio Setup Toolbar.

Device Toolbar

With Device Toolbar you can make and change most of the same settings with the exception of the Quality and Latency settings.

Note that he Device Toolbar is NOT displayed by default in Audacity. To enable it, click on View > Toolbars and check on Device Toolbar.