Getting list of Mac text-to-speech voices programmatically?
for voice in `say -v '?' | awk '{print $1}'`; do say -v "$voice" "Hello, my name is $voice."; done
This is the list of available voices:
say -v '?'
for voice in `say -v '?' | awk '{print $1}'`; do say -v "$voice" "Hello, my name is $voice."; done
This is the list of available voices:
say -v '?'