Skip to content

Commit

Permalink
feat google custom voice (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
xquanluu authored Oct 30, 2023
1 parent f41aae8 commit e653a62
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -488,11 +488,11 @@
"vendor": "string",
"label": "string",
"language": "string",
"voice": "string",
"voice": "string|object",
"fallbackVendor": "string",
"fallbackLabel": "string",
"fallbackLanguage": "string",
"fallbackVoice": "string",
"fallbackVoice": "string|object",
"engine": {
"type": "string",
"enum": ["standard", "neural"]
Expand Down
18 changes: 18 additions & 0 deletions test/jambonz-verb-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,24 @@ test("validate correct verbs", async (t) => {
"fallbackLabel": "label1",
"fallbackVoice": "voice"
}
},
"say": {
"text": "To speak to Sales press 1 or say Sales. To speak to customer support press 2 or say Support",
"synthesizer": {
"vendor": "google",
"language": "en-US",
"voice": {
"reportedUsage":"REALTIME",
"model":"path/to/model",
},
"fallbackVendor": "google",
"fallbackLanguage": "en-US",
"fallbackLabel": "label1",
"fallbackVoice": {
"reportedUsage":"REALTIME",
"model":"path/to/model",
}
}
}
},
{
Expand Down

0 comments on commit e653a62

Please sign in to comment.