private void TestBtn_Click(object sender, RoutedEventArgs e) { tsh.SpeakAsync(TestSrcText.Text); Common.appSettings.ttsVoice = (string)TTSSourceCombox.SelectedValue; Common.appSettings.ttsVolume = (int)VolumeBar.Value; Common.appSettings.ttsRate = (int)RateBar.Value; }
private void TTS_Item_Click(object sender, RoutedEventArgs e) { _textSpeechHelper.SpeakAsync(_currentsrcText); }
private void TTS_Btn_Click(object sender, RoutedEventArgs e) { _textSpeechHelper.SpeakAsync(sourceWord); }