Parent: #972
Blocked by: #977 (Phase-4)
Why
We need objective, repeatable proof that the new high-fid engines are both more authentic and safe to use across browsers.
Scope
-
Spectrogram Diff / Audio Quality Tests
- Load Phase-0 reference + renders from stock, highfid-cpu, and gpu-highfid.
- Compute error metrics (MSE per band, peak, etc.) and assert against the thresholds defined in the authenticity-gaps doc.
-
Performance Benchmarks
- Script that measures wall-clock time for representative offline renders at different oversample factors.
- Record GPU dispatch + readback latency.
- CI can later enforce soft budgets.
-
Cross-Browser Matrix (Playwright)
- Chrome / Edge (WebGPU expected) – GPU path active.
- Firefox / Safari (or equivalent) – fallback to CPU path, no crashes, correct UI badge / toast.
-
Stress / Memory
- Concurrent offline renders via the worker pool; assert no OOM / crashes under reasonable load.
-
Manual A/B Checklist
- Extend or create
docs/audio-engine/303-A-B-checklist.md in the same style as the existing voice docs.
Acceptance Criteria
Sub-tasks
Labels / Milestone
Intended milestone: M5 – Test Suite, Performance & Cross-Browser
Parent: #972
Blocked by: #977 (Phase-4)
Why
We need objective, repeatable proof that the new high-fid engines are both more authentic and safe to use across browsers.
Scope
Spectrogram Diff / Audio Quality Tests
Performance Benchmarks
Cross-Browser Matrix (Playwright)
Stress / Memory
Manual A/B Checklist
docs/audio-engine/303-A-B-checklist.mdin the same style as the existing voice docs.Acceptance Criteria
Sub-tasks
Labels / Milestone
Intended milestone: M5 – Test Suite, Performance & Cross-Browser