a9a / Docs

Troubleshooting

Causes and fixes for the common cases — exports that fail, values that miss the target, and controls that will not respond.

Export problems

Bounce is unavailable with MP3 selected, or only MP3 export fails

MP3 output requires the LAME (libmp3lame) shared library. Reading MP3 files and writing other formats are unaffected.

In the GUI, when the library is not found, the bounce dialog says so and shows Choose Folder..., and Bounce is unavailable. Choose the folder that contains the library with Choose Folder... or with Encoder Library Folder in Bounce under Preferences.

  • macOS: choose the Homebrew folder itself (/opt/homebrew / /usr/local), not /opt/homebrew/lib or /usr/local/lib
  • Windows: lame_enc.dll cannot be used. Prepare libmp3lame.dll (or libmp3lame-0.dll) from LAME 3.100, matching the architecture of a9a (x64 / ARM64)

In the CLI, when it is not installed, only MP3 output fails.

See Getting Started for installation instructions.

AAC exports fine, but HE-AAC or VBR fails

AAC export uses the OS-native encoder, which has coverage limits.

  • The Windows OS-native encoder supports only AAC-LC CBR at 96/128/160/192 kbps and 44.1/48 kHz
  • The macOS OS-native encoder does not support AAC-LC at 88.2/96 kHz

Settings outside those ranges require the libfdk-aac shared library.

In the GUI, when the library is not found, the bounce dialog shows the reason and Choose Folder..., and Bounce is unavailable. Choose the folder that contains libfdk-aac, or follow the guidance to switch to settings the OS-native encoder can export.

With --aac-encoder auto (the default) in the CLI, unsupported settings fall back to libfdk-aac automatically and error out when it is not installed.

An exported AAC file shows a longer duration than the source

The container is probably ADTS (.aac). Only M4A can carry accurate duration information (gapless metadata); ADTS has no way to express it, so some players show the file as longer by the encoder delay.

To keep the duration accurate, choose M4A (MP4) as the Container (--format m4a in the CLI).

The loop I set is missing from the exported file

Because MP3 and AAC are lossy formats, loop metadata and comments are not written. To carry a loop forward, use WAV / AIFF (loop metadata) or FLAC / OGG (loop comments).

If you are writing loops to FLAC or OGG but the importing tool does not recognize them, check that the comment key names in Start Key / End Key / Length Key match what that tool expects.

Loop information is also omitted when you export with Render Repeats enabled.

Multichannel audio cannot be exported, or a layout error appears

Export keeps the source channel count, so it fails when the output format does not support it. WAV / AIFF support up to 64 channels, FLAC up to 8, and MP3 / AAC one or two. With Ogg Vorbis, audio with three to eight channels can be written only for standard speaker layouts such as 5.1 / 7.1. If you get a layout error, choose WAV / AIFF / FLAC.

Outro is unavailable in Render Repeats, or an error appears

Outro is available only when every selected file has an outro (audio after the loop range). An error also appears when the length set in Total Duration is shorter than any file’s full source (intro, one loop play, and outro).

A duration shorter than the intro plus the ending (fade or outro) causes an error regardless of the ending.

A file exported with Render Repeats misses the loudness target

The loudness target applies to the source before repeating (intro, one loop play, and outro). The value for the entire output shifts with the proportions of the intro and outro and with the fade.

To match the target for the entire output, load the exported file, adjust it through Loudness in the Edit menu, then disable Render Repeats and bounce it again. In the CLI, run --op loudness again with the exported file as input.

Render Repeats applies a fade on every repeat

Fades that fall inside the loop are applied on every repeat. When there is no loop range and the whole file repeats, the detail view’s fade-in and fade-out are also applied on every repeat. If you want a fade-out only at the end, disable Fade Out in the detail view and use Fade Out in Render Repeats.

Tags added with --comment disappear

Tags added with --comment are preserved only for FLAC / Ogg Vorbis. They are discarded when writing WAV / AIFF / MP3 / AAC.

The overwrite confirmation appears every time

Enable Overwrite existing files to overwrite without confirmation. To make that the default, enable Overwrite existing files by default in Bounce under Preferences. In the CLI, add --force.

A job file cannot be exported, or errors out

A file whose extension does not match its actual content (for example take.flac holding WAV data) cannot be exported with Same as Source, because the GUI (extension-based) and the CLI (content-based) would disagree on the output format. Set the output format explicitly, or fix the extension.

A job file also cannot be exported when a fade or trim that was in effect during a loudness normalization or a silence trim is cleared afterwards: the analysis measured audio that reflected the cleared edit, and the CLI cannot reproduce that history (clearing an edit added after the analysis is fine). Adding the edits back does not resolve this state — undo past the clear, or reload the file and redo the edits (and the analysis, if needed) before exporting.

Export job file as a preset also works only when every target file carries identical edits. When the edits (including loop positions) differ per file, export without the preset option and the files split into individual job files.

Loudness problems

Files do not reach the target LUFS, or a warning appears after applying

With True Peak Limiter off (the default), the gain is capped so the true peak stays within Max True Peak. On peaky material that can leave files short of the target loudness, and those files are reported as warnings after applying.

To reach the target anyway, enable True Peak Limiter — --op loudness ... limiter=on in the CLI. See Matching Loudness for choosing a Release to match your material.

The limiter makes the audio sound wrong

The Release setting may not match the material. Fast (30 ms) suits percussive material such as rapid clicks, reducing pumping and loudness loss, while Slow (300 ms) suits bass-heavy material, avoiding distortion.

The Loudness column stays at Loading...

The analysis is still running after loading. Until it finishes, the loudness timeline in the detail view also shows Loudness: Loading.... Values appear automatically when it completes.

Playback problems

5.1 / 7.1 audio plays in stereo, or some channels are silent

When there are not enough outputs, playback follows Missing channels in Audio under Preferences. Stereo mix (default) mixes everything to stereo (omitting LFE), and Omit unavailable channels plays only channels with an assigned output. If only the LFE output is missing, only LFE is omitted.

If your device’s speaker configuration does not match your connections, or the device does not report a layout, set Channel routing to Manual and assign a speaker to each output. Changing the device restores Automatic. If playback fails with manual routing, check the connected device, output count, and sample rate. In the CLI, play offers the same control through --output-map and --missing-channels.

These settings affect playback only, not export.

Controls that will not respond

The detail view will not open, or playback is unavailable

Playback and the detail view are available only while exactly one file is selected. Narrow the selection to a single file.

Shortcuts and editing operations do nothing

While a dialog is open, the usual shortcuts and editing operations are temporarily disabled. During loading and bouncing, a progress dialog stays in front and no other operations are possible until it completes.

Space starts playback partway through the file

A selection range is still active on the waveform. While a selection exists, Space plays only the selection. Press Esc to clear it and playback returns to normal.

Editing problems

Trimming disabled my loop

When the loop range lies entirely outside the kept range, the loop is disabled. Undo restores it. A loop that overlaps the kept range is remapped onto the new timeline automatically.

The CLI behaves the same way: a loop specified before trim that falls entirely outside the trim range is discarded with a warning.

My fades look like they disappeared after trimming

They did not. Fade-in and fade-out always apply to the beginning and the end of what you currently hear, so after a trim they re-attach to the edges of the kept range. See Editing Waveforms.

The fade length will not go any higher

The maximum fade length is the file’s effective length. While a trim is active, the trimmed length is the maximum.

I want to see what I trimmed away

Enable Full Timeline for Trimmed Files in the View menu (Windows: Ctrl+Shift+T, macOS: Cmd+Shift+T). The whole source timeline is shown with the trimmed-away regions dimmed. Right-click a dimmed region to choose Clear Trim.

There is a click at the loop seam

Enable Snap loop boundaries to nearby zero crossings in General under Preferences, and loop boundaries snap to a nearby zero crossing when confirmed.

The silence highlights do not appear

Show Silence Regions in the View menu (Windows: Ctrl+Shift+S, macOS: Cmd+Shift+S) is off by default, and no analysis runs while it is off. If nothing appears after enabling it, check Silence Detection in General under Preferences. Silence shorter than Min Duration (default 100 ms) is not highlighted, and for material whose dither or noise floor sits above the threshold, raising Threshold (default -60 dBFS) makes it detectable.

Trim Silence does not change anything

Files with no leading or trailing silence are left unchanged. Files entirely below the threshold are also left unchanged and reported as a warning. To cut the head and tail of material with a high noise floor, raise the threshold and run it again.

The Trim button in the detail view and Trim Silence in the waveform’s right-click menu use the detection results on screen, so they are unavailable while Show Silence Regions is off. Trim Silence > Selected... / All... in the Edit menu works regardless of the display setting.

Loading problems

Dropped files are not added to the list

Files that are already in the list, and duplicates among the files selected at the same time, are not added again.

A speaker layout warning appears for audio with three or more channels

This warning means the file has no speaker layout information. The channels are labelled Ch 1, Ch 2, and so on, and every channel is weighted equally in the loudness calculation. No channel is identified as LFE, so no channel is excluded from the loudness calculation.

An AIFF file will not load

For AIFF-C (AIFC), the readable compression types are plain AIFF, NONE / twos / in16 / in24 / in32, sowt, and fl32. Compressed codecs and 64-bit float such as ulaw, ima4, and fl64 are not supported.

I removed a file from the list by mistake

Delete / Backspace removes only the list entry — the original audio file is not deleted. Just load it again.

CLI problems

A warning appears on Windows, or the executable is blocked

The Windows build of the CLI is not code-signed. SmartScreen, antivirus software, or your organization’s security policy may therefore show a warning or block it from running.

--out produces an error

--out cannot be used with multiple inputs; use --out-dir. --out and --out-dir also cannot be specified together.

When --out is used, the output format must be determined by --format, --same-format, or the output path extension. When --format and --out are used together and --out has an extension, the extension must match --format.

--same-format and --format cannot be used together

They are mutually exclusive. Use --same-format to preserve the input format, or --format to set it explicitly.

A job file reports an unknown key

Job file keys differ from the CLI option names in a few places.

Easy mistakeCorrect form
outoutput
max-true-peakmax_true_peak
type = "fade-in"type = "fade_in"
type = "fade-out"type = "fade_out"

type values are fixed to snake_case, and any undefined key is an error.

A path in my job file cannot be found

Relative paths in a job file are resolved from the job file’s own directory, not from the current working directory.

--sample-rate is rejected

Only these standard values are accepted.

8000, 11025, 16000, 22050, 32000, 44100, 48000, 88200, 96000, 176400, 192000

probe exits non-zero

When some files fail to decode or measure, the rest are still processed and the exit code becomes non-zero. Look for entries with an error key in the --json output to find which inputs failed.

a9a_cli probe assets/*.wav --json | jq '.[] | select(.error != null)'

This page was written with generative AI.