Sinisterly
How To Convert Text Into Audio Using Notepad - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: How To Convert Text Into Audio Using Notepad (/Thread-How-To-Convert-Text-Into-Audio-Using-Notepad--35153)



How To Convert Text Into Audio Using Notepad - barhoumti - 08-01-2011

1) Open Notepad , and copy/paste following code

Dim msg, sapi
msg=InputBox("Enter your text for conversion","Text-To-Audio Converter")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg

2) Save as your_file_name.vbs


3)Now open the saved file and key in the text you want to convert and click OK.


RE: How To Convert Text Into Audio Using Notepad - 1234hotmaster - 08-01-2011

nice share but i think this is called "Text to Speech" not test into audio i thought its a method to write .wav files using codes by the title Tongue


RE: How To Convert Text Into Audio Using Notepad - DeffoN - 08-01-2011

Cool Smile
Smile
i have heard about this on another site ( do no remember where)
Master when you got free time PM me for dota Smile
if you want Smile
my gg acc: deffoN


RE: How To Convert Text Into Audio Using Notepad - blowdoof - 08-04-2011

must make a note that this will only work for some languages (i know english works, dutch fe will not). If primary language is set to a non-supported language, the speech api will fail.


RE: How To Convert Text Into Audio Using Notepad - Shining White - 08-04-2011

Already new that but nice share Biggrin