Skip to content

The Hearth plan

This page summarises the plan Hearth was built from and records the headless-appliance design it replaced. That earlier design, a daemon beside a receiver, was superseded by the Hearth desktop app plus Sendspin sinks.

Status as of 2026-09-30: built, with the user guide and the hardware exits open

The plan decided on 2026-09-15 is built apart from the items its own status names: a user guide and screenshots of the running app, and the exits that need a DAC wired to a board, a multichannel endpoint or Music Assistant itself. The appliance plan of 2026-09-07, which it replaced, was not built in that form.

What's decided

Decided on 2026-09-15. Hearth has two forms that talk to each other:

  • hearth, a desktop reference player for Windows, Linux and macOS. It plays AC-3, E-AC-3 and E-AC-3 JOC media with every decoder setting the library has, renders to a chosen speaker layout, routes each channel to an output with trim, delay and bass management, and shows the per-channel levels and the bitstream information. It plays to a local device, passes the bitstream through to a receiver, or streams to sinks on the network. The plan designed AC-4 in and left its decoder to a later chip; the player has since gained it, as What's built records.
  • hearth_sink, firmware for ESP32-S3 (up to sixteen TDM outputs) and ESP32-C6 (up to eight) boards. A sink is a Sendspin player: Music Assistant can play to it, and hearth sends it the undecoded bitstream through an extension role, which the board decodes and renders to its own layout. The ESP32-P4 joined the sink family after the plan was written.

Between them is Sendspin, with hearth as a conformant server and the boards as conformant players, so groups, clock synchronisation, encryption and pairing come from that protocol.

This replaced the plan decided on 2026-09-07 for a headless appliance: a daemon beside a receiver with a web control page, an optional kiosk window, and an HLS client. The name, Hearth's place as the family's fourth member, and its build identity carried over.

What's built

Detail: Hearth overview.

  • ESP32 hearth_sink. A Sendspin player with Improv Wi-Fi setup, pairing, groups and updates over the network, on the ESP32-S3, the ESP32-C6 (stereo only) and the ESP32-P4 (silicon revision v1.x, with Wi-Fi through the board's onboard C6). Two S3 boards played one programme as a group, and a C6 and an S3 played a stereo group. No DAC is wired to any board yet. Setup: An ESP32-S3 sink.
  • apps/hearth. The hearth engine and window (Qt Quick, with Play, Media, Speakers, Decoder, Network and Settings pages; it builds and packages on Windows, Linux and macOS when Qt6 6.8+ is found), hearth-testsink, hearth-testserver and hearth-render. The player reads raw .ac3, .ec3 and .ac4 streams and plays to a local device, to a receiver as a bitstream, or to a group of network sinks. CI runs the engine tests and plays to an emulated S3 from the test server.
  • AC-4 in hearth. The engine plays channel-based, immersive and object AC-4 through the decoder's public API, decoded for every local output, with the Decoder page's AC-4 controls and the Media page's AC-4 information. A network group's members on the extension role that list AC-4 are sent the stream as bursts, and its PCM members get the decoded audio. An ESP32-P4 or ESP32-S3 sink built with the AC-4 decoder lists it; the published images do not.
  • libs/sendspin. Shared by the desktop tools and the board.
  • ESP32-C6. Decode probe timed on a board. hearth_sink's Sendspin player runs on this board, stereo only: a ten-minute group run with an ESP32-S3 had no underruns on either board. Setup: README, "On the ESP32-C6". CI builds the Sendspin player for this part, for the 4 MB and the 16 MB flash layouts, and does not run it: ESP-IDF's RISC-V QEMU emulates the ESP32-C3 and no other part.

Where to go next