Hello CodeCall ..
Today i'm gonna show you how to make Text Speecher
i think you understand ... something that you write ,click SPEECH and there will speech that what you write ..
The Program is too simple to build , finally will look like this ..
All you need are :
-A Text Box
-2 Command Button
The Text Box size like in photo
the CommandButton1 rename with SPEECH and the Code is
Code:Dim SAPI SAPI = CreateObject("SAPI.spvoice") SAPI.Speak(Textbox1.text)
The Commanbutton2 rename with Exit and the code is
Code:End
Best Wishes ,
mendim.
Perhaps you could explain what SAPI is, the parameters you are able to pass to speak() (optional and require, the types, etc) and what "SAPI.spvoice" is. I'm viewing this from a beginners perspective and after using your code I wouldn't know anything more about it than what I did before reading.
I have forgotten to answer this question :$
The Speech Application Programming Interface or SAPI is an API developed by Microsoft to allow the use of speech recognition and speech synthesis within Windows applications.
What params does/can it take to initiate it?
I really don't understand nothing that you're asking but .. this programs works ..
cause it connect with the SAPI that is on Windows and makes the Voice..![]()
Here, allow me.
The Speech Application Programming Interface (SAPI for short) is an API that uses Microsoft's built-in speech reading tools to read out text.
In this tutorial, mendim late-binded an object to the variable, so it is impossible to tell from the IntelliSense drop-down lists which members (methods and properties) the API accepts. For this, you need to consult the MSDN documentation. If you wish to import the API, it is available at C:\Program Files\Microsoft Speech SDK 5.3\Lib\i386\sapi.lib.
SAPI Object classes (SAPI 5.3)
lol ,
Thnxx XAV for info .![]()
Thank YouGood TutorialCode:mendim.![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks