github.com/os6/nospeaker Nospeaker ─ Make your MacBook's trackpad talk using its haptic motor
Nospeaker is a single Swift file that turns a MacBook's Force Touch trackpad haptic motor into a sound source, playing formant-derived tones through macOS's private MultitouchSupport framework instead of a speaker. The author measured usable output across every semitone from 98 Hz to 3,951 Hz, and notes that Intel Macs, Magic Trackpads and older macOS versions remain untested.