write comment
This commit is contained in:
parent
b3990ae6b9
commit
d0fd9bb5a1
1 changed files with 2 additions and 0 deletions
2
say.zsh
2
say.zsh
|
@ -8,6 +8,8 @@ parse_voice() {
|
||||||
local query="$1" chosen
|
local query="$1" chosen
|
||||||
[[ -n "$query" ]] || { echo "voice query required" >&2; exit 2; }
|
[[ -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=$(
|
chosen=$(
|
||||||
jq -r --arg root "$voices_dir" '
|
jq -r --arg root "$voices_dir" '
|
||||||
to_entries
|
to_entries
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue