Liking cljdoc? Tell your friends :D

com.blockether.vis.ext.foundation-voice.core

Local voice output through sherpa-onnx Piper/VITS TTS.

Local voice output through sherpa-onnx Piper/VITS TTS.
raw docstring

default-model-dirclj

~/.vis model path used when no env/config override is set.

~/.vis model path used when no env/config override is set.
sourceraw docstring

default-piper-voiceclj

Sharp default Piper voice selected for clarity and pleasant prosody.

Sharp default Piper voice selected for clarity and pleasant prosody.
sourceraw docstring

doctor-fnclj

(doctor-fn _environment)
source

ensure-model!clj

(ensure-model!)
(ensure-model! dir)
(ensure-model! dir progress-fn)

Download and extract the default Piper model if missing. Returns model dir.

Download and extract the default Piper model if missing. Returns model dir.
sourceraw docstring

model-dirclj

(model-dir)
source

model-dir-envclj

source

model-filesclj

(model-files)
(model-files dir)
source

model-installed?clj

(model-installed?)
(model-installed? dir)
source

model-statusclj

(model-status)
source

model-urlclj

source

parakeet-model-dir-envclj

source

piper-voiceclj

(piper-voice)
source

play-file!clj

(play-file! wav-file)
source

player-envclj

source

speak-answer-async!clj

(speak-answer-async! answer)

Synthesize and play answer after the caller has persisted the text answer. answer may be a plain string or canonical [:ir & nodes]; the downstream synthesize-file! projects to plain text on its own.

Synthesize and play `answer` after the caller has persisted the text answer.
`answer` may be a plain string or canonical `[:ir & nodes]`; the
downstream `synthesize-file!` projects to plain text on its own.
sourceraw docstring

synthesize-file!clj

(synthesize-file! text
                  {:keys [out-file speaker-id speed]
                   model-dir-option :model-dir
                   :or {speaker-id 0 speed 1.0}})

Synthesizes text to a WAV file with local Piper/VITS TTS.

Options:

  • :out-file required output WAV path
  • :speaker-id defaults to 0
  • :speed defaults to 1.0
  • :model-dir overrides VIS_PIPER_MODEL_DIR/default-model-dir
Synthesizes text to a WAV file with local Piper/VITS TTS.

Options:
- :out-file required output WAV path
- :speaker-id defaults to 0
- :speed defaults to 1.0
- :model-dir overrides VIS_PIPER_MODEL_DIR/default-model-dir
sourceraw docstring

voice-envclj

source

voice-extensionclj

source

voice-response-promptclj

(voice-response-prompt env)
source

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