initial changes to support nuance speech (#78)

* initial changes to support nuance speech

* fixes from testing
This commit is contained in:
Dave Horton
2022-10-31 09:59:36 -04:00
committed by GitHub
parent 8d303390b7
commit 46eee0cc60
5 changed files with 93 additions and 10 deletions
+12
View File
@@ -5,6 +5,16 @@ const AWS = require('aws-sdk');
const bent = require('bent');
const fs = require('fs');
const testNuanceTts = async(logger, getTtsVoices, credentials) => {
const voices = await getTtsVoices({vendor: 'nuance', credentials});
return voices;
};
const testNuanceStt = async(logger, credentials) => {
//TODO
return true;
};
const testGoogleTts = async(logger, credentials) => {
const client = new ttsGoogle.TextToSpeechClient({credentials});
await client.listVoices();
@@ -127,4 +137,6 @@ module.exports = {
testMicrosoftTts,
testMicrosoftStt,
testWellSaidStt,
testNuanceTts,
testNuanceStt
};