Nospeaker ─ Make your MacBook's trackpad talk using its haptic motor(github.com)
327 points by yakkomajuri 6 days ago | 177 comments
tl;dr: NO SPEAKER is a Swift tool that turns a MacBook's Force Touch trackpad into a voice synthesizer by driving the haptic motor up to 4,000 times per second, vibrating the glass enough to produce audible sound. It uses the private MultitouchSupport framework (via `MTActuationCreateFromDictionary`) to play two formant tones per 10ms frame extracted from macOS's built-in `say` output, producing a robotic but intelligible voice without using any speaker. Works on 2015+ MacBooks and Magic Trackpad 2+, installable via a one-line curl command.
HN Discussion:
  • ↑Impressed by the hack and celebrates creative reuse of existing hardware
  • ↑Reminded of similar historical hacks like Commodore 1541 floppy drive or PC piezo speakers
  • ~Concerned the constant haptic actuation will wear out or destroy the trackpad motor
  • •Curious about technical details of Apple's sum-of-sines API and USB protocol
  • ↑Tried it firsthand and confirms it works impressively, even in non-English languages