Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Active noise canceling earbuds already exist, and probably perform about as well as one can hope modulo small incremental improvements. I mean, the AirPods Pro are already damn impressive here. You could probably do better by cramming more and more technology closer to the actual ear /at the tip of the earbuds, perhaps? These things do cancel the low-mid end of voice frequencies quite well. I imagine with enough miniaturization you could increase the range.

But room-scale or free-space noise cancellation only works when either 1) your noise source is extremely predictable, or 2) your noise source is low-dimensional. It's just never going to work for the general case unless you can somehow sense the entire soundfield. The entire sum of what waves are traveling in which directions. Not just a few microphone inputs. It's going from 1D data to 3D data, the difference between a light sensor and a CAT scanner. And it needs to work at 20kHz response.

I guess hypothetically you could do something like wrap a room in microphones and compute the sound coming in in all directions, then with a very good adaptive model be able to cancel noise from outside within it. But if you're going to draw a boundary and wrap it in a massive array of microphones... Aren't you better off just adding insulation material? :-)

Edit: just as a baseline, I very crudely tested my Bose QC20 earbuds (which aren't exactly bleeding edge tech) and I think they get about 10dB active cancellation at 1kHz, which goes down to nothing at 2kHz. Human voice fundamental frequencies are typically 85-180 Hz for adult cis men and 165 - 255 Hz for adult cis women, so this level of ANC does get rid of the fundamental and a few harmonics. I might test a friend's AirPods Pro later and see if they're better. 1kHz has a wavelength of ~34cm, so I think there is room for improvement here in the earbuds case. I'm not experienced enough in this field to have a good feel for the numbers beyond order of magnitude estimates, but I think going up to 4kHz might be doable, given that for earbuds we're talking about cavities in the ~5cm range. Might need more mics/drivers and more miniaturization to pull it off, not sure.

For those wondering, the test methodology was to play a tone, turn on cancellation (which has a delay), then turn off cancellation (which is instant) simultaneously with decreasing the amplitude of the tone, and trying to match the perceived loudness between both cases.



> But if you're going to draw a boundary and wrap it in a massive array of microphones... Aren't you better off just adding insulation material? :-)

Well, let's do the math here. I can't find the data sheet for the weight of an electret microphone cartridge, but let's assume 4 grams. A thousand microphones -- assuming we want 100 the length of the airplane and 10 around -- is around 4 kilos. Add another 2 kilos for computation, and a few more for wiring, and you've added the weight of a piece of luggage.

Now, let's say you want to add 2 inches of mineral wool sound insulation. I'm assuming 100 meters x 10 meter circumference (I have no idea, but the numbers scale the same). You've added (quite literally) half a metric ton to your airplane. And made it 2" thicker, either reducing cabin space or increasing drag.

Plus, sound insulation does very little for low frequencies, which is the majority of airplane noise.


Assuming you want to cancel frequencies up to 1kHz, you're going to need mics every 30cm at least for a useful sound field. For a 787 fuselage, that's about 60 around by 190, let's round that down to 10000 microphones. But of course, then you need electronics for them, and a way to carry the signals back to somewhere for processing. That's about 10 Gbps of data, fine, doable, but then you need to process it. Since you need to cancel separately per passenger, that's 2.4 million filters (10k mics * 242 passengers) to process. Nevermind that since this is a plane, there is a huge amount of overhead due to safety requirements.

This is all assuming this whole idea works, which it probably won't, because it's not just about the microphones on the fuselage but also how sound is transmitted inside the plane and other noise sources.


That sounds reasonable. Let's do the math your way in both directions:

1) Assuming system-level model

10,000 microphones * 8 kilosamples per second = 800 megasamples per second.

NVidia Tesla does 100 teraflops. I get about 125,000 FLOPS per sample. That feels adequate to me!

2) One filter per microphone per passenger. We need to divide by 250.

500 FLOPS per sample per passenger. That's more than enough for a very fancy IIR.

Of the two, I think #1 is more likely to work than #2, precisely because you want a coherent model. If you want to adjust your model for someone walking down the aisle (or any kind of system ID), that's a lot easier with 125,000 FLOPS per sample than 500 FLOPS per sample.


Right, and now you've achieved the same noise cancelling performance... That off the shelf noise canceling headphones achieve (1 kHz) without putting 10000 microphones on the plane.

Again assuming this all works, which is a massive if.

Look, this isn't practical.


.... in the same way that having a billion transistors in a computer isn't practical. Or a computer in every car tweaking fuel injection. It's not practical until it is. Electronics goes down in price. Algorithms improve. Insulation stays fixed or goes up in price. I would say it's not a question of "if" but "when."

The answer to that might be right now (we couldn't do it before, and we probably can today) or it might be in a decade. But electronics will keep falling in price. 10,000 microphones * $5 per microphone+electronics = $50k.

The advantages of cancelling an entire wavefront go well beyond passenger comfort too. Industrial noise cancelling systems are more about equipment life than about employee comfort. I had laptop screws unscrew on airplanes before, due to vibration. If planes need less maintenance as a result of active vibration reduction throughout the airplane, you'll make up that $50k virtually overnight.

As a footnote, the crazy part here isn't the 10,000 microphones, but the speaker-at-every-seat part. You'd almost certainly want both the microphones and speakers in the skin of the airplane. But that's a story for another day.


I'm more of a lazy pragmatist than a passionate hacker. So, I guess I should invest my energy, time and money into just finding a less noisy place to live. I'm not suffering from misophony - I just hate hearing my neighbours or loud vehicles with a vengeance :D


See, this is why when I shop for apartments to rent, concrete walls are a requirement. Not just so I don't hear my neighbors, but also so they don't hear me, since I make music ;)

At my current place I've pretty much concluded that anything but deep bass just doesn't transfer. Even at 5 in the morning, I can listen to stuff at a reasonable listening volume without disturbing my neighbor, as long as I'm not pumping out bass below 80Hz or so. And the neighbor recently got a dog and I haven't heard her bark even once when she's home :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: