News for hackers. Stuff that matters.
Re:Ask HN: How Does Alexa Avoid Interrupting Itself When Say... by davidmurdoch on Saturday June 29, 2024 @11:40AM (#40831337)
Wouldn't it be simpler to add noise above 20kHz and ignore the key phrase if the noise is present?
Re:Ask HN: How Does Alexa Avoid Interrupting Itself When Say... by sgc on Saturday June 29, 2024 @11:54AM (#40831452)
That was my thought as well. Just use some form of acoustical fingerprinting. It would be very simple to do, and would be both robust and flexible.
Re:Ask HN: How Does Alexa Avoid Interrupting Itself When Say... by lazide on Saturday June 29, 2024 @12:06PM (#40831542)
Even simpler is subtract any sound (and associated echoes) output through the speaker from any input received from the microphone.
Re:Ask HN: How Does Alexa Avoid Interrupting Itself When Say... by colanderman on Saturday June 29, 2024 @12:26PM (#40831665)
Echo cancellation is much more complex than tone squelching, which is simple enough to be implemented in the analog domain.
Re:Ask HN: How Does Alexa Avoid Interrupting Itself When Say... by brazzy on Saturday June 29, 2024 @12:30PM (#40831697)
Echo cancellation was implemented in the analog domain 50 years ago at the least.

It's wild to see someone assume this kind of thing requires machine learning algorithms.

Re:Ask HN: How Does Alexa Avoid Interrupting Itself When Say... by lazide on Saturday June 29, 2024 @01:58PM (#40832365)
I'm guessing they were (rightfully) pointing out it's still harder than just ignoring any input if there is a given tone. Which yeah, it is. I'm assuming they'd prefer to use that for things like advertisements though, since the cancellation approach lets them ‘listen’ while still talking/playing music/etc.
Re:Ask HN: How Does Alexa Avoid Interrupting Itself When Say... by xx-bean-xx on Saturday June 29, 2024 @01:02PM (#40831955)
no, because that 20+khz noise would be lost in any 44khz signal processing. you would have to guarantee the audio player is capable of higher bitrates
Re:Ask HN: How Does Alexa Avoid Interrupting Itself When Say... by davidmurdoch on Saturday June 29, 2024 @01:16PM (#40832050)
Ah, I didn't think about that. Thanks for pointing that out. Typical mics sample at 48khz, but that wouldn't leave much head room. Echo devices have an array of mics, IIRC, so I wonder if they can effectively sample at a higher rate?
Re:Ask HN: How Does Alexa Avoid Interrupting Itself When Say... by astrange on Sunday June 30, 2024 @08:09AM (#40836731)
It also isn't resilient to room echo/reflections, or EQ if people hook it up to their own speaker systems.

If you listen to the Apple keynote, anytime someone says Siri the audio has been very audibly lowpassed, presumably that's enough.