Код: Выделить всё
// update the status
UpdateStatus("Generating audio");
// create the wav file
ss.Volume = 75;
ss.SelectVoice("VW Julie");
// Generate the Audio file
ss.SetOutputToWaveFile(audio);
int i = 0;
var pronounce = "This is a test sentence"
while (i < 5)
{
ss.Speak(".................." + pronounce);
i++;
}
Подробнее здесь: https://stackoverflow.com/questions/452 ... utput-file
Мобильная версия