2019.5.23 • Published 5 years ago

mac-speech-cache v2019.5.23

Weekly downloads
-
License
Unlicense
Repository
-
Last release
5 years ago

npm.io

macOS speech cache

Installation

$ [sudo] npm i -g mac-speech-cache

How it works

~/Library/Caches/speech-cache/<hash>.aiff

Scripts usage

commandusage
speech-cacheusage: 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