๐ nospeaker ยท ๐ฆ
Make a MacBook trackpad talk by driving its haptic motor up to 4,000 times a second using a single CLI command.
โโโโโโโโโโโโโโ
โญ 1 760 stars ยท ๐ด 89 forks
๐๏ธ Swift ยท ๐ MIT ยท ๐ข commit today
๐ฅ 3 contributors
You type a phrase into your terminal, mute your laptop speakers, and wait for sound to emerge.
MacBook trackpads contain no physical speakers, limiting feedback to standard tactile clicks.
Nospeaker bypasses the public three-tap haptic API to oscillate the glass into audible speech, though it still sounds heavily robotic.
๐งญ How it works
This tool bypasses standard public haptic limitations by tapping into private macOS frameworks like MultitouchSupport. It takes generated speech, breaks it down into formants every 10 milliseconds, and translates those frequencies into precise sine tones played directly on the trackpad glass.
Because the motor vibrates fast enough to generate audible sound, the glass itself functions as a miniature speaker.
โจ Key features
โธ Drives the trackpad motor at frequencies ranging from 98 Hz to 3,951 Hz
โธ Extracts two strongest formants and pitch from macOS native speech every 10 ms
โธ Translates unvoiced sounds like s, f, and t into high-tone bursts
โธ Supports external Magic Trackpads alongside built-in MacBook trackpads
โธ Single-file Swift implementation with zero external dependencies
๐ฏ Who should try it
Mac developers and tinkerers curious about macOS hardware internals and private APIs.
๐ Why it matters now
It demonstrates a clever misuse of private haptic frameworks that became newly testable on modern Apple Silicon hardware.
โ Verdict
An impressive hardware hack for an afternoon, but strictly a novelty for daily use.
๐ Quick start
โโโโโโโโโโโโโโ
๐ฌ Your take?
Would you rather listen to synthesized voice output through your trackpad or your keyboard switches?
๐ Save it for later โ and drop your use case in the comments.
๐ GitHub repository
๐ Full breakdown
๐ Project homepage
๐ฃ @GitHub_Open_Source โ daily open-source picks
========================================
#opensource #swift #cli #haptics
os6/nospeakerMake a MacBook trackpad talk by driving its haptic motor up to 4,000 times a second using a single CLI command.
โโโโโโโโโโโโโโ
โญ 1 760 stars ยท ๐ด 89 forks
๐๏ธ Swift ยท ๐ MIT ยท ๐ข commit today
๐ฅ 3 contributors
You type a phrase into your terminal, mute your laptop speakers, and wait for sound to emerge.
MacBook trackpads contain no physical speakers, limiting feedback to standard tactile clicks.
Nospeaker bypasses the public three-tap haptic API to oscillate the glass into audible speech, though it still sounds heavily robotic.
๐งญ How it works
This tool bypasses standard public haptic limitations by tapping into private macOS frameworks like MultitouchSupport. It takes generated speech, breaks it down into formants every 10 milliseconds, and translates those frequencies into precise sine tones played directly on the trackpad glass.
Because the motor vibrates fast enough to generate audible sound, the glass itself functions as a miniature speaker.
โจ Key features
โธ Drives the trackpad motor at frequencies ranging from 98 Hz to 3,951 Hz
โธ Extracts two strongest formants and pitch from macOS native speech every 10 ms
โธ Translates unvoiced sounds like s, f, and t into high-tone bursts
โธ Supports external Magic Trackpads alongside built-in MacBook trackpads
โธ Single-file Swift implementation with zero external dependencies
๐ฏ Who should try it
Mac developers and tinkerers curious about macOS hardware internals and private APIs.
๐ Why it matters now
It demonstrates a clever misuse of private haptic frameworks that became newly testable on modern Apple Silicon hardware.
โ Verdict
An impressive hardware hack for an afternoon, but strictly a novelty for daily use.
๐ Quick start
curl -fsSL a90.com/nospeaker | shโโโโโโโโโโโโโโ
๐ฌ Your take?
Would you rather listen to synthesized voice output through your trackpad or your keyboard switches?
๐ Save it for later โ and drop your use case in the comments.
๐ GitHub repository
๐ Full breakdown
๐ Project homepage
๐ฃ @GitHub_Open_Source โ daily open-source picks
========================================
#opensource #swift #cli #haptics