Skip to main content

Here’s how Apple’s HomePod can hear you across that noisy room

Apple Homepod
Rich Shibley/Digital Trends

Ever wonder how the Apple HomePod is able to hear you say, “Hey Siri” from across a noisy room? It took a lot of very smart people to make that happen.

A new post on Apple’s machine learning blog details all the thought and technology — both hardware and software — behind the marshmallow-shaped speaker’s ability to hang on your every word. The challenges, it turns out, were pretty immense.

“The typical audio environment for HomePod has many challenges — echo, reverberation, and noise,” Apple explains. “Unlike Siri on iPhone, which operates close to the user’s mouth, Siri on HomePod must work well in a far-field setting. Users want to invoke Siri from many locations, like the couch or the kitchen, without regard to where HomePod sits.”

To deal with these problems, the team used a mixture of what it calls “supervised deep learning” and “unsupervised online learning” to determine how to interpret the signals from its multiple onboard microphones. Essentially, the speaker is able to use this machine learning algorithm to determine which is the optimal audio stream for listening at any given moment, allowing it to always have a keen ear out for where it might be hearing, “Hey Siri.”

There is a heap of cool software that allows the speaker to optimize speech detection and tune out things like music, environmental sounds, and other non-speech audio. But even when it is focused on speech, there are other challenges.

“Far-field speech recognition becomes more challenging when another active talker, like a person or a TV, is present in the same room with the target talker,” reads the post. “In this scenario, voice trigger detection, speech decoding, and endpointing can be substantially degraded if the voice command isn’t separated from the interfering speech components.”

The team developed a unique formula for dealing with this issue — the actual formula can be found on the company’s website — and even developed special ways of dealing with echo cancellation and suppression.

The fact that so much thought went in to creating a product like the HomePod and making it actually work isn’t all that surprising, but being able to hear exactly what the challenges were and how they were solved straight from Apple — one of the most secretive companies on Earth — is refreshing. We recommend you check out the full blog post for more information.

While you’re at it, be sure to check out our list of the best smart speakers if you’re in the market.

Editors' Recommendations

Parker Hall
Former Digital Trends Contributor
Parker Hall is a writer and musician from Portland, OR. He is a graduate of the Oberlin Conservatory of Music in Oberlin…
How much is Apple Music, and how can you get it for free?
Apple Music with lossless audio music track playing on OnePlus 11 along with the OnePlus Buds Pro 2 in black color on top of a green cloth surface.

If you're in the market for a music streaming service, you can't really go wrong with Apple Music. With a catalog of more than 100 million songs, all in high-quality lossless audio at no additional cost, Apple's been a contender in this space for nearly as long as music streaming has been a thing.

Here's how much each Apple Music plan costs:

Read more
Apple lets AirPods Pro owners upgrade to USB-C
Apple AirPods Pro Second Gen charging case with USB-C.

Apple now sells the USB-C version of its AirPods Pro Gen 2 charging case on its own, which is good news for anyone who wants to switch to USB-C charging for their existing second-gen AirPods Pro. However, the switch from lightning to USB-C will come with a hefty premium: Apple is asking $99 for the , as noted by the Verge, or half the price that's currently advertised on Amazon for a new, complete set of AirPods Pro second-gen with USB-C.

Apple AirPods Pro second-gen charging case with USB-C (left) and the second-gen charging case with Lightning. Caleb Denison / Digital Trends

Read more
Got a PS5? Here’s how to get 6 free months of Apple Music
Apple Music on a PS5.

Apple is offering PlayStation 5 (PS5) owners six free months of its Apple Music streaming service.

In a deal with PlayStation maker Sony, Apple is letting PS5 owners enjoy all the benefits of the music streaming service, which offers around 100 million tracks for ad-free listening.

Read more