The open-source task is called "NO SPEAKER," and comes from developer Cody Collier, who precocious shared shared a objection connected X. The instrumentality uses the tiny haptic centrifugal that usually makes a Force Touch trackpad consciousness arsenic though it clicks. Driving that centrifugal astatine antithetic frequencies makes the solid vibrate accelerated capable to nutrient audible sounds.
The demo lasts astir a infinitesimal and a fractional and includes speech, a melody, a beat, and a abbreviated rap. Users tin besides descent a digit crossed the trackpad to alteration the transportation of a tone, participate their ain substance for it to speak, oregon take different installed macOS voice. The instrumentality does not crook the trackpad into a mean audio output for playing euphony files oregon dependable from different apps.
i made my macbook trackpad speech utilizing lone the vibrations from its haptic motor
my speakers are muted, each dependable you perceive is coming from the trackpad itself
open source, effort it here: github.com/os6/nospeaker
To make speech, the bundle starts with a dependable created by macOS's built-in text-to-speech feature. It breaks the signaling into tiny sections and picks retired the main dependable frequencies that marque the words recognizable. The centrifugal past reproduces a simplified mentation of those sounds done the trackpad.
The effect is simply a quiet, robotic voice. Collier says the words are easier to travel erstwhile speechmaking the substance displayed alongside them, and recommends placing the MacBook connected a array to marque the dependable easier to hear.
The instrumentality uses parts of macOS that Apple does not marque disposable for third-party developers to use, namely the "MultitouchSupport" framework. These fto it power however accelerated and powerfully the trackpad vibrates, alternatively than simply trigger a preset click. Since Apple does not officially enactment this use-case, a aboriginal macOS update could halt the instrumentality from working.
Collier says the instrumentality keeps the haptic centrifugal wrong its mean maximum strength, but it is chartless whether prolonged usage could impact the trackpad's lifespan. NO SPEAKER requires a Force Touch trackpad and macOS Monterey oregon aboriginal connected Apple silicon, oregon macOS Ventura oregon aboriginal connected Intel. The instrumentality is escaped and available present connected GitHub.
Tag: Magic Trackpad
This article, "Developer Turns MacBook Trackpad Into a Speaker Using Haptic Motor" archetypal appeared connected MacRumors.com
Discuss this article successful our forums
 (2).png)
1 hour ago
2











English (US) ·