public virtual Stream TextToSpeech(string text, SpeechLocaleOptions locale, VoiceName voiceName, GenderOptions voiceType, AudioOutputFormatOptions outputFormat) { var response = RepositoryClient.GetAudioStream( ApiKeys.SpeechEndpoint, text, locale, voiceName, voiceType, outputFormat, GetSpeechToken()); return(response); }