Build speech-to-text into the bridge; add droplet deployment examples
STT_PROVIDER now defaults to "builtin": Whisper (onnx-community/whisper-base, q8) runs in the bridge process on the CPU via @huggingface/transformers, so no provider account is needed and recordings stay on the bridge host. Silent captures are detected by level before the model runs. The external OpenAI-compatible adapter remains available. Tests: 130 unit/integration; 4 scenarios with the real model on a real speech recording (npm run test:real-stt). Not tested on audio from the glasses or on a droplet. deploy/ and docs/deploy-droplet.md are examples that have not been run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# Speech fixture
|
||||
|
||||
`jfk.wav`: 11 seconds of John F. Kennedy's 1961 inaugural address, 16 kHz mono 16-bit PCM.
|
||||
A work of the United States government (public domain), taken from the sample set distributed
|
||||
with whisper.cpp (`samples/jfk.wav`). Expected words: "ask not what your country can do for you,
|
||||
ask what you can do for your country".
|
||||
|
||||
It is a clean studio-quality recording. It says nothing about how well the glasses microphone,
|
||||
a noisy street, or any particular accent will transcribe.
|
||||
Reference in New Issue
Block a user