Wireless surround sound gives every speaker two jobs: play the right channel and play it at the right time. Reddit user Ok-Product817 shared an experimental ESP32-S3 AirPlay 2 receiver on r/esp32 on October 26, 2026, aimed at handling both with inexpensive hardware. Its most interesting optimization happens inside the AAC decoder: every board receives the complete multichannel stream, but synthesizes only the speaker channel it needs.
Receive every channel, synthesize just one
In the original architecture, each ESP32-S3 is an independent AirPlay 2 receiver. Apple TV sends the complete multichannel AAC stream to each board, which is assigned a role such as front left, center, LFE or surround. The boards don't communicate directly with one another.
That arrangement could leave a small processor doing a lot of unnecessary decoding. Instead, the creator modified Fraunhofer's FDK AAC decoder to parse the multichannel stream without synthesizing all six or eight output channels. The reported result is approximately 35–50% usage of one core for selective channel synthesis.
The distinction matters: this saves processing work, not the need to receive the full stream. Each board still has to handle incoming audio and buffer it before playback.
Memory is consequently a major part of the hardware choice. According to Ok-Product817, the compressed audio buffer alone can occupy around 6 MB, prompting the use of an ESP32-S3 with 8 MB of octal PSRAM. The dual-core processor also lets the project separate decoding from Wi-Fi, networking and playback tasks. An I2S DAC and amplifier complete the stated audio hardware chain.
The software uses ESP-IDF alongside FDK AAC and Espressif's ALAC decoder. The latter provides 16/24-bit lossless stereo playback, while web-based EQ, loudness and audio filters support ordinary stereo use as well. The creator also describes the project as a possible foundation for two-way active speakers using a two-channel amplifier and suitable crossover filtering.
Timing needs more than a shared stream
Ok-Product817 describes synchronization as the hardest part of the independent-receiver design. The implementation uses AirPlay 2's PTP clock, PTP/RTP timestamps, I2S clock adjustments and buffer scheduling to coordinate playback. Buffering must absorb Wi-Fi jitter without disrupting that coordination, including during changes between AAC and ALAC, stereo and surround, or 44.1 and 48 kHz.
A technically detailed response raised an important qualification. One participant questioned the implementation's use of application-level receive timestamps and the apparent absence of path-delay measurement, arguing that these limit what it can establish about clock alignment. That is a critique from the discussion, not an independently verified measurement, but it identifies a useful next test: measure relative output timing between boards rather than relying only on their reported clock lock.
Another hobbyist asked about audible drift over several hours. The post doesn't provide a long-duration timing result. For now, accurate synchronization is a creator-reported outcome with room for further measurement.
The playback tests are more specific. Ok-Product817 reports that Apple TV delivers Apple Music Atmos content as 7.1 AAC, HBO as 5.1 and YouTube as stereo in the tested setup. That describes the streams received here, not Atmos decoding on the ESP32. Channel mapping and playback edge cases still need testing.
A gateway would replace eight AirPlay connections with one
The project has since gained an alternative architecture under development. Rather than exposing every speaker separately to Apple TV, a central ESP32-S3 gateway appears as a single AirPlay device and forwards audio over Wi-Fi to the speaker boards.
In the proposed design, the gateway forwards compressed packets, timing information and playback commands without decoding the audio itself. Each speaker retains the selective AAC decoder. This moves AirPlay protocol handling to one board, at the cost of adding a gateway to the system.
The updated post reports an early working test: one gateway and two speakers playing separate channels from a 7.1 stream in sync. Support for up to eight speakers is the intended scope; that two-speaker test isn't evidence of a completed eight-speaker setup. The creator also reports a central web interface for channel assignments, volume levels and individual playback delays. Speaker profiles and centralized firmware updates were floated as further possibilities, not established features.
Builders can explore the original receiver project and the developing gateway branch. The next useful milestone is a measured multi-speaker run through format changes and extended playback. The decoder optimization addresses the processing budget; that test would show how well the distributed speakers keep time together.
Editorial highlight by the Visual Space team.
Source: ESP32-S3 AirPlay 2 – DIY Wireless Stereo and 5.1/7.1 Surround System