Skip to content

AC‑3 · E‑AC‑3 · AC‑4 · TrueHD · Dolby Atmos

ICL Forge

A clean-room AC-3, E-AC-3, AC-4 and Dolby Atmos codec, written from the published standards in C++23, and a TrueHD and MLP codec written from a specification the project's owner supplied — Library — with Forge, the CLI and GUI; Crucible, a desktop per-application Atmos mixer; and Hearth, the player, its network sinks and karaoke.

one AC-3 syncframe§4.2

iclforge::ac3 · iclforge::ac4 · iclforge::truehd

Library

Encodes and decodes AC-3 and E-AC-3, including Atmos objects via Joint Object Coding, decodes and encodes AC-4, and decodes and encodes TrueHD (MLP is decode only). C++23, with C, Python, Rust and WebAssembly bindings for AC-3, E-AC-3 and AC-4; TrueHD is in the C interface only so far.

Read the library docs →
forge · forge-gui

Forge

forge and forge-gui are one product: they build together, ship together, and the GUI shows the equivalent CLI command live at the bottom of its window. Both read and write AC-4, and both build karaoke streams: the GUI in a Karaoke flow with project files, the CLI with lyrics written beside the stream. The CLI also decodes, inspects and wraps TrueHD and MLP and encodes TrueHD; the GUI does not.

Read the Forge docs →
desktop app

Crucible

Captures each application separately and places it in an Atmos scene: drag one into position, and whatever is not placed stays in the 5.1 bed. The output follows the hardware, E-AC-3 with the objects to an Atmos receiver and AC-3 5.1 to a Dolby Digital one. It can show the lyrics of the application you select. Windows and Linux run it; the macOS half compiles but has never been launched. It handles AC-3 and E-AC-3 only.

Read the Crucible docs →
desktop · ESP32 · Android TV

Hearth

Plays through this computer's outputs or synchronised network sinks. The desktop player finds sinks on the network, plays to them, plays AC-4, and has a Karaoke page with timed lyrics and a microphone pitch score; sink firmware is built for the ESP32-S3, ESP32-C6 and ESP32-P4, and Hearth for Android is a sink for Android TV. None of them plays TrueHD.

Read the Hearth docs →

Find a download or build path

Compare platform support →

Choose the product, operating system or device, and architecture. The result says when a package is unavailable or has not appeared in a release.

Make a selection to see the available package or source instructions.

Demos & examples

browser, Android, karaoke, C++

Where it runs

Full platform notes →
Windows Linux Raspberry Pi Android (Shield) ESP32-S3 ESP32-C6 ESP32-P4 macOS WebAssembly ESP32-C3 Bare metal

confirmed against real hardware   built and tested in CI, no hardware confirmation   correct under emulation only

Measured on main

The full picture →

Loading the latest measurements from main…

ICL Forge

ICL Forge is a clean-room C++23 implementation of AC-3, E-AC-3, and Dolby Atmos decoding and encoding, and of AC-4 decoding and encoding. It also holds a TrueHD and MLP codec, written from a specification the project's owner supplied. The repository contains the codec library and three applications built on it. AC-4 is in the library, in forge, in the Forge GUI, in the Hearth desktop player, and in the C, Python, Rust, and WebAssembly bindings. Crucible does not use it. An ESP32 network sink decodes it in a Sendspin group when its firmware is built with the decoder; the published sink images are built without it. TrueHD is in the library, the C API and forge (decode, inspect, wrap in MP4, Matroska, MPEG-TS and IEC 61937, and encode TrueHD); it is not in the Forge GUI, Hearth, Crucible, the Python, Rust and WebAssembly bindings or any firmware.

Choose what you need

Goal Start here
Learn what AC-3, E-AC-3, Atmos, AC-4, and TrueHD mean Concepts
Install or use the CLI and GUI Forge
Capture desktop applications and position them in an Atmos scene Crucible
Play audio through the desktop player or an ESP32 network sink Hearth
Play, time, sing or make a karaoke stream Karaoke
Decode or encode AC-4 AC-4 in the library
Decode or encode TrueHD or MLP TrueHD and MLP in the library
Link the codec from C++, C, Python, Rust, or WebAssembly Library
Compare products and features by platform and architecture Platforms
Find the new name of something from a pre-release (ac3cli, ac3forge, ...) Renamed

The Quick start covers installation, source builds, and the ESP32-S3 sink.

Status

Releases are 0.x betas and the API is not stable. The changelog records shipped changes. Platform pages distinguish CI, emulation, and real-hardware results.

Performance and quality

The Measured on main strip above loads the newest figures from the append-only measurement history that CI keeps on the quality-history branch, and the line under it names the commit they were measured on and says how old it is. Each tile has one line per codec (AC-3, E-AC-3, and AC-4), and a line is the worst case among that codec's own workloads, with the workload named. TrueHD has no series yet. The lines of two codecs come from different workloads and do not compare with each other. A line whose series was last recorded on an older commit than the newest says which.

Performance and quality explains the measures and links to the full performance, decoder-accuracy, listening-quality, object-quality, and memory histories.

Project information

  • Capabilities — supported formats, coding tools, layouts, and limits.
  • Development status — done / partial / not-started across every codec surface.
  • Application coverage — which library features each application exposes.
  • Validation — how output is checked and where independent checking ends.
  • Building from source — toolchains, presets, options, and platform details.
  • Renamed — the old name and the new one of every program, library, package and setting.
  • Contributing — repository structure and contribution requirements.

Standards and trademarks

"Dolby", "Dolby Digital", "Dolby TrueHD", and "Dolby Atmos" are trademarks of Dolby Laboratories. This project implements ATSC A/52:2018, ETSI TS 102 366, ETSI TS 103 420, and ETSI TS 103 190, and TrueHD from a specification its owner supplied. It is not affiliated with, endorsed by, or certified by Dolby Laboratories. Patent requirements depend on how and where the formats are used.