Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.speech.live

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.
raw docstring

*open-decoder*clj

Decoder factory. Tests replace native inference, not the stream lifecycle.

Decoder factory. Tests replace native inference, not the stream lifecycle.
sourceraw docstring

abort-asr!clj

(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.
sourceraw docstring

asr-statusclj

(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.
sourceraw docstring

capabilitiesclj

(capabilities)

Report local asset readiness without downloads or native model loading.

Report local asset readiness without downloads or native model loading.
sourceraw docstring

feed-asr!clj

(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.
sourceraw docstring

finish-asr!clj

(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.
sourceraw docstring

max-samplesclj

The longest utterance of the voice contract, in mono samples.

The longest utterance of the voice contract, in mono samples.
sourceraw docstring

open-asr!clj

(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.
sourceraw docstring

prepare!clj

(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.
sourceraw docstring

synthesize-stream!clj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close