Repository navigation
Release 0.11.1, with speech.cpp in the browser as WebAssembly - #229
Merged
Merged
Conversation
VERSION is 0.11.1. The release adds the library built for WebAssembly, in speech-0.11.1-wasm.zip beside the four archives: the C API on one thread and with threads, speech.mjs, which calls it from a Worker, a page that finds speech in a WAVE file with Silero VAD, and serve.py. No existing caller must change for it, so the patch rises; the C API stays 4.2, since nothing was added to speech.h but what a WebAssembly build refuses, and the worker's protocol stays 4. No model file changes, and the catalog is the same. docs/cli.md, docs/c-api.md and docs/worker.md name 0.11.1. Checked on an Apple M5 with this branch's build: speech --version gives "speech.cpp 0.11.1, C API 4.2". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The speech-wasm archive of main's CI run for 40ce36c, the code of this release, unpacked and served to headless Chrome 158 on an Apple M5, the medians of three runs of five requests on a minute of audio: the first and fifth requests at RTFx 480 and 680 without threads, 630 and 1100 with two, and 590 and 1580 with four, whose fifth request varies from 1250 to 1610 between runs; module start, load time and memory as before within a millisecond. speech vad of this branch on the same CPU: 0.090 s with one thread and 0.041 s with four. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
VERSION is 0.11.1, and docs/cli.md, docs/c-api.md and docs/worker.md name it.
The release adds speech.cpp in the browser (#225, #226, #227, #228):
speech-0.11.1-wasm.zipbeside the four archives, with the C API built for WebAssembly on one thread and with threads,speech.mjs, the page that runs Silero VAD on a WAVE file, andserve.py. No existing caller must change for it, so the patch rises. The C API stays 4.2:speech.hgained no function, option or value, only the words that a WebAssembly build refuses more threads than it starts. The worker's protocol stays 4. No model file changes on Hugging Face, and the catalog is the same.docs/browser.md gives the browser's numbers measured again with the archive main's CI built for this code (run 44781694050), unpacked and served to headless Chrome 158 on an Apple M5, the medians of three runs: first and fifth requests on a minute of audio at RTFx 480 and 680 without threads, 630 and 1100 with two, 590 and 1580 with four;
speech vadnatively 0.090 s on one thread and 0.041 s on four. No other number moved: nothing native changed in speed.Checked
wasm_browser_smoke.mjson main's archive, without threads and with two and four, three times each: every region equal tospeech vad's.speech --versiongivesspeech.cpp 0.11.1, C API 4.2with this branch's build on an Apple M5.🤖 Generated with Claude Code