Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Speech SDK 10.2

Status
Not open for further replies.

JERRYFOOTE

Programmer
Aug 5, 2002
8
US
Anyone had any success with the latest MS SPEECH SDK 10.2 and windows 7.
I need some samples of code in VB.
Thanks Jerry
 
I found the textaloud system very easy in VB6
Their natural voices are very good with a variety or accents as they originated as real people.
(They seem to be the only one with a real English and Australian accent)
 
If you would be so kind as to furnishing me some sample code I would sincerely appreciate. I have not been able to find any sample code from microsoft.
Thanks Jerry
 
>the latest MS SPEECH SDK 10.2

Just to be pedantic, I wasn't aware that such a product existed. There is, however, the Microsoft Speech Server Platform SDK 10.2, much of which is not useable from classic VB. However it does include the Speech API (SAPI), currently at version 5.4, which is automatable. This is documented pretty comprehensively in the downloadable help file that accompanies the 10.2 SDK, in the Microsoft Speech Platform API section, under Automation.

It's pretty easy to use. Once you have added a reference to SAPI to your VB application, you can for example speak as easily as this:
Code:
[blue]    Dim myVoice As SpVoice
    
    Set myVoice = New SpVoice
    myVoice.Speak "Gosh, that was easy!"[/blue]
I have to admit that I have not tried this on W7 (since I'm not currently near my W7 box), but it should work fine.

>I have not been able to find any sample code from microsoft

ted's recommendation is for TextAloud which is not a Microsoft product (but it does have some pretty impressive voices) ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top