Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,763 members, 7,955,909 topics. Date: Sunday, 22 September 2024 at 06:22 PM |
Nairaland Forum / Science/Technology / Programming / Simple Text-To-Speech Program using Vbscript. Do It Yourself. (1674 Views)
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)
(1) (Reply)
Simple Text-To-Speech Program using Vbscript. Do It Yourself. by Nobody: 10:08am 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 |
The code:
1 Like |
(1) (Reply)
Where To Learn Software Development And Engineering In Abuja On Part Time / An Abuja Based Firm Is In Need Of A Developer / How Much Would You Charge To Create A Ride Sharing Application Like Uber
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 13 |