hn.today

Developer Turns MacBook Trackpad into a Speaker Using Haptic Motor

macrumors.com8 points0 comments
Screenshot of Developer Turns MacBook Trackpad into a Speaker Using Haptic Motor

NO SPEAKER is a free, open-source utility by developer Cody Collier that makes a MacBook’s Force Touch trackpad produce audible speech and other sounds through its haptic motor. The motor normally creates the sensation of a click; the software drives it at varying frequencies so the glass surface vibrates and generates sound. A demonstration includes spoken words, a melody, a beat, and a rap. Users can type text for the Mac to speak, select another macOS voice, or move a finger across the trackpad to alter a tone’s pitch. It cannot serve as a general audio output for music files or sound from other applications.

For speech, the program begins with macOS text-to-speech, divides the audio into very short segments, identifies the frequencies that help make words recognizable, and reproduces a simplified version through the trackpad. The result is quiet and robotic; following along with displayed text and placing the MacBook on a table make it easier to hear. NO SPEAKER relies on Apple’s unsupported MultitouchSupport framework to control vibration strength and speed, so a macOS update could break it. The developer says the motor stays within its usual maximum strength, but the effects of extended use on trackpad lifespan are unknown. It requires a Force Touch trackpad and runs on Apple silicon Macs with macOS Monterey or later, or Intel Macs with macOS Ventura or later.

Read on macrumors.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Hardware

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.