2019.5.23 • Published 5 years ago
mac-speech-cache v2019.5.23
macOS speech cache
Installation
$ [sudo] npm i -g mac-speech-cache
How it works
~/Library/Caches/speech-cache/<hash>.aiff
Scripts usage
command | usage |
---|---|
speech-cache | usage: speech-cache [-v voice] [-f in | message] |
Examples
# say "$@"
$ afplay "$(speech-cache "$@")"
make cache for multiple files and voices:
$ find . -name "*.txt" | xargs -I{} speech-cache -f {} -v Milena
$ find . -name "*.txt" | xargs -I{} speech-cache -f {} -v Yuri