mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 00:58:34 +00:00
feat override synthesizer options from config
This commit is contained in:
@@ -68,6 +68,12 @@ class TaskSay extends Task {
|
|||||||
const salt = cs.callSid;
|
const salt = cs.callSid;
|
||||||
|
|
||||||
let credentials = cs.getSpeechCredentials(vendor, 'tts', label);
|
let credentials = cs.getSpeechCredentials(vendor, 'tts', label);
|
||||||
|
|
||||||
|
// override Synthesizer options from config verb
|
||||||
|
if (cs.synthesizer && cs.synthesizer.options) {
|
||||||
|
this.options = cs.synthesizer.options;
|
||||||
|
}
|
||||||
|
|
||||||
/* parse Nuance voices into name and model */
|
/* parse Nuance voices into name and model */
|
||||||
let model;
|
let model;
|
||||||
if (vendor === 'nuance' && voice) {
|
if (vendor === 'nuance' && voice) {
|
||||||
|
|||||||
Reference in New Issue
Block a user