How does the microphone on a MacBook not cause feedback?


On a MacBook, I can be in a Zoom Meeting and speak into the MacBook Mic, while also listening to the meeting via the MacBook speakers. How is it possible for the mic to only receive my voice (and not also the sound of the meeting coming out of the speakers)?

In: 2763

The computer knows what sound it is producing so it cuts it out of the audio it records. That’s why it warns you that you may cause an echo if you change some audio settings. It won’t know how the sound is made that it needs to cancel out

In signal processing, it’s relatively easy to subtract one signal from another. Basically, the device knows what it’s putting out on the speakers, and removes that from the microphone input. This can be done with either the hardware or the firmware/software.

The computer knows what should be coming out of the speakers and they can essentially erase that from the signal coming back from the mic.

Connect another device to the call next to the mac and have the audio on both. You’ll have echo going on immediately.

Its a cool little amplifier called the difference amplifier. It is one of the first amps you learn about in Electrical engineering.

The difference amp has 2 inputs. What happens is it will take the 2 inputs, subtract them from one another through signal combining and only the difference between the 2 inputs gets actually amplified.

It compares the output to the input and if sees the same thing, it get attenuated (volume is greatly lowered).

This is also how people on a helicopter can talk through their headsets. Both head sets are picking up the sound of the rotors so they cancel each other out, but only my mic picks up my voice, not your mic so you clearly hear my voice over the rotors. Its a neat little device and just requires a couple transistors to make one.

The MacBook knows exactly what is playing through its speakers. When it picks up that same sound in the mic, it subtracts that from the mic input, cancelling it out. The only sound that gets transmitted is everything else besides what the MacBook plays.

If the MacBook doesn’t know what sound is being played, for example a separate phone playing music, it can’t cancel it out.

Also, if the sound from the MacBook speakers is too loud, it can overwhelm the mic and prevent other sounds from being recorded on top.