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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TEXT TO SPEECH TOOL 1

Status
Not open for further replies.

NICKYSUWANDI

Programmer
Jan 8, 2004
80
ID
hi everybody,

i am searching for free text to speech tool, theres anyone can help me?

Thanks

Nicky
 
Go to MS and do a search on Speech API 5.1 sdk Download, and you should be able to get it.

Doesn't need to be installed on most XP but before XP you will need to install on the system.

Disgustingly simple to use.

Rob
 
i already had this Speech API 5.1 sdk.
Can You give short tutor how work with Speech API 5.1

Thanks

Nicky
 
Set a reference to the Speech Lib (COM Reference)
then
Code:
    Dim sApi As New SpeechLib.SpVoice
    sApi.Speak("This is to F ing easy!")
    sapi = nothing

Told you it was hard!

[smile]


Rob

PS I found my hints at PlanetSourceCode.com - another Great Website to keep at your fingertips.
 
Oh yeah..

There are about 4 voices you can select from.

The default is female and i kind of like it. But if it is only numerals and very simple words you need the last voice is really good.

The middle 2 are ok..
try
Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim s As New SpeechLib.SpVoice
        Dim t As SpeechLib.SpObjectToken

        For Each t In s.GetVoices
            s.Voice = t
            s.Speak("This is too F ing easy")
        Next

        s = Nothing
    End Sub

YOu will notice that the last one is what your children hear when you speak [smile]


Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top