mirror of
https://github.com/jambonz/speech-utils.git
synced 2026-01-25 02:08:26 +00:00
wip
This commit is contained in:
@@ -353,7 +353,8 @@ async function _synthMicrosoftByHttp(logger, {
|
||||
try {
|
||||
const post = bent('POST', 'buffer', {
|
||||
'X-Microsoft-OutputFormat': 'audio-16khz-128kbitrate-mono-mp3',
|
||||
'Content-Type': 'application/ssml+xml'
|
||||
'Content-Type': 'application/ssml+xml',
|
||||
'User-Agent': 'Jambonz'
|
||||
});
|
||||
const mp3 = await post(custom_tts_endpoint_url, content);
|
||||
return mp3;
|
||||
|
||||
Reference in New Issue
Block a user