ExplainerTools

Short · Technology

How can a MacBook trackpad talk with no speaker?

A developer muted his MacBook and made the trackpad talk. There’s no speaker in there, just a tiny haptic motor that taps the glass so you feel a click. Tap it a few times a second and you feel clicks. Speed it up to hundreds, then thousands of taps a second, and the glass vibrates fast enough to make sound: loud from about 100 to 4,000 Hz. To speak, Cody Collier’s open-source nospeaker finds the voice’s two strongest resonances every 10 ms and plays them as two tones on the motor. Two tones instead of a full voice: that’s why it sounds robotic.

Try it yourself

Opens Haptic Speaker Lab. Change the same thing yourself.

Narrated · 42 seconds · captions includedDownload the film

Keep exploring

Up next

  1. 0:47Short · EngineeringWhy are jet turbine blades grown as a single crystal?
  2. 0:42Short · SpaceWhy can Google's AI chip in orbit only run in bursts?
  3. 0:46Short · PhonesHow can your phone hop from a cell tower to a satellite mid-call?

Transcript

A developer muted his MacBook, and made the trackpad talk. There's no speaker in there. Just a tiny motor that taps the glass, so you feel a click. Tap it a few times a second, and you feel clicks. Now speed it up. Hundreds, then thousands of taps a second, and the glass itself vibrates fast enough to make sound. It's loud from about a hundred to four thousand hertz. To speak, the app finds the voice's two strongest resonances every ten milliseconds, and plays them as two tones on the motor. Two tones, instead of a full voice. That's why it sounds robotic. Follow for more explainers like this.

Learn more

Learn more about the talking trackpad

This model shows taps turning into a tone and a voice turning into two tones. The guide adds what is under the glass, where the trackpad is loud, why it sounds robotic and where the model stops.