talk : talk with AI in the terminal

This commit is contained in:
Georgi Gerganov
2022-12-09 20:38:10 +02:00
parent d1da35de06
commit 3b1aacbe6d
14 changed files with 1753 additions and 5 deletions

17
examples/talk/speak.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
# Usage:
# speak.sh <voice_id> <text-to-speak>
# espeak
# Mac OS: brew install espeak
# Linux: apt-get install espeak
#
espeak -v en-us+m$1 -s 175 -p 50 -a 200 -g 5 -k 5 "$2"
# Eleven Labs
#
#wd=$(dirname $0)
#script=$wd/eleven-labs.py
#python3 $script $1 "$2"
#ffplay -autoexit -nodisp -loglevel quiet -hide_banner -i ./audio.mp3