ibm speech fix

This commit is contained in:
Dave Horton committed 2022-12-04 11:28:02 -05:00
1 parent 2cc3140de0
commit 39fb762a15
5 files changed
+33 -18

No files matched your search

+1 -1
View File
@@ -137,7 +137,7 @@ class TaskSay extends Task {
const salt = cs.callSid;
const credentials = cs.getSpeechCredentials(vendor, 'tts');
/* parse Nuance voces into name and model */
/* parse Nuance voices into name and model */
let model;
if (vendor === 'nuance' && voice) {
const arr = /([A-Za-z-]*)\s+-\s+(enhanced|standard)/.exec(voice);