mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
bugfix: synthesizer properties in the say verb were being ignored
This commit is contained in:
@@ -24,9 +24,9 @@ class TaskSay extends Task {
|
|||||||
const filepath = (await Promise.all(this.text.map(async(text) => {
|
const filepath = (await Promise.all(this.text.map(async(text) => {
|
||||||
const fp = await synthAudio({
|
const fp = await synthAudio({
|
||||||
text,
|
text,
|
||||||
vendor: cs.speechSynthesisVendor,
|
vendor: this.synthesizer.vendor || cs.speechSynthesisVendor,
|
||||||
language: cs.speechSynthesisLanguage,
|
language: this.synthesizer.language || cs.speechSynthesisLanguage,
|
||||||
voice: cs.speechSynthesisVoice,
|
voice: this.synthesizer.voice || cs.speechSynthesisVoice,
|
||||||
salt: cs.callSid
|
salt: cs.callSid
|
||||||
}).catch((err) => this.logger.error(err, 'Error synthesizing text'));
|
}).catch((err) => this.logger.error(err, 'Error synthesizing text'));
|
||||||
if (fp) cs.trackTmpFile(fp);
|
if (fp) cs.trackTmpFile(fp);
|
||||||
|
|||||||
Reference in New Issue
Block a user