You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A stripped down, simplified version of your source code that exhibits the issue. Or, preferably, try to reproduce the problem with one of the public samples in this repository (or a minimally modified version of it), and share the code.
val speechSynthesizer =SpeechSynthesizer(SpeechConfig.fromEndpoint(URI.create("your endpoint")).apply {
setSpeechSynthesisOutputFormat(SpeechSynthesisOutputFormat.Riff16Khz16BitMonoPcm)
speechSynthesisLanguage ="en"
speechSynthesisVoiceName ="en-CA-ClaraNeural"
})
speechSynthesizer.SynthesisCompleted.addEventListener { _, e ->Log.d("SpeechSynthesizer","SynthesisCompleted::audioDataSize=${e.result.audioData.size}")
}
speechSynthesizer.StartSpeakingTextAsync("**")
Describe the bug
There is no audio output when using speechSynthesisLanguage = "en" and certain speechSynthesisVoiceName to synthesize more than one contiguous * characters
speechSynthesisVoiceName
Result
en-CA-ClaraNeural
Failed
en-CA-LiamNeural
Failed
en-HK-SamNeural
Failed
en-HK-YanNeural
Failed
en-NG-AbeoNeural
Failed
en-NG-EzinneNeural
Failed
en-PH-JamesNeural
Failed
en-PH-RosaNeural
Failed
en-SG-LunaNeural
Failed
en-SG-WayneNeural
Failed
en-TZ-ElimuNeural
Failed
en-TZ-ImaniNeural
Failed
en-US-ChristopherNeural
Failed
en-US-JennyNeural
Failed
en-ZA-LeahNeural
Failed
en-ZA-LukeNeural
Failed
en-AU-NatashaNeural
Succeed
en-AU-WilliamNeural
Succeed
en-IE-ConnorNeural
Succeed
en-IE-EmilyNeural
Succeed
en-IN-NeerjaNeural
Succeed
en-IN-PrabhatNeural
Succeed
en-KE-AsiliaNeural
Succeed
en-KE-ChilembaNeural
Succeed
en-NZ-MitchellNeural
Succeed
en-NZ-MollyNeural
Succeed
en-GB-RyanNeural
Succeed
en-GB-SoniaNeural
Succeed
Expected behavior
Received correct audio data for synthesizing more than one contiguous * characters
Version of the Cognitive Services Speech SDK
1.41.1
Platform, Operating System, and Programming Language
OS: Android, iOS
Hardware - arm64-v8a
Programming language: Kotlin, Swift
The text was updated successfully, but these errors were encountered:
Describe the bug
There is no audio output when using
speechSynthesisLanguage = "en"
and certainspeechSynthesisVoiceName
to synthesize more than one contiguous * charactersExpected behavior
Received correct audio data for synthesizing more than one contiguous * characters
Version of the Cognitive Services Speech SDK
1.41.1
Platform, Operating System, and Programming Language
The text was updated successfully, but these errors were encountered: