Add a simple text to speech example
This commit is contained in:
6
text_to_speech/piper_welcome.sh
Normal file
6
text_to_speech/piper_welcome.sh
Normal 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
|
||||
Reference in New Issue
Block a user