Closed uezo closed 2 months ago
Add AzureSpeechController. You can use it by adding the following code after instantiate AIAvatar:
from aiavatar.speech.azurespeech import AzureSpeechController app.avatar_controller.speech_controller = AzureSpeechController( AZURE_SUBSCRIPTION_KEY, AZURE_REGION, device_index=app.output_device, # # Set params if you want to customize # speaker_name="en-US-AvaNeural", # speaker_gender="Female", # lang="en-US" )
The default speaker is en-US-JennyMultilingualNeural that support multi languages.
en-US-JennyMultilingualNeural
https://learn.microsoft.com/ja-jp/azure/ai-services/speech-service/language-support?tabs=tts
Add AzureSpeechController. You can use it by adding the following code after instantiate AIAvatar:
The default speaker is
en-US-JennyMultilingualNeural
that support multi languages.https://learn.microsoft.com/ja-jp/azure/ai-services/speech-service/language-support?tabs=tts