Latest News

Make your own text to speech programme

Please perform the following steps:
1.Copy the below code and pest it on the notepad and do save as voice.bat
2.You must save this code in '.bat' extinction
3.Run the  voice.bat file

@echo off
title Text to Speech Conversion
color 0a

rem The user decides what to convert here
:input
cls
echo What do you want the computer to convert into speech?
echo.
set /p text=

rem Making the temp file
:num
set num=%random%
if exist temp%num%.vbs goto num
echo ' > "temp%num%.vbs"
echo set speech = Wscript.CreateObject("SAPI.spVoice") >> "temp%num%.vbs"
echo speech.speak "%text%" >> "temp%num%.vbs"
start temp%num%.vbs
pause
del temp%num%.vbs
goto input

No comments:

Post a Comment

Techno Solutions / Find Jobs / Earn Money Online Copyright © 2015 , Designed By Niraj Gautam

Theme images by Bim. Powered by Blogger.