dsh-dania-voice
达妮娅(鸣潮)语音朗读 — 用本地 GPT-SoVITS 把助手回复读出来,带一个可拖动的小挂件开关。 / Local GPT-SoVITS voice for DSH: reads assistant replies aloud with a draggable mascot toggle. 适合需要语音朗读功能的用户,首次使用需一键下载部署语音模型。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xcw520/dsh-dania-voiceUsage
A mascot hangs at the top centre of the window:
- Click — toggle reading on/off
- Drag — move it anywhere; the position is remembered
- Right-click / Shift+click — open the settings panel
- While reading, the mascot gently bobs
Panel controls: volume, speed, temperature (lower = steadier, less breathiness), inter-sentence pause, plus repeat last reply and say a line for testing.
Changing speed/temperature applies to the next synthesis; audio is cached by text + parameters,
so repeating with the same settings is instant.
Configuration
Written to $DSH_HOME/dania-voice/config.json by the panel. The config: block in your profile
patch works too and is overridden by the panel.
| Key | Default | Meaning |
|---|---|---|
enabled | true | Master switch |
volume / speed / temperature | 1 / 1 / 0.7 | Playback and sampling |
speakUser | false | Also read your own messages |
installDir | $DSH_HOME/dania-voice | Where the engine lives |
pythonPath / root / cacheDir | derived | Only needed for a hand-made install |
baseUrl | http://127.0.0.1:9880 | GPT-SoVITS endpoint |
autostart | true | Start the service when needed |