fix(frontend): #1897 声音克隆页增加情绪语速设置 #1906

Merged
xiaoxia merged 4 commits from fix/1897-voice-clone-preview-emotion-speed into develop 2026-09-14 19:11:00 +08:00

4 Commits

Author SHA1 Message Date
saas-frontend-agent 7ba85b6ddf fix(frontend): #1897 声音克隆页增加情绪/语速设置
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 1s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 1s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 58s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Successful in 1m9s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Successful in 1m59s
CI/CD Pipeline / Validate - Style (pull_request) Successful in 2m16s
CI/CD Pipeline / Validate - Security (pull_request) Successful in 5m36s
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / CI Gate (pull_request) Successful in 2s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 10s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 22s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 44h33m39s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 44h39m16s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 44h39m20s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 44h39m24s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 44h33m41s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 44h39m25s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 44h39m19s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 44h39m24s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 44h39m25s
CI/CD Pipeline / PR Build API Image (pull_request) Failing after 44h38m52s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 44h38m56s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 44h38m57s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 44h33m13s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 44h33m13s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 44h38m52s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 44h38m57s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 44h38m46s
CI/CD Pipeline / PR Build Worker Image (pull_request) Failing after 44h38m51s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 44h38m53s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 44h38m46s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 45h8m35s
- api/voice-clone/clones.ts: getVoiceClonePreview 增加 options 参数(speed/emotion),通过 searchParams 透传
- 新增 VoiceClonePreviewPanel 组件:音色选择下拉、试听文本框、语速滑块(复用 SpeedControl)、情绪下拉(复用 EmotionControl)、试听按钮,试听完成后可直接播放音频
- VoiceClone.tsx:PageHead 下方、卡片网格上方插入试听面板(仅当存在就绪音色时显示)
- voice-clone.css:新增试听面板样式(复用现有 CSS 变量,风格与页面一致)
- 语速 0.5x-2.0x 默认1.0x;情绪 natural/excited/calm/friendly 默认natural
- 不加语言选择(克隆音色语言由训练时确定)
- 参数真实传递到后端 preview 接口
2026-09-14 18:18:15 +08:00
saas-frontend-agent 8afc84dbff fix(frontend): #1897 声音克隆页增加情绪/语速设置
- api/voice-clone/clones.ts: getVoiceClonePreview 增加 options 参数(speed/emotion),通过 searchParams 透传
- 新增 VoiceClonePreviewPanel 组件:音色选择下拉、试听文本框、语速滑块(复用 SpeedControl)、情绪下拉(复用 EmotionControl)、试听按钮,试听完成后可直接播放音频
- VoiceClone.tsx:PageHead 下方、卡片网格上方插入试听面板(仅当存在就绪音色时显示)
- voice-clone.css:新增试听面板样式(复用现有 CSS 变量,风格与页面一致)
- 语速 0.5x-2.0x 默认1.0x;情绪 natural/excited/calm/friendly 默认natural
- 不加语言选择(克隆音色语言由训练时确定)
- 参数真实传递到后端 preview 接口
2026-09-14 18:18:01 +08:00
saas-frontend-agent b69f3200be fix(frontend): #1897 声音克隆页增加情绪/语速设置
- api/voice-clone/clones.ts: getVoiceClonePreview 增加 options 参数(speed/emotion),通过 searchParams 透传
- 新增 VoiceClonePreviewPanel 组件:音色选择下拉、试听文本框、语速滑块(复用 SpeedControl)、情绪下拉(复用 EmotionControl)、试听按钮,试听完成后可直接播放音频
- VoiceClone.tsx:PageHead 下方、卡片网格上方插入试听面板(仅当存在就绪音色时显示)
- voice-clone.css:新增试听面板样式(复用现有 CSS 变量,风格与页面一致)
- 语速 0.5x-2.0x 默认1.0x;情绪 natural/excited/calm/friendly 默认natural
- 不加语言选择(克隆音色语言由训练时确定)
- 参数真实传递到后端 preview 接口
2026-09-14 18:17:50 +08:00
saas-frontend-agent 7a51c52377 fix(frontend): #1897 声音克隆页增加情绪/语速设置
- api/voice-clone/clones.ts: getVoiceClonePreview 增加 options 参数(speed/emotion),通过 searchParams 透传
- 新增 VoiceClonePreviewPanel 组件:音色选择下拉、试听文本框、语速滑块(复用 SpeedControl)、情绪下拉(复用 EmotionControl)、试听按钮,试听完成后可直接播放音频
- VoiceClone.tsx:PageHead 下方、卡片网格上方插入试听面板(仅当存在就绪音色时显示)
- voice-clone.css:新增试听面板样式(复用现有 CSS 变量,风格与页面一致)
- 语速 0.5x-2.0x 默认1.0x;情绪 natural/excited/calm/friendly 默认natural
- 不加语言选择(克隆音色语言由训练时确定)
- 参数真实传递到后端 preview 接口
2026-09-14 18:17:38 +08:00