我正在尝试使用从 codeplex 获得的 WP 语音库,现在代码很好,没有错误,但是没有语音输出!
using wpSpeech;
namespace TalkForMe
{
public partial class MainPage : PhoneApplicationPage
{
// Constructor
public MainPage()
{
InitializeComponent();
}
private void button1_Click(object sender, RoutedEventArgs e)
{
SpeechTTS spk;
spk = new SpeechTTS ( textBox1.Text);
spk.SpeakLanguage = "en";
spk.SpeakText(textBox1.Text);
}
}
}