SecInsight
1e675874d0
feat(performance-tester): interactive device simulator TUI with local audio
...
- device_simulator.py: audio E2E engine (mic capture -> Opus 60ms frames,
downlink decode/playback), half-duplex mutex, digital injection of corpus
wavs, headless scenarios (baseline/swallowhunt/zombie/idle incl. half-open
connection reproduction), JSONL event log and uplink/downlink PCM dumps
- device_simulator_tui.py: Textual TUI front-end with full per-turn
transcript, L1-L5 latency panel, WS ping probe and key bindings
(wake/interrupt/mic/probe/corpus injection/volume)
- phrases.txt + prewarm_corpus.py + speak.ps1: corpus and local synthesis
(edge-tts with Windows SAPI fallback)
- docs/device-simulator-tui.md (bilingual) + cross references in
device-protocol-simulator.md and performance_tester.md
2026-11-01 13:26:26 +08:00
SecInsight
d3c669d1f9
feat(performance-tester): add device protocol E2E simulator
...
Add a device-side protocol simulator under performance_tester: it performs
the hello handshake, sends Opus audio frames over listen/start-stop and
reports STT/LLM/TTS messages, so that 'device says something but gets no
response' issues can be reproduced end to end.
- supports raw PCM or 16k mono wav input
- token via --token/--secret (auth enabled servers)
- exits 0 only when non-empty STT and TTS audio are observed
- bilingual docs under docs/device-protocol-simulator.md
2026-10-29 07:40:29 +08:00
hrz
76cef92cb2
修正性能测试和声纹识别两份文档里跟代码对不上的十二处 ( #3502 )
...
* 修正两份操作文档里跟代码对不上的地方
性能测试那份把配置路径写错、没提要先装依赖,步骤里少了非流式语音合成,流式语音合成要配哪些供应器也没写;声纹识别那份的重启命令指向两个不同的编排文件,有两句话连写三遍,编号也乱了,示例漏了相似度阈值。逐条改到跟代码一致。
* 把性能测试文档的说明改得跟代码一致
供应器表里两家的写法与代码相反,改成如实描述;步骤清单补回流式语音识别;
示例里的视觉模型段改成能跑通的形态;声纹文档两个重复的标题改掉一个。
* 性能测试文档的说法跟Linkerai跳过行为对齐
它没配就整项跳过,不再算进报错后跳过那一类。与#3510的行为对齐。
* 性能测试文档改对缺供应器时的记法
不是跳过,是报错后记成失败,结果表里多一行。带守卫的那几家才是整项跳过。
* 强调易错处
2026-10-27 21:09:09 +08:00
hrz
ca8ff121d4
按代码实际情况修正五份 README 的平台清单和说明 ( #3489 )
...
* 修正 README 里过时的平台清单和漏掉的供应器
删掉服务端已经不存在的 GizwitsTTS、ACGNTTS、灵犀流式TTS,补上漏写的 CustomTTS、GroqASR、Qwen3ASRFlash 等。声纹一栏改成真正的 voiceprint-api 服务。管理后台的界面语种、插件的加载时机、部署表里的配置要求、音频测试工具的前置步骤,都按代码里的实际情况改写。
* 改掉性能测试脚本里写错的文档路径
脚本启动时提示的 doc/performance_testerer.md 找不到,真实文件是 docs/performance_tester.md。
* 把离线模型补进免费平台列并撤掉音频工具那处改动
两个离线模型走的是本机,不消耗付费接口,和列里已有的本地模型一样,所以补进免费平台列。音频交互测试工具要装 wakeword 依赖这一条,和另一处改同一张表的改动挨着,两边同时开必冲突,先从这次改动里拿掉,等那边合上再单独提。
2026-10-26 18:37:15 +08:00
FAN-yeB
d7dc636d3f
update:更新流式TTS测试工具
2025-08-20 14:30:47 +08:00
hrz
3057d35111
update:优化常见问题,梳理链接教程
2025-08-16 10:33:28 +08:00
hrz
e70415690c
update:优化测试工具目录结构
2025-08-16 10:09:36 +08:00
FAN-yeB
768d2b82d6
update:更新性能测试工具
2025-08-14 10:01:43 +08:00