diff --git a/say.zsh b/say.zsh index 1fb5e35..4963904 100755 --- a/say.zsh +++ b/say.zsh @@ -8,6 +8,8 @@ parse_voice() { local query="$1" chosen [[ -n "$query" ]] || { echo "voice query required" >&2; exit 2; } + # list all of the voice ids in the voices.json index + # and then fuzzily find the best match for the input voice model chosen=$( jq -r --arg root "$voices_dir" ' to_entries