-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Description
Add Microsoft Azure Cognitive Services Text-to-Speech as a second TTS backend.
Provider is auto-detected from API key format (same mechanism as STT).
Why
- For Players who want Azure neural voices
- Zero config for users
- Full backwards compatibility with existing GoogleTTS
Acceptance criteria
- Implement
elite.intel.ai.mouth.MouthInterfacein new classAzureTTS - Singleton, zero DI – exact same pattern as
GoogleTTS - Dynamically loaded via
elite.intel.ai.ApiFactoryusingKeyDetector.detectProvider(apiKey, "TTS") - Full support for
elite.intel.ai.mouth.AiVoicesenum with on-the-fly voice switching - Properly fire
IsSpeakingEvent(true/false)via EventBusManager to block STT while speaking - No Python, no JNI, no native packages → pure Azure Java SDK only
- Works on Windows and Linux
- Builds and runs with
./gradlew runand fat-jar - Provide temporary Azure key to maintainer for CI testing
Useful links
- Azure Speech SDK Java: https://central.sonatype.com/artifact/com.microsoft.cognitiveservices.speech/client-sdk
- TTS quickstart: https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/quickstart/java/jre/text-to-speech/src/TextToSpeech.java
Difficulty: Medium (mirror GoogleTTS + voice list handling)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed