Mute your Mac. Your trackpad will still talk.

According to recent reports, there's no speaker in a MacBook trackpad, just a small haptic motor that taps the glass so you feel a click. NO SPEAKER drives that motor up to 4,000 times a second, fast enough to make sound you can hear, and turns it into a voice. It talks, sings, raps, and becomes an instrument under your finger. (Related: Jujutsu Kaisen’s Gojo voice actor had no idea he was re...)

One command. About a minute and a half. No speakers used.

Space skips a part. q or Ctrl-C goes to the end.

Downloads the latest release to ~/.local/bin/nospeaker and starts the show. a90.com/nospeaker points to play.sh in this repo, so you can read what it runs first. (Related: Show, Don't Certify: How to Prepare for Your First Data...)

Industry observers note that grab nospeaker.zip from the latest release, unzip it and run ./nospeaker in Terminal. Signed with a Developer ID and notarized by Apple.

Needs Xcode or the Command Line Tools (xcode-select --install). Builds one program for Apple Silicon and Intel Macs.

Sources indicate that A Force Touch trackpad (built into MacBooks from 2015 on, or a Magic Trackpad 2 or newer), and macOS 12 or later on Apple Silicon, or macOS 13 or later on Intel. Without a Force Touch trackpad, it says so and exits.

Not tested yet: Intel Macs, a Magic Trackpad, and older versions of macOS. MultitouchSupport is private, so older systems may lack the functions it uses, and loudness differs between trackpads. If you try it on another Mac, open an concern with your model, your macOS version and how it sounded.

Why you can hear it. The trackpad has no speaker, but the motor moves the glass. Driven back and forth hundreds or thousands of times a second, the glass vibrates fast enough to make sound you can hear. It's quiet because the motor is built for short taps, not for sound.

Industry observers note that the motor. MultitouchSupport is the private framework macOS uses for the trackpad. Its function MTActuationCreateFromDictionary takes a description of a vibration, a list of sine tones with a frequency, a strength and a length each, and MTActuationActuate plays it on the motor. Apple's public haptics API only offers three fixed taps.

It has been revealed that the range. Measured with the MacBook's own microphone, every semitone from 98 Hz to 3,951 Hz: how loud it is over a quiet room, and how much of the sound is the note itself.

It's loud from about 100 Hz to 4 kHz, with a few dead spots where the glass resonates. Its loudest, cleanest notes are around 1 kHz, which covers the most important part of a voice.

Industry observers note that the voice. macOS's own voice speaks the line into memory. Every 10 ms, linear prediction finds the voice's two strongest resonances (formants), its loudness and its pitch. The motor plays those two resonances as tones, restarted on every beat of the pitch, so they buzz like a voice instead of whistling. Hiss sounds (s, f, t) become quick bursts of high tones. Two resonances beat three: in a blind test they were clearer, and louder, because the motor's strength is split fewer ways.

It sounds robotic, and it's much easier to follow when you can read along, which is why the show types every line as it speaks.

It has been revealed that the code. One Swift file, nospeaker.swift, with no dependencies.

The MultitouchSupport function names were learned from the open-source Tactile project. Everything else was measured on a MacBook.

Made by Cody Collier · a90.com · MIT license.

→ Read original article