HomePods suck for gaming
My wife has gotten into gaming and regularly streams Hogwarts to her laptop in her office. For her birthday I bought her a HomePod to use as a speaker. It turns out that HomePods are not designed to be used as computer speakers. Even with a MacBook. I was very disappointed and it’s sat largely unused since.
The problem is a huge delay. I mean like 3-5 seconds of delay. Enough delay that it’s actually frustrating even when listening to music (you press pause but the music continues for a few seconds).
Now imagine trying to play a video game with that delay. Whether the controller and the screen are in sync is one thing but having the sound a few seconds behind is so maddening as to make everything unplayable.
Why are they like this?
I think it’s because there is no direct connection. It runs from the MacBook to the router and back, via wifi so it needs a buffer. I get it. But this is just dumb.
Someone with the same problem wrote an app called AirBeam which seemed promising. Unfortunately, I could never get it to run, and we kind of just forgot about it; my wife choosing instead to use the speakers from her closed MacBook while using her external display. Not ideal.
AI goals + a 15 year old idea
Goals allow Claude to work (mostly) unattended to achieve a specific state. That state needs to be measurable (or it has no idea if it’s goal is met). A second agent is used to assess whether each turn results in the goal being met.
Since I now use Claude code to help build everything I’ve ever dreamed of, and I have a Apple developer account for my consultancy Tungsten Design, I forked the repo and asked Claude to evaluate the code so we could at least get it to run. It ran. And there was still a noticeable delay.
I pulled from a project I worked on for the Antiques Roadshow 15 years ago that embedded an audio signal in the broadcast which was detected by the app to update show questions and answers in time with the show. Even if the show was watched later.
I used this latent knowledge and set a goal for Claude. I had it embed timing into the audio and use my microphone to check the delay. Wes Bos did something similar with a smart lamp; using the webcam to check state in order to determine success.
/goal Reduce latency to 30s
Send audio to the homepod, embed a timing signal, use the microphone to capture the sound. Use this to determined latency.The delay became unnoticeable
After some back and fourth with permissions, Claude delivered a new lowest latency of just over 100 milliseconds. Down from the 280 that the original project had a achieved.
| Upstream | This fork | |
|---|---|---|
| Latency in sync packets | The HomePod’s own value, 1886 frames (42.8 ms) | -145 ms, which asks the HomePod to play earlier |
| Frames per packet | 352 (8 ms) | 88 (2 ms) |
| RTP timestamps | Numbered by frame count from the moment the stream starts | Aligned to the sample time Core Audio gives each buffer |
| Measured delay | 280 ms from the audio sender | 108 ms from an app playing a sound |
A few changes, plus my notarised build, allow anyone to download and install this app now and take advantage of a new low-latency HomePod experience.
Building product trust
As a designer, I also noticed how unprofessional (and therefore untrustworthy) the installation screen and setup were. There are a few ways in which I wanted to convey trust:
Transparency
Showing my findings, what the differences are to upstream, and my motivations. As well as how I tested the results. And the fact that Claude wrote the code. My design philosophy, especially in the age of AI, is that transparency = trust. Showing what, why, how, and when gives a sense of control and control invokes trustworthiness.
Apple approved
In order to run apps downloaded from anywhere, Apple requires a developer account and for apps to be notarised by them. Otherwise you get a scary warning when trying to open them.
Professionalism through design
This is often underrated. People may not have the vocabulary to say why they would trust one product over another but they instinctively know. AI ‘design’ is testing this theory at the moment but people are rapidly able to spot ‘slop’.
I took the settings screen and made it look more deliberate. I took the basic install screen and made a custom version that echos the purpose of the project.


Result
I now have a HomePod that has an almost imperceptible delay from my mac. I can play games and forget the delay within a few minutes. If I didn’t tell you, you would never guess.
I could not have done this without the work of the upstream creator, and nor could I have done it without AI. The reverse is also true; this would not have happened without me. I have the idea, the experience, the knowledge, and a way of connecting them that allowed me to get much better results.
While there is fear that AI may take jobs, it also needs humans like me to be worthwhile.
GitHub - craigmdennis/AirBeam: A solution to address audio latency when using a HomePod as the system output device on macOS over RAOP.A solution to address audio latency when using a HomePod as the system output device on macOS over RAOP. - craigmdennis/AirBeam
