dsh-gsv-tts 5.1.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/CHANGELOG_EN.md +14 -0
- package/README.md +291 -290
- package/README_EN.md +291 -290
- package/docs/voices.json +18 -1
- package/lib/audio-store.d.ts +3 -0
- package/lib/audio-store.d.ts.map +1 -1
- package/lib/audio-store.js +53 -8
- package/lib/audio-store.js.map +1 -1
- package/lib/client.js +304 -34
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +153 -35
- package/lib/index.js.map +1 -1
- package/lib/providers/edge.d.ts +15 -2
- package/lib/providers/edge.d.ts.map +1 -1
- package/lib/providers/edge.js +28 -3
- package/lib/providers/edge.js.map +1 -1
- package/lib/tts.service.d.ts +10 -0
- package/lib/tts.service.d.ts.map +1 -1
- package/lib/tts.service.js +56 -0
- package/lib/tts.service.js.map +1 -1
- package/package.json +90 -89
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
本文件记录 dsh-gsv-tts 的所有版本更新。格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本号遵循 [语义化版本](https://semver.org/lang/zh-CN/)。
|
|
4
4
|
|
|
5
|
+
## [5.2.0] - 2026-11-10
|
|
6
|
+
|
|
7
|
+
### Edge 在线端点
|
|
8
|
+
- Edge 合成迁移到 `api.msedgeservices.com`(改用 `node-edge-tts`),修复旧 `speech.platform.bing.com` 端点 403 / 握手一直挂起的问题
|
|
9
|
+
- Edge 音色列表仍由 `edge-tts-universal` 提供;健康检查恢复可用
|
|
10
|
+
|
|
11
|
+
### 整段播放 / 下载 + 选中朗读
|
|
12
|
+
- 新增「整段」按钮:按当前回复/选中文字生成完整 WAV,可拖动进度、下载;默认流式朗读不变,首音不受影响
|
|
13
|
+
- 新增选中文字朗读:选中对话正文后浮出「朗读选中」,走流式 `/speak`(支持 `text` 入参)
|
|
14
|
+
- `AudioStore` 支持 HTTP Range / HEAD,完整音频可 seek
|
|
15
|
+
- 本地整段音频用流式 PCM 直接写 WAV,不设 30 秒超时;长回复不会再被截断
|
|
16
|
+
- 整段生成支持取消(停止/关闭页面即中断)
|
|
17
|
+
- Edge 整段返回可用的 `duration`(24 kHz / 48 kbps CBR 按字节换算),并把 AbortSignal 传入在途分段
|
|
18
|
+
|
|
5
19
|
## [5.1.0] - 2026-11-06
|
|
6
20
|
|
|
7
21
|
### 首音性能优化(GSV 本地)
|
package/CHANGELOG_EN.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to dsh-gsv-tts are documented in this file. Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
4
4
|
|
|
5
|
+
## [5.2.0] - 2026-11-10
|
|
6
|
+
|
|
7
|
+
### Edge online endpoint
|
|
8
|
+
- Edge synthesis now uses `api.msedgeservices.com` via `node-edge-tts`, fixing the old `speech.platform.bing.com` 403 / hanging handshake
|
|
9
|
+
- Edge voice list still comes from `edge-tts-universal`; health check is available again
|
|
10
|
+
|
|
11
|
+
### Full audio / download + read selection
|
|
12
|
+
- New "Full" player action: generates a complete WAV for the current reply or selected text, with seek and download; normal read-aloud still streams, so first audio is unchanged
|
|
13
|
+
- Read selected text from the chat with a floating "Read selection" button; it uses streaming `/speak` (`text` input)
|
|
14
|
+
- `AudioStore` supports HTTP Range / HEAD for seekable complete audio
|
|
15
|
+
- Local full audio is streamed straight into a WAV file with no 30 s timeout, so long replies are no longer cut off
|
|
16
|
+
- Full-audio generation can be cancelled by stop / closing the page
|
|
17
|
+
- Edge full audio now returns a usable `duration` (24 kHz / 48 kbps CBR from bytes) and passes AbortSignal into the in-flight segment
|
|
18
|
+
|
|
5
19
|
## [5.1.0] - 2026-11-06
|
|
6
20
|
|
|
7
21
|
### Faster first audio (local GSV)
|