Add a simple text to speech example

This commit is contained in:
2024-12-14 14:39:38 +01:00
parent bb3b92972d
commit 74c2b8a34d
7 changed files with 34 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
SCRIPT_DIR=$(dirname "$(readlink -f "$BASH_SOURCE")")
echo 'Welcome to the world of speech synthesis!' | piper \
--model en_US-lessac-medium \
--output_file $SCRIPT_DIR/welcome.wav \
--download-dir $SCRIPT_DIR/models