Showing posts with label code. Show all posts
Showing posts with label code. Show all posts

2020-12-26

Make a Simple Text to Speech Windows Programs

Have you ever wanted to make your own text to speech program? Well you can use the following code to make a visual basics script program to turn your typing into speech using Microsoft SAPI.

1
2
3
4
Dim Message, Speak
Message=InputBox("Enter your text","Text to Speech")
Set Speak=CreateObject("sapi.spvoice")
Speak.Speak Message

Just open notepad and copy this text. Save with whatever name you want, as long as it ends with the .vbs file extension. Then just double-click on the icon to open the program. The program gives you a text box where you can type what you want it to say.

Give Some Support By Subscribing on YouTube

ads

My Thoughts of FUNA's Anime Adaptations

The Evolution of Funa’s Isekai: A Retrospective on Three Anime Adaptations The Isekai genre is a staple of modern anime, but few authors hav...