I have the following code snippet in an ASP.NET app (non Silverlight)
string sText = "Test text";
SpeechSynthesizer ss = new SpeechSynthesizer();
MemoryStream ms = new MemoryStream();
ss.SetOutputToWaveStream(ms);
ss.Speak(sText);
//Need to send the ms Memory stream to the user for listening/downloadin
How do I:
Play this file on the browser
Prompt for the user to download a wav file?
Can anyone help with completing the code?
EDIT: Any help is appreciated.