Skip to content

Open-source tool nospeaker uses MacBook Touch Bar haptic motor for speech synthesis

IT Home — Robotics1

Developer Cody Collier released open-source tool nospeaker that drives the MacBook Touch Bar's haptic motor at up to 4000 Hz to synthesize speech. The project, licensed under MIT and tested on an M5 Max MacBook Pro, converts system audio into audible sound but cannot play music or external files.

English translation unavailable.

Source notes

  1. 苹果 MacBook 触控板竟能当扬声器:开源工具 nospeaker 用触觉马达发声↩
Source evidence

Reported by the source; not independently verified.

  1. 该项目采用 MIT 开源许可证,用户可以免费使用。
    Exact source
  2. 目前,科利尔只在搭载 M5 Max 芯片的 MacBook Pro 上完成了测试。
    Exact source
  3. 根据项目介绍,nospeaker 能够以每秒最高 4000 次的频率驱动马达,让玻璃面板快速振动,从而产生人耳可以听到的声音。
    Exact source
  4. 具体来说,工具首先调用 macOS 内置语音功能生成语音,然后每隔 10 毫秒分析一次音频,提取两个共振峰、响度和音高等信息,再通过马达将这些信息转换成两种音调进行播放。
    Exact source
  5. 据IT之家了解,这款有趣的小工具由开发者科迪 · 科利尔(Cody Collier)开发,项目已在 GitHub 上开源,开发者账号为 os6。
    Exact source

Automatically extracted; no manual editorial approval recorded.

Article details
Timezone · UTC

Article dates follow your selected timezone. Briefing editions use Hong Kong time (UTC+8).