Bounded local speech streams. Call inference from a worker, never a socket thread.
Bounded local speech streams. Call inference from a worker, never a socket thread.
Decoder factory. Tests replace native inference, not the stream lifecycle.
Decoder factory. Tests replace native inference, not the stream lifecycle.
(abort-asr! {:keys [lock state decoder cancelled?] :as handle})Request native termination. Do not wait on an inference worker.
Request native termination. Do not wait on an inference worker.
(asr-status {:keys [state cancelled?]})Acknowledgement means native calls have exited and per-stream resources are closed.
Acknowledgement means native calls have exited and per-stream resources are closed.
(capabilities)Report local asset readiness without downloads or native model loading.
Report local asset readiness without downloads or native model loading.
(feed-asr! handle samples sample-offset)Feed consecutive PCM. Return a replacement partial only when a model window completes.
Feed consecutive PCM. Return a replacement partial only when a model window completes.
(finish-asr! {:keys [state] :as handle})Pad the last windows once. Return the same final on repeated calls.
Pad the last windows once. Return the same final on repeated calls.
The longest utterance of the voice contract, in mono samples.
The longest utterance of the voice contract, in mono samples.
(open-asr! {:keys [on-partial] limit :max-samples :or {limit max-samples}})Open one serialized ASR stream. Feed offsets count samples, not bytes.
Open one serialized ASR stream. Feed offsets count samples, not bytes.
(prepare!)(prepare! {:keys [cancelled?] :or {cancelled? (constantly false)}})Load installed models on a worker. Check cancellation between native constructors.
Load installed models on a worker. Check cancellation between native constructors.
(synthesize-stream! request)Generate committed speech through a bounded, blocking PCM consumer. No fallback or download occurs.
Generate committed speech through a bounded, blocking PCM consumer. No fallback or download occurs.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |