xcw520/dsh-dania-voice ↗★ 5

dsh-dania-voice

达妮娅(鸣潮)语音朗读 — 用本地 GPT-SoVITS 把助手回复读出来,带一个可拖动的小挂件开关。 / Local GPT-SoVITS voice for DSH: reads assistant replies aloud with a draggable mascot toggle. 适合需要语音朗读功能的用户,首次使用需一键下载部署语音模型。

パッケージ
dsh-dania-voice
互換性
未検証
バージョン
1.0.0
ライセンス
MIT
最終更新
2026/10/18

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xcw520/dsh-dania-voice

ドキュメント

README 全文を読む ↗

Usage

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.

KeyDefaultMeaning
enabledtrueMaster switch
volume / speed / temperature1 / 1 / 0.7Playback and sampling
speakUserfalseAlso read your own messages
installDir$DSH_HOME/dania-voiceWhere the engine lives
pythonPath / root / cacheDirderivedOnly needed for a hand-made install
baseUrlhttp://127.0.0.1:9880GPT-SoVITS endpoint
autostarttrueStart the service when needed