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. i need this for a text to speech in a web application.
10x alot.
Seem this API just supports Visual Basic and you can't apply it in your c# code. But altermatively, you can try System.Speech Namespaces which contain types that support speech recognition.
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:
do you have any idea what method should i use to find the current byte offset of the current being read word?
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:
restlessoul
Member
2 Points
17 Posts
how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ?
Apr 04, 2012 06:33 AM|LINK
I need to implement the ISpeechPhraseElement so that i can use the AusioStreamOffset
http://msdn.microsoft.com/en-us/library/ee125345(v=vs.85).aspx
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. i need this for a text to speech in a web application.
10x alot.
cs text to speech
Mamba Dai - ...
All-Star
23531 Points
2683 Posts
Microsoft
Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ?
Apr 09, 2012 03:33 AM|LINK
Hi,
Seem this API just supports Visual Basic and you can't apply it in your c# code. But altermatively, you can try System.Speech Namespaces which contain types that support speech recognition.
http://msdn.microsoft.com/en-us/library/gg145021.aspx
Bwt, the both references may be helpful to you:
http://msdn.microsoft.com/en-us/library/ms720176(v=VS.85).aspx
http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/75d83177-a058-483e-be84-3dc96dec7cef
Feedback to us
Develop and promote your apps in Windows Store
restlessoul
Member
2 Points
17 Posts
Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ?
Apr 09, 2012 09:26 PM|LINK
thanks alot i will try and use the following links :)
restlessoul
Member
2 Points
17 Posts
Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ?
Apr 10, 2012 07:45 AM|LINK
the interface you told me to use are for speech recognition, are they good too for text to speech?
Mamba Dai - ...
All-Star
23531 Points
2683 Posts
Microsoft
Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ?
Apr 11, 2012 03:59 AM|LINK
Hi,
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:
http://msdn.microsoft.com/en-us/library/ms720177(v=vs.85).aspx
More useful references about converting text to speech please have a check carefully:
http://www.c-sharpcorner.com/UploadFile/ssrinivas/TextToSpeechConversioninCSharp11222005060134AM/TextToSpeechConversioninCSharp.aspx
http://stackoverflow.com/questions/1716447/creating-a-asp-net-application-converting-text-to-speech
http://social.msdn.microsoft.com/forums/en-US/winforms/thread/0ee642fb-625b-4612-b08e-255356279c6d
Feedback to us
Develop and promote your apps in Windows Store
Paul Linton
Star
13431 Points
2535 Posts
Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ?
Apr 11, 2012 07:40 AM|LINK
The example given is in VB but the code doesn't look very complicated. Have you tried writing C# code? What problem do you have?
restlessoul
Member
2 Points
17 Posts
Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ?
Apr 11, 2012 02:44 PM|LINK
yes i tried but i cant refernce to the methods like he is doing in the vb examples.
Mamba Dai - ...
All-Star
23531 Points
2683 Posts
Microsoft
Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ?
Apr 12, 2012 08:28 AM|LINK
Hi,
Please check my replies.
Feedback to us
Develop and promote your apps in Windows Store
restlessoul
Member
2 Points
17 Posts
Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ?
Apr 12, 2012 07:04 PM|LINK
do you have any idea what method should i use to find the current byte offset of the current being read word?
Mamba Dai - ...
All-Star
23531 Points
2683 Posts
Microsoft
Re: how to Implement the ISpeechPhraseEement from sapi 5.1 in c# ?
Apr 13, 2012 06:07 AM|LINK
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:
http://www.microsoft.com/download/en/details.aspx?id=27226
And some posts discussed the relevant topic:
http://stackoverflow.com/questions/1716447/creating-a-asp-net-application-converting-text-to-speech
http://stackoverflow.com/questions/1022356/text-to-speech-in-asp-net-access-is-denied-what-to-do
Feedback to us
Develop and promote your apps in Windows Store