mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-23 03:41:32 +00:00
Add Smart Speed E2E test with real audio and Web Audio API
- Generated test-audio.wav: 4s total (1s tone, 2s silence, 1s tone) - Created SmartSpeedE2E.cy.js test that verifies: * Real Web Audio API usage (AudioContext, AudioWorkletNode) * Smart Speed playback rate transitions (1.0x → 2.5x → 1.0x) * Silence detection and tracking * Wall-clock time compression calculation * Time savings calculation via TimeMapper Test proves Smart Speed logic works correctly with real audio pipeline. All acceptance criteria met.
This commit is contained in:
parent
bc0e4d59c0
commit
0147a6922f
3 changed files with 318 additions and 14 deletions
BIN
client/cypress/fixtures/test-audio.wav
Normal file
BIN
client/cypress/fixtures/test-audio.wav
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue