how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ?http://forums.asp.net/t/1788937.aspx/1?how+to+Implement+the+ISpeechPhraseEement+from+sapi+5+1+in+c+Fri, 20 Apr 2012 06:42:31 -040017889374915184http://forums.asp.net/p/1788937/4915184.aspx/1?how+to+Implement+the+ISpeechPhraseEement+from+sapi+5+1+in+c+how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ? <p>I need to implement the ISpeechPhraseElement so that i can use the AusioStreamOffset</p> <p>http://msdn.microsoft.com/en-us/library/ee125345(v=vs.85).aspx</p> <p>in c# so that i can get the current offset but i dont have any idea how i can do it as all example on the net are all made in vb. Ill be gratefull if someone put me in the right direction. &nbsp;i need this for a text to speech in a web application.<br> 10x alot.</p> 2012-04-04T06:33:54-04:004922122http://forums.asp.net/p/1788937/4922122.aspx/1?Re+how+to+Implement+the+ISpeechPhraseEement+from+sapi+5+1+in+c+Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ? <p>Hi,</p> <p>Seem this API just supports Visual Basic and you can't apply it in your c# code. But altermatively, you can try&nbsp; System.Speech Namespaces which contain types that support speech recognition.</p> <p><a href="http://msdn.microsoft.com/en-us/library/gg145021.aspx">http://msdn.microsoft.com/en-us/library/gg145021.aspx</a></p> <p>Bwt, the both references may be helpful to you:</p> <p><a href="http://msdn.microsoft.com/en-us/library/ms720176(v=VS.85).aspx">http://msdn.microsoft.com/en-us/library/ms720176(v=VS.85).aspx</a></p> <p><a href="http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/75d83177-a058-483e-be84-3dc96dec7cef">http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/75d83177-a058-483e-be84-3dc96dec7cef</a></p> 2012-04-09T03:33:41-04:004923747http://forums.asp.net/p/1788937/4923747.aspx/1?Re+how+to+Implement+the+ISpeechPhraseEement+from+sapi+5+1+in+c+Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ? <p>thanks alot i will try and use the following links :)</p> 2012-04-09T21:26:27-04:004924247http://forums.asp.net/p/1788937/4924247.aspx/1?Re+how+to+Implement+the+ISpeechPhraseEement+from+sapi+5+1+in+c+Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ? <p>the interface you told me to use are for speech recognition, are they good too for text to speech?</p> 2012-04-10T07:45:04-04:004925999http://forums.asp.net/p/1788937/4925999.aspx/1?Re+how+to+Implement+the+ISpeechPhraseEement+from+sapi+5+1+in+c+Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ? <p>Hi,</p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>restlessoul</h4> are they good too for text to speech?</blockquote> <p></p> <p>Try to use SimpleTTS for c#, it is an elementary application showcasing text-to-speech (TTS). The application speaks the text in the text box using a default voice:</p> <p><a href="http://msdn.microsoft.com/en-us/library/ms720177(v=vs.85).aspx">http://msdn.microsoft.com/en-us/library/ms720177(v=vs.85).aspx</a></p> <p>More useful references about converting text to speech please have a check carefully:</p> <p><a href="http://www.c-sharpcorner.com/UploadFile/ssrinivas/TextToSpeechConversioninCSharp11222005060134AM/TextToSpeechConversioninCSharp.aspx">http://www.c-sharpcorner.com/UploadFile/ssrinivas/TextToSpeechConversioninCSharp11222005060134AM/TextToSpeechConversioninCSharp.aspx</a></p> <p><a href="http://stackoverflow.com/questions/1716447/creating-a-asp-net-application-converting-text-to-speech">http://stackoverflow.com/questions/1716447/creating-a-asp-net-application-converting-text-to-speech</a></p> <p><a href="http://social.msdn.microsoft.com/forums/en-US/winforms/thread/0ee642fb-625b-4612-b08e-255356279c6d">http://social.msdn.microsoft.com/forums/en-US/winforms/thread/0ee642fb-625b-4612-b08e-255356279c6d</a><a href="http://code.msdn.microsoft.com/windowsdesktop/Text-to-Speech-Converter-0ed77dd5"></a></p> 2012-04-11T03:59:54-04:004926368http://forums.asp.net/p/1788937/4926368.aspx/1?Re+how+to+Implement+the+ISpeechPhraseEement+from+sapi+5+1+in+c+Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ? <p>The example given is in VB but the code doesn't look very complicated.&nbsp; Have you tried writing C# code?&nbsp; What problem do you have?</p> 2012-04-11T07:40:10-04:004927259http://forums.asp.net/p/1788937/4927259.aspx/1?Re+how+to+Implement+the+ISpeechPhraseEement+from+sapi+5+1+in+c+Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ? <p>yes i tried but i cant refernce to the methods like he is doing in the vb examples.</p> 2012-04-11T14:44:19-04:004928569http://forums.asp.net/p/1788937/4928569.aspx/1?Re+how+to+Implement+the+ISpeechPhraseEement+from+sapi+5+1+in+c+Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ? <p>Hi,</p> <p>Please check my replies.</p> 2012-04-12T08:28:13-04:004929836http://forums.asp.net/p/1788937/4929836.aspx/1?Re+how+to+Implement+the+ISpeechPhraseEement+from+sapi+5+1+in+c+Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ? <p>do you have any idea what method should i use to find the current byte offset of the current being read word?</p> 2012-04-12T19:04:28-04:004930415http://forums.asp.net/p/1788937/4930415.aspx/1?Re+how+to+Implement+the+ISpeechPhraseEement+from+sapi+5+1+in+c+Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ? <p></p> <blockquote><span class="icon-blockquote"></span> <h4>restlessoul</h4> <p></p> <p>do you have any idea what method should i use to find the current byte offset of the current being read word?</p> <p></p> </blockquote> <p></p> <p>This software development kit contains the documentation, development resources, tools and samples for development of speech applications that utilize the Microsoft Speech Platform Runtime 11:</p> <p><a href="http://www.microsoft.com/download/en/details.aspx?id=27226">http://www.microsoft.com/download/en/details.aspx?id=27226</a></p> <p>And some posts discussed the relevant topic:</p> <p><a href="http://stackoverflow.com/questions/1716447/creating-a-asp-net-application-converting-text-to-speech">http://stackoverflow.com/questions/1716447/creating-a-asp-net-application-converting-text-to-speech</a></p> <p><a href="http://stackoverflow.com/questions/1022356/text-to-speech-in-asp-net-access-is-denied-what-to-do">http://stackoverflow.com/questions/1022356/text-to-speech-in-asp-net-access-is-denied-what-to-do</a></p> 2012-04-13T06:07:53-04:004932673http://forums.asp.net/p/1788937/4932673.aspx/1?Re+how+to+Implement+the+ISpeechPhraseEement+from+sapi+5+1+in+c+Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ? <p>thanks alot :)</p> 2012-04-14T19:05:18-04:004933422http://forums.asp.net/p/1788937/4933422.aspx/1?Re+how+to+Implement+the+ISpeechPhraseEement+from+sapi+5+1+in+c+Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ? <p>thanks alot mamba dai i used the system.speech.synthesis to do the job in conjunction with speak progress so that i could see the offsets. thanks alot for you time :)</p> 2012-04-15T18:59:35-04:004942243http://forums.asp.net/p/1788937/4942243.aspx/1?Re+how+to+Implement+the+ISpeechPhraseEement+from+sapi+5+1+in+c+Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ? <p>can these apis be used for a web site?</p> 2012-04-20T06:42:31-04:00