add elevenlabs multilingual. add tts debug method

This commit is contained in:
ouoertheo
2023-05-19 21:42:50 -05:00
parent 8889e5546e
commit bb1f22b42c
2 changed files with 29 additions and 0 deletions

View File

@ -162,6 +162,23 @@ function isTtsProcessing() {
return processing
}
function debugTtsPlayback() {
console.log(JSON.stringify(
{
"ttsProviderName": ttsProviderName,
"currentMessageNumber": currentMessageNumber,
"isWorkerBusy":isWorkerBusy,
"audioPaused": audioPaused,
"audioJobQueue": audioJobQueue,
"currentAudioJob": currentAudioJob,
"audioQueueProcessorReady": audioQueueProcessorReady,
"ttsJobQueue": ttsJobQueue,
"currentTtsJob": currentTtsJob,
}
))
}
window.debugTtsPlayback = debugTtsPlayback
//##################//
// Audio Control //
//##################//