TranslationRecognizer has stopped sending Synthesizing event in the past few days

Billy Lo 0 Reputation points
2024-11-24T07:56:39.8066667+00:00

My existing code (C#) has been using Microsoft.CognitiveServices.Speech SDK (1.41.1) to perform speech translation with voice synthesis successfully in the past 3 months.

In the past few days, the Synthesizing event has stopped firing. (Other events such as Recognized are all fine.)

Can you please share any ideas on how to make it work again?

thanks. Billy.


var config = SpeechTranslationConfig.FromEndpoint(endpointUrl, SPEECH__SERVICE__KEY);
var audioConfig = AudioConfig.FromDefaultMicrophoneInput();
var autoDetectSourceLanguageConfig = AutoDetectSourceLanguageConfig.FromOpenRange();

var translationRecognizer = new TranslationRecognizer(config, autoDetectSourceLanguageConfig, audioConfig);

translationRecognizer.Synthesizing += (s, e) => {
	Debug.WriteLine("Synthesizing event.");
	// process audio
};


await translationRecognizer.StartContinuousRecognitionAsync().ConfigureAwait(true);
Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,819 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.