Note that there are some explanatory texts on larger screens.

plurals
  1. POMicrosoft Speech Object Library - Client or server?
    text
    copied!<p>I know you can use Microsoft Speech Object Library for asp.net sites. But does that depend on the client, or does it come from the server? I want to know if the client is dependent at all on using it like Macs or Linux?</p> <pre><code>using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using SpeechLib; using System.Threading; namespace ARIES.Web.Controllers { public class HomeController : Controller { public static SpVoice speach; public ActionResult Index() { ViewBag.Message = "Welcome to ASP.NET MVC!"; speach = new SpVoice(); //speach.Speak("This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test ", SpeechVoiceSpeakFlags.SVSFDefault); speach.Speak("This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test", SpeechVoiceSpeakFlags.SVSFlagsAsync); //speach.WaitUntilDone(Timeout.Infinite); return View(); } public void Stop() { speach.Pause(); speach = new SpVoice(); speach.Speak("Stopped", SpeechVoiceSpeakFlags.SVSFlagsAsync); } } } </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload