# AAC Export Options

From Audacity Development Manual
AAC is a lossy, compressed audio format. It is the default audio format for Apple Music/iTunes\xc2\xae, iPhone\xc2\xae, iPad\xc2\xae and iPod\xc2\xae

| FFmpeg is required for AAC export but it is not shipped with Audacity but you can download it and then export as AAC by following these instructions.

Please be aware that there is a bug in Audacity whereby the bit rate setting that you make in an AAC export is not always honored by Audacity. See this logged bug for more details.

- For stereo all selected bit rates of 196kbps or less export at 196-198kbps,
- Settings in the range 200kbps to 320kbps are reasonably closely honored on export.

The strongly recommended workaround is to export as uncompressed WAV or AIFF and use iTunes/Music, where you have greater control of the settings, to make the AAC conversion.

- See Exporting to iTunes for information regarding this.

  Accessed by: File > Export Audio then choosing M4A(AAC) Files FFmpeg from the Format dropdown menu.

## Audio Options

### Channels

Sets the number of channels for the exported audio file. There are three options

- Mono: single channel
- Stereo: stereo pair with left and right channels
- Custom mapping: use this to export multi-channel (surround sound) files or to make customized assignments between Audacity tracks and the channels in the exported file.
  - Selecting this and clicking on the Configure button causes the Advanced Mixing Options dialog to appear. For details please see Advanced Mixing Options.

### Sample Rate

Sets the sample rate for the exported file. Default setting is 44100 Hz, which is CD quality.

### Quality

This box controls the quality (bit rate in kbps) of the output AAC file.

- The default setting is 256 kbps which is that quality that Apple now uses for audio files sold in iTunes/Apple Music.
- The Maximum bit rate (best quality) is 320 kbps (stereo) 160 kbps (mono) and the minimum is 98 kbps (mono).
- You can use the up/down arrow-heads to change the required value or you can simply type it in.

A quality setting of 160 typically produces a similar sized, but slightly higher quality file compared to an MP3 at Audacity's default 128 kbps constant bit rate. A stereo file is always produced, but a file exported from a mono track will have about half the bit rate (and hence half the file size) of one exported from a stereo track.

Like OGG, AAC encoding is a form of VBR or variable bit rate encoding, as opposed to the CBR or constant bit rate encoding used by default when exporting MP3 files.

This means that in order to maintain consistent quality throughout a track, a higher bit rate will be used when encoding a complex piece of audio (such as a full orchestral passage) than when encoding a solo voice or instrument. A recording which has more complex audio will produce a larger file. Increasing the sample rate in Audio Settings Preferences will increase the bit rate and so the file size (and vice versa).