Nospeaker: Turn MacBook Trackpad Into Speaker
Nospeaker is a Swift utility that repurposes a MacBook’s Force Touch trackpad motor as an audio output device. By driving the motor up to 4,000 times per second, the tool vibrates the trackpad glass fast enough to produce audible sound without any dedicated speaker hardware. The single-file implementation relies only on the private MultitouchSupport framework and has no external dependencies.
The tool converts voice into two resonant tones (formants) recalculated every 10 milliseconds, which the motor reproduces through trackpad vibration. Output covers a frequency range from 98 Hz to 3,951 Hz, with the clearest and loudest results around 1 kHz. The resulting audio sounds robotic but remains intelligible, especially when paired with synchronized on-screen text that displays as the voice plays.
Nospeaker requires a Force Touch trackpad (built into MacBooks from 2015 onwards or Magic Trackpad 2 and newer), macOS 12 or later on Apple Silicon, or macOS 13 or later on Intel. Installation takes seconds—a one-line curl command downloads the signed, notarized binary, or users can build from source. The project is MIT licensed and was created by Cody Collier.
Read the full article
Continue reading at Hacker News →This is an AI-generated summary. Read the original for the full story.