Export Audio

From Audacity Development Manual

Jump to: navigation, search

The Export Audio dialog (for export of a single audio file from the whole project) is accessed from File > Export Audio.... When you use File > Export Selected Audio... to export a single audio file from a selection, the Export Selected Audio dialog appears. Both these dialogs are identical and let you specify folder location, file name, format and encoding options for your exported file.

You can use File > Export Multiple to export multiple audio files (based on labels or multiple audio tracks) in one process.

Export Audio dialog W10.png

Export Audio or Export Selected Audio dialog

In summary, there are five steps to follow when exporting.

  • Choose the folder to export to in Save in: then type the file name you want.
  • Select the type of audio file to export to.
  • Set the Format Options (if those are available for your selected format) if you want to change the size, quality or other encoding choices for that selected file format.
  • Press Save.
  • The Metadata Editor dialog will then appear (unless you have disabled it for the export step in the Import/Export Preferences). Edit Metadata lets you enter embedded information in the file such as artist, year or genre. Either leave the metadata blank or complete the fields you require, then press OK (not "Save...").

File name

Type the required file name. The correct file extension - preceded by a period (dot) - will be added automatically to the end of the file name, according to the format selected in the "Save as type" list (see below). For example, typing "08 Voodoo Chile" (without quotes) will produce a file "08 Voodoo Chile.wav". For M4A and WMA formats (for which the optional FFmpeg library is required), you can add alternative extensions as specified in "FFmpeg formats" below.

Any other extensions can be added after a file name as required, but Audacity will display a warning that this is not the normal extension for this file type, and that some applications might not play files with non-standard extensions.

Save as type

Clicking in the input box opens a dropdown menu enabling you to chose the file format you wish to export to:

Hover over each row in "Save as type:" in the image to learn more. Skip the image

Dropdown menu for selecting the required file formatAIFF is a lossless format that can both be played on Mac and Windows computers, though it is far more likely to be selected by Mac users. AIFF 16-bit PCM is suitable whenever you want to burn your exported file to an audio CD. There are no options for this format.WAV is a lossless format that can both be played on Windows or Mac computers. WAV 16-bit PCM is eminently suitable whenever you want to burn your exported file to an audio CD. There are no options for this format.32-bit float WAV is a lossless format, a maximum quality "raw capture" file. 32-bit float resolution gives the highest quality of the three uncompressed choices, but takes twice the storage space on disk compared to 16-bit resolution. It will not play on many players or player apps. It is mostly useful as a backup archive of raw captured recordings or finished projects. There are no options for this format.Other uncompressed files includes all the uncompressed audio formats that Audacity can export, including 4-bit (A)DPCM, 8-bit U-Law/A-Law, 24-bit, 32-bit and 64-bit options. Also GSM 6.10 WAV (mobile) which produces a mono WAV file encoded with the compressed, lossy GSM 6.10 codec as used in mobile telephones. This menu item defaults to WAV (Microsoft) signed 16-bit PCM on Windows and Linux and to AIFF (Apple/SGI) signed 16-bit PCM on Mac.MP3 is a popular compressed, lossy format producing much smaller files than WAV or AIFF, at the expense of some loss of quality. You must download the optional LAME encoder to export to MP3.Ogg Vorbis is the compressed, lossy Vorbis codec in an OGG container. Vorbis offers higher quality than MP3 for the same file size, and is useful for good quality small-sized mono files, but fewer applications can play the OGG format.FLAC is a compressed but lossless format, giving much larger file sizes than MP3 and OGG but only about half the size of WAV.MP2 is a compressed, lossy format similar to MP3, producing slightly larger files than MP3 for the same quality.(external program) sends audio via the command-line to any executable binary application either for processing or for encoding as a file. This is a method to export using an alternative compressed or uncompressed encoder or to a format not otherwise supported by Audacity.AAC: Advanced Audio Coding is a compressed, lossy format used in Apple applications, generally achieving slightly better quality than MP3 for the same file size. By default, the exported file will be given an "m4a" extension. Optional permitted extensions: .mp4, .m4r (ringtone) and .3gp (mobile).AC3 is the common name used for the compressed, lossy format used in Dolby Digital.AMR: Adaptive Multi-Rate codec is a patented compression scheme optimized for speech, but also used for mobile telephone ringtones. The wide band variant uses higher bandwidth for higher quality.WMA: Windows Media Audio v2 is a compressed, lossy format developed by Microsoft. Optional permitted extensions: .asf or .wmv.Custom FFmpeg Export allows interface-based export of some additional compressed or uncompressed formats not listed above, and options for exporting formats containing alternative codecs (for example, WAV format containing MP3 or OGG format containing FLAC). Note: not all formats and codecs are compatible, and some exports might result in zero-byte or invalid files if FFmpeg does not support the combination chosen.File types for Export W10.png

Format Options

Notice with the image at the top of this page, for the default export to WAV format there are no export options. However some formats do offer options for making settings like quality or encoding. As an example, here is the MP3 format export dialog showing the available Format Options:

Export Audio to MP3 dialog W10.png

See MP3 Export Options for details of the MP3 export setting, or AAC Export Options for AAC export settings.

By default, all exports are mixed down to mono (one channel) or stereo (two channels). If you want to export to more channels, enable "Use custom mix" in Import / Export Preferences. After pressing "Save" in the export dialog, the Advanced Mixing Options dialog appears where you can map the Audacity tracks to channels. Metadata Editor (if enabled) appears after OK'ing the Advanced Mixing Options.

Custom FFmpeg export options

In the Export dialog when you select Custom FFmpeg Export in the Save as type dropdown, then the Options pane will contain the Open custom FFmpeg format options button. Clicking on the button will bring up the custom options dialog. See Custom FFmpeg Export Options for more details.

Warning icon Note that when using custom FFmpeg export it is necessary to supply the full file name and the extension in the File name: field as Audacity does not automatically add the extension in this case. Otherwise you will need to manually add the extension to the file name after export.

Cancelling the export process

You may abort the export process without writing the file by pressing Cancel in the Export Audio / Export Selected Audio dialog, or in the Advanced Mixing Options or Metadata Editor dialogs (if those dialogs appear). If you Cancel in any dialog, any changes you made to the "Save in:" directory or file type will not be preserved for next time you export.

Export progress dialog

Once you have clicked the Save button in the export dialog and OK in Edit Metadata, Audacity will display a dialog displaying progress of writing the exported file:

Export Audio progress dialog W10.png

The colored bar is a visual indicator of how much of the file has been written. The Elapsed Time and Remaining Time are estimates and may change as the export progresses.

Clicking either the Stop or Cancel button will halt the export where it is now, leaving the partially exported file in place.


Donate securely by PayPal, using your credit card or PayPal account!

Useful External Links