> ## Content Index
> Fetch the complete content index at: https://globalfeed.ai/llms.txt
> Use this file to discover other available public pages before exploring further.

# Google 应用离线也能听会说：端侧语音如何运作？
- URL: https://globalfeed.ai/zh/google-ying-yong-chi-xian-ye-neng-ting-hui-shuo-duan-ce-yu-yin-ru-he-yun-zuo/
- Published: 2026-11-14T16:05:00.000Z
- Updated: 2026-11-14T16:05:00.000Z
- Description: Google 为 AI Edge Gallery 加入完全在设备端运行的语音识别和语音合成，并内置开放模型。
- Author: GlobalFeed Editor
- Tags: Google, AI Edge Gallery, Kokoro, 语音识别, 语音合成, x-Google, dil-zh, elle

Google 于 11 月 10 日为 AI Edge Gallery [加入](https://developers.googleblog.com/on-device-speech-recognition-and-text-to-speech-in-google-ai-edge-gallery/?ref=globalfeed.ai)完全在设备端运行的语音识别（ASR）和语音合成（TTS），无需联网。

## 两条路径

在 Android 上，ML Kit 使用系统语音模型：据 Google 介绍，识别支持 100 多种语言、速度达实时的 10 倍；扩散式 TTS 约 100 毫秒开始发声，且不增加应用体积。跨平台方面，MediaPipe Tasks 为 iOS、macOS、Windows、Linux 和网页提供现成接口，内置开放模型 Parakeet-TDT 0.6B、PocketTTS 100M、Kokoro-82M 和 Phonon 31M，每个模型都打包为单个 .litertlm 文件。

## 示例与试用

XR Language Teacher 可在离线状态下识别摄像头画面并回答语音提问，用目标语言发音。参考代码已在 [GitHub](https://github.com/google-ai-edge/gallery?ref=globalfeed.ai) 开源。

来源： [Google Developers Blog](https://developers.googleblog.com/on-device-speech-recognition-and-text-to-speech-in-google-ai-edge-gallery/?ref=globalfeed.ai), [Google AI Edge Gallery GitHub](https://github.com/google-ai-edge/gallery?ref=globalfeed.ai)