Skip to content

v0.1.21

Choose a tag to compare

@rawmind rawmind released this 24 Nov 20:46
· 11 commits to master since this release
v0.1.21
f855a1c

Added

  • Speech detection: with whisper.cpp 1.9.6 or newer, titl install also downloads a 0.9 MB Silero model, and whisper-server then skips audio without speech, so silence no longer produces made-up subtitles. It may also skip singing. With older versions it stays off, because 1.9.5 can crash on audio without speech; titl install --vad turns it on anyway. titl install --no-vad turns it off. Both are remembered. If whisper-server can't start with it, Titl runs it without. titl status and Debug info show the setting.
  • Automatic language detection ignores replies without speech, which whisper-server labels English when speech detection is on.
  • titl status and Debug info show the whisper.cpp version, and the flags Titl adds to whisper-server.

Changed

  • whisper.cpp is pinned to build b5907 on Windows and Linux, with its SHA-256 in the helper. That is whisper.cpp 1.9.6 without one later commit, which only changes a CMake file. titl install used to take the newest release, and fell back to build b5454, which is whisper.cpp 1.9.5. Newer releases are now only tried if the pinned build doesn't run.
  • whisper.cpp 1.9.5 makes more mistakes when the audio context is shortened, as Titl does on slow computers. In tests with a Serbian small model it made 33.0% word errors on FLEURS, against 27.9% with 1.9.6, and 32.4% against 22.4% on parliament speech (100 clips each, built from source on macOS). At full length the difference was small: 25.2% against 24.6% on the same FLEURS clips.

Upgrade

  • Windows and Linux: new installs get the pinned build. If an older helper downloaded your whisper.cpp, update the helper and run titl install --update-server once. It picks the default model again, so if you chose another one, add --download-model NAME or --model PATH. Skip this if you built whisper.cpp yourself: it would replace your build with the prebuilt one.
  • macOS: brew upgrade whisper.cpp.
  • Speech detection starts after the next titl install with whisper.cpp 1.9.6 or newer. Use titl install --no-vad to leave it off.
  • Update the extension too: without its part of this release, automatic language detection can settle on English during music or noise. Chrome updates it from the Chrome Web Store.