Local voice output through sherpa-onnx Piper/VITS TTS.
Local voice output through sherpa-onnx Piper/VITS TTS.
~/.vis model path used when no env/config override is set.
~/.vis model path used when no env/config override is set.
Sharp default Piper voice selected for clarity and pleasant prosody.
Sharp default Piper voice selected for clarity and pleasant prosody.
(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.
(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.
(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:
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
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 |