Click or drag to resize
MicrosoftTranslatorServiceSpeak Method
Returns stream of wav file generated by Translator Text API azure cognitive service.

Namespace: CMS.TranslationServices
Assembly: CMS.TranslationServices (in CMS.TranslationServices.dll) Version: 13.0.131
Syntax
C#
public override Stream Speak(
	string text,
	string lang
)

Parameters

text
Type: SystemString
Text to speech
lang
Type: SystemString
Language in which the speech should be generated (if null or empty, automatic detection is used)

Return Value

Type: Stream
See Also