astr0mfly/dsh-voice-by-edge

astr0mfly★ 0JavaScriptLast synced: 2026-08-16

Open on GitHub

一个可以在edge上使用进行语音对话的dsh-plugin

README excerpt

🎙 dsh-voice-by-edge 语音交流练习插件 · Voice practice mode for the DSH web app 中英文语言输出 + 对话中英文朗读(TTS)+ 语音输入(STT) 一个为 DSH Web 页面 设计的插件:在对话框新增「语音交流」模式选项。开启后,模型会用 目标语言以适合朗读的短句口语化回复 ,浏览器自动朗读对话内容(中英文分段选择对应语音),并支持麦克风语音输入直接发送——专为锻炼英文(或中文)听说能力设计。 A plugin for the DSH web page that adds a Voice Practice mode toggle to the composer. When enabled, the model replies in the target language with short, spoken-style sentences; the browser reads the conversation aloud (auto-detecting Chinese vs English segments and picking matching voices); and you can dictate replies with the microphone. Built for practicing English (or Chinese) speaking and listening. ✨ 功能 / Features 功能 说明 🎤 语音交流模式开关 输入栏工具行左侧的 🎤 按钮,按会话开启/关闭( conversation.input.left 插槽) 🗣 控制条 开启后出现在输入框下方( conversation.composer.dock 插槽):练习语言(English / 中文 / 自动)、麦克风、自动朗读、跟读回放、自动发送、语速、停止 🔊 逐条朗读 每条助手回复右侧的 🔊 按钮,点击即朗读该条( conversation.chat.assistant-actions 插槽) 🌐 双语分段朗读 朗读时按句子自动识别中英文,分别用对应语音朗读(如英文回复 + 【译文】中文段落) 🎙 语音输入(STT) 浏览器 Web Speech API(Chrome / Edge),识别结果实时填入输入框,可自动发送;错误会分类提示(权限被拒 / 服务不可用 / 浏览器不支持) 🧠 服务端提示词注入 开启模式的会话,系统提示词追加「语音练习模式」引导:用目标语言、短句口语化、无 markdown 表格/代码块、附【译文】与【提示】纠错 🔊 朗读引擎(TTS) - 主引擎:Microsoft Edge 神经语音(edge-tts) 。服务端通过 msedge-tts 连接 E…

View full README on GitHub →
Tools / Devdsh-pluginvoice-chat

Category