txt to video 发表于 2018-03-19 powershell code12$Sentence = "Who are you" (new-object -com SAPI.SpVoice).speak("$Sentence") c# code12345678910111213141516171819using System;using SpeechLib;using System.Windows.Forms;namespace WindowsFormsApplication1{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { SpVoice voice = new SpVoice(); voice.Speak(textBox1.Text); } }}