aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/say
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/say')
-rwxr-xr-x.local/bin/say5
1 files changed, 4 insertions, 1 deletions
diff --git a/.local/bin/say b/.local/bin/say
index cd9e07f..4537669 100755
--- a/.local/bin/say
+++ b/.local/bin/say
@@ -5,7 +5,10 @@ text=${1:-Nothing to say.}
[ "${1-}" = "echo" ] && $0 "${2-}" "${1-}" && exit;
-printf '%s' "$text" | larynx -q low > $audio
+printf '%s' "$text" |
+ piper \
+ --model "$HOME/.local/share/piper/voices/en_GB-jenny_dioco-medium.onnx" \
+ --output_file $audio
[ "${2-}" = "echo" ] &&
ffmpeg \