Azure Speech Translation with language detection

Developer 5 Reputation points
2023-07-04T07:45:52.9133333+00:00

Hi,

we are using Speech Translation to translate audio from one language to another.

Everything is working fine if we set the source language using SpeechRecognitionLanguage.

Our problem is when we use the language detection. The translation is working fine, but we are not receiving the audio synthetized.

We have configurated the language detection with continuous recognition as the documentation said in here:

https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-identification?tabs=continuous&pivots=programming-language-csharp#speech-translation

We also have tried the sample shown in here https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/csharp/sharedcontent/console/translation_samples.cs#L472, and the result is the same. The events Recognizing and Recognized are triggered and we get the translation, but not the event Synthesizing, so no audio is received.

Is there something else we need in the configuration to make this work?

Is there any reason why we are not receiving the audio? is it not working for language identification?

Regards

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,071 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.