From f3f72ae654ed139b7acba9e166d504028fa33e73 Mon Sep 17 00:00:00 2001 From: Lexcubia Date: Mon, 28 Apr 2025 11:54:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(VoiceInput):=20=E4=BC=98=E5=8C=96=E8=AF=AD?= =?UTF-8?q?=E9=9F=B3=E8=AF=86=E5=88=AB=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 实现 2pass 语音识别,区分在线和离线识别结果 - 添加语音降噪处理,提高识别准确性 - 优化实时文本显示逻辑,支持在线和离线结果的动态更新 - 调整 WebSocket 消息处理,支持不同类型的消息 --- src/views/chat/components/VoiceInput.vue | 50 ++++++++++++++++++------ 1 file changed, 38 insertions(+), 12 deletions(-) diff --git a/src/views/chat/components/VoiceInput.vue b/src/views/chat/components/VoiceInput.vue index 6f994bf..b4cf460 100644 --- a/src/views/chat/components/VoiceInput.vue +++ b/src/views/chat/components/VoiceInput.vue @@ -66,7 +66,7 @@