public SpeechLib.SpVoice vox = new SpVoiceClass();public void Button1_Click(object sender, EventArgs e)
{
vox.Speak(Text1.Text, SpeechVoiceSpeakFlags.SVSFlagsAsync);
vox.Viseme +=new _ISpeechVoiceEvents_VisemeEventHandler(this.vox_Viseme);
}public void vox_Viseme(long StreamNumber, object StreamPosition, long Duration, SpeechLib.SpeechVisemeType NextVisemeId, SpeechLib.SpeechVisemeFeature Feature, SpeechLib.SpeechVisemeType CurrentVisemeId)
{
Label1.Text = Label1.Text + CurrentVisemeId + " ";}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货