Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no audio output when using certain SpeechSynthesisVoiceName to synthesize ** characters #2697

Open
Zhangbao-Yan opened this issue Dec 10, 2024 · 1 comment
Labels
update needed For items that are in progress but have not been updated

Comments

@Zhangbao-Yan
Copy link

  • 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
Copy link

This item has been open without activity for 19 days. Provide a comment on status and remove "update needed" label.

@github-actions github-actions bot added the update needed For items that are in progress but have not been updated label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
update needed For items that are in progress but have not been updated
Projects
None yet
Development

No branches or pull requests

1 participant