ibm speech fix

This commit is contained in:
Dave Horton
2022-12-04 11:26:26 -05:00
parent 2cc3140de0
commit 39fb762a15
5 changed files with 33 additions and 18 deletions

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);