Simple Text-To-Speech Program using Vbscript. Do It Yourself. - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Simple Text-To-Speech Program using Vbscript. Do It Yourself. (1802 Views)
1 Reply
| Simple Text-To-Speech Program using Vbscript. Do It Yourself. by Nobody: 10:08am On Feb 25, 2016*. Modified: 1:18pm On Feb 25, 2016 |
I assume you know what a Text-To-Speech program does. We are simply going to use SAPI (Speech Application Programming Interface), a Microsoft API for speech recognition on windows. Let's dive right in: Get yourself acquainted, Dim is used to set a variable in vbscript, multiple variables can be declared with commas in front of them. Eg: dim one, two, three is the same as dim one, dim two, dim three. Single quotes are what I used for commenting. Any thing that starts with a single quote is not part of the code. Update: I have not run that yet because I did the coding on my android tablet but I'm pretty sure it will work.. Plus make sure you save the code with a .vbs extension If you are having problems copying the code, download it at http://pastebin.com/YJFw8MFC Update 2: Just found an error on the If Not statement... |
| Re: Simple Text-To-Speech Program using Vbscript. Do It Yourself. by Nobody: 10:10am On Feb 25, 2016*. Modified: 10:50am On Feb 25, 2016 |
The code:
|
Text To Voice Call Adverts At Www.text2voiceads.com/call @60 Naira • How To Create A Text To Speech Software With Notepad • Joomla: How To Link A Text To A Definite Joomla Category • 2 • 3 • 4
I Need A Competent Website Builder • Python Programmers' Lounge • CCNA Self-training