dsh-avatar-frame 0.14.0 → 0.14.1
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 +8 -0
- package/README.md +2 -2
- package/client.js +11 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
- 播放控制条:朗读时接在小喇叭右侧,可暂停/继续、上一句/下一句、五档语速(0.95× / 1.00× / 1.05× / 1.10× / 1.15×)、停止——**两种引擎都支持**;
|
|
30
30
|
- 音量滑块(0–100%,**默认 50%**);
|
|
31
31
|
- 语气三档:平稳 / 自然 / 活泼,随请求发给你的服务;
|
|
32
|
-
-
|
|
32
|
+
- 试听:选「本地服务」时,设置页 / 插件详情页 / 头像弹窗里都有「试听一句」;选「系统语音」时,音色选择那一行自带试听;
|
|
33
33
|
- 失败提示:某句合成失败时,小喇叭旁出现红点,悬停可看原因;试听失败时按钮旁会直接显示简短原因;
|
|
34
34
|
- 长回复按句切分、提前两段预生成,句间不卡顿。
|
|
35
35
|
|
|
@@ -215,7 +215,7 @@ PermissionError: [WinError 10013] 以一种访问权限不允许的方式做了
|
|
|
215
215
|
- Two engines: the system voice, or your own local service;
|
|
216
216
|
- Playback bar beside the speaker: pause/resume, previous/next sentence, five speeds (0.95×–1.15×), stop;
|
|
217
217
|
- Three tone presets (calm / natural / lively) sent to your service;
|
|
218
|
-
- Preview
|
|
218
|
+
- Preview: with 'Local service' there is a preview button on the settings page, the plugin page and the avatar panel; with 'System voice' the voice picker has its own preview;
|
|
219
219
|
- Failure dot next to the speaker with the reason on hover; a failed preview shows a short reason next to the button;
|
|
220
220
|
- Long replies are split by sentence and pre-generated two chunks ahead, so playback stays continuous.
|
|
221
221
|
|
package/client.js
CHANGED
|
@@ -2410,11 +2410,13 @@ window.__ModuleLoader__.load({
|
|
|
2410
2410
|
h(VolumeField, { t }),
|
|
2411
2411
|
h(EngineField, { t }),
|
|
2412
2412
|
avatar.engine === 'clone' ? null : h(SystemVoiceField, { t }),
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2413
|
+
avatar.engine === 'clone'
|
|
2414
|
+
? h(
|
|
2415
|
+
'div',
|
|
2416
|
+
{ className: 'dsav-sectionRow dsav-auditionRow' },
|
|
2417
|
+
h(AuditionButton, { t }),
|
|
2418
|
+
)
|
|
2419
|
+
: null,
|
|
2418
2420
|
avatar.engine === 'clone' ? h(ToneField, { t }) : null,
|
|
2419
2421
|
avatar.engine === 'clone' ? h(RateField, { t }) : null,
|
|
2420
2422
|
h(PresetBar, { t }),
|
|
@@ -2649,7 +2651,8 @@ window.__ModuleLoader__.load({
|
|
|
2649
2651
|
avatar.engine === 'clone' ? null : h(SystemVoiceField, { t }),
|
|
2650
2652
|
avatar.engine === 'clone' ? h(ToneField, { t }) : null,
|
|
2651
2653
|
h(RateField, { t }),
|
|
2652
|
-
|
|
2654
|
+
avatar.engine === 'clone'
|
|
2655
|
+
? h(
|
|
2653
2656
|
'div',
|
|
2654
2657
|
{ className: 'dsav-sectionRow' },
|
|
2655
2658
|
h(AuditionButton, { t }),
|
|
@@ -2666,7 +2669,8 @@ window.__ModuleLoader__.load({
|
|
|
2666
2669
|
? null
|
|
2667
2670
|
: h('span', { className: 'dsav-endpointHint dsav-warming' }, statusDetail(t, status)),
|
|
2668
2671
|
),
|
|
2669
|
-
)
|
|
2672
|
+
)
|
|
2673
|
+
: null,
|
|
2670
2674
|
);
|
|
2671
2675
|
}
|
|
2672
2676
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-avatar-frame",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Character avatar, editable ID and read-aloud beside every assistant reply — system voice or your own local TTS service, with tone and speed controls, presets, a playback bar, one-click launching of your own TTS process, and a Chinese/English UI switch.",
|
|
6
6
|
"license": "MIT",
|