Skip to content

Instantly share code, notes, and snippets.

@ChrisSwanson
Created September 14, 2021 14:58
Show Gist options
  • Save ChrisSwanson/1078c94d6a4270ce162c44b2e0125895 to your computer and use it in GitHub Desktop.
Save ChrisSwanson/1078c94d6a4270ce162c44b2e0125895 to your computer and use it in GitHub Desktop.
Listen and Test Mac Voices
#!/bin/bash
# say -v ? lists the voices available
for voice in $(say -v ? | awk '{ print $1 }')
do
echo "==> ${voice}"
say -v $voice "hello this is ${voice}"
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment