Files
client/core/tests/fixtures/README.md
T

1.4 KiB

Test fixtures

speech-librivox-48k.wav

Real human speech used to test the voice activation detector (core/src/vad.rs). Test data only; not shipped in any package.

  • Source: LibriVox, Short Poetry Collection 001, "Jenny Kissed Me" by Leigh Hunt, file jenny_hunt_py_64kb.mp3 from https://archive.org/details/short_poetry_001_librivox (https://archive.org/download/short_poetry_001_librivox/jenny_hunt_py_64kb.mp3, SHA-256 of the downloaded MP3 9394cb36b156957c6770b50c77181ab17ecaf7d88ed2cb337a822fd8897b768a).
  • License: public domain. LibriVox recordings are dedicated to the public domain; the archive.org item states http://creativecommons.org/licenses/publicdomain/.
  • Content: 4.0 s starting at 2.0 s of the recording (the LibriVox introduction, read by a volunteer).
  • Conversion (FFmpeg 7.1.1): ffmpeg -ss 2.0 -t 4.0 -i jenny_hunt_py_64kb.mp3 -ac 1 -ar 48000 -c:a pcm_s16le -map_metadata -1 -fflags +bitexact -flags:a +bitexact speech-librivox-48k.wav → 48 kHz mono 16-bit PCM WAV, 384 044 bytes, SHA-256 d0e63d939369a0d51bbb42aa36fb5fe185b19e4f4aa3070c10bef28df593ed38.
  • Character: the MP3's own noise floor is about -30 dBFS; voiced speech is above -24 dBFS (the tests use that level to locate the first loud frame). Mean -25.4 dB, peak -5.6 dB.

The noise inputs of the tests (steady broadband noise, clicks) are generated in code and are synthetic.