MicrosoftTranslatorServiceSpeak Method |
Returns stream of wav file generated by Translator Text API azure cognitive service.
Namespace: CMS.TranslationServicesAssembly: CMS.TranslationServices (in CMS.TranslationServices.dll) Version: 13.0.131
Syntax 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:
StreamSee Also