From cec204c0ad53067e7991737a08fc045b7183f849 Mon Sep 17 00:00:00 2001 From: sakasegawa Date: Sun, 22 Nov 2026 05:49:43 +0900 Subject: [PATCH] Release 0.11.2, with server_vad turns committed once silence_duration_ms has passed and recognized while that silence goes on VERSION is 0.11.2, and the docs that name the version say so: speech --version (now with C API 4.3), the notice of a newer release, speech_version() and the worker's ready. 0.11.2 carries #232, which pads the regions of transcription by regions in the tools so that an utterance is committed once silence_duration_ms of silence has followed its speech (500 ms with OpenAI's defaults, where Silero VAD's padding waited 600 ms), and #233, which adds speech_detection_ending() (C API 4.3) and reads an utterance to the end it would take while that silence goes on, so that its commit completes with that reading. On an Apple M5 over /v1/realtime, the median time from the end of speech to the completed transcript went from 0.79-0.80 s to 0.58-0.59 s with Qwen3-ASR 0.6B and from 0.96-1.00 s to 0.62-0.66 s with 1.7B. Checked: no file other than VERSION and the four docs names the release or the C API's version. Co-Authored-By: Claude Opus 5.5 --- VERSION | 2 +- docs/c-api.md | 2 +- docs/cli.md | 8 ++++---- docs/worker.md | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/VERSION b/VERSION index af88ba8..bc859cb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.11.1 +0.11.2 diff --git a/docs/c-api.md b/docs/c-api.md index 910b812..c080d1d 100644 --- a/docs/c-api.md +++ b/docs/c-api.md @@ -395,7 +395,7 @@ it concerns (an option's name, `text`, `audio`, `device`, `threads`, `name`, `pa other and for the pushes of its detections. A request is used by one thread at a time, but `speech_request_cancel()` may be called from any thread; a detection is used by one thread at a time. Information never changes once made and may be read from any thread. Separate models are independent. -- **Versions.** `speech_version()` gives the release the library was built from (`"0.11.1"`). `SPEECH_API_VERSION_MAJOR` +- **Versions.** `speech_version()` gives the release the library was built from (`"0.11.2"`). `SPEECH_API_VERSION_MAJOR` and `SPEECH_API_VERSION_MINOR`, and `speech_api_version_major()` and `speech_api_version_minor()` for a caller that loads the library at run time, give the API's version, 4.2. The major rises when a declaration changes in a way an existing caller notices, and the minor when a function, an option or an enum value is added. A program built against diff --git a/docs/cli.md b/docs/cli.md index 8caaf6e..b26c25f 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -93,9 +93,9 @@ speech info irodori-tts-mf as a line with a spinner and its seconds, and marks it when it is done. Colors are off with `NO_COLOR=1`. In a pipe or a file the same lines come without color, mark or spinner. - On Windows the command line is read as UTF-8, and stdin and stdout are binary. -- `speech --version` prints the release and the C API's version: `speech.cpp 0.11.1, C API 4.2`. +- `speech --version` prints the release and the C API's version: `speech.cpp 0.11.2, C API 4.3`. - On a terminal, a subcommand says on stderr when a later release is out, once it ends (`speech serve` as it starts): - `speech: speech.cpp 0.11.2 is out (this is 0.11.1); run speech update to install it`. It asks github.com at most once a + `speech: speech.cpp 0.11.3 is out (this is 0.11.2); run speech update to install it`. It asks github.com at most once a day, and only when stderr is a terminal, so a script or a program that starts `speech` never makes the request; the worker never asks. `SPEECH_NO_UPDATE_CHECK=1` turns it off. @@ -528,8 +528,8 @@ exits with the installer's status. `--check` only says whether a later release i ``` $ speech update -speech.cpp 0.11.2 is out (this is 0.11.1); running the installer -Downloading https://github.com/nyosegawa/speech.cpp/releases/download/v0.11.2/speech-0.11.2-macos-arm64-metal.zip +speech.cpp 0.11.3 is out (this is 0.11.2); running the installer +Downloading https://github.com/nyosegawa/speech.cpp/releases/download/v0.11.3/speech-0.11.3-macos-arm64-metal.zip ... ``` diff --git a/docs/worker.md b/docs/worker.md index 6f72de4..93c69b1 100644 --- a/docs/worker.md +++ b/docs/worker.md @@ -33,7 +33,7 @@ stdout, in UTF-8. ## Start ``` -out {"type":"ready","protocol":4,"version":"0.11.1","defaults":{"steps":8},"model":{...model information...}} +out {"type":"ready","protocol":4,"version":"0.11.2","defaults":{"steps":8},"model":{...model information...}} out {"type":"fatal","error":{"code":"model_file","option":null,"message":"..."}} ```