RosettaCodeData/Task/Speech-synthesis/VBScript/speech-synthesis.vb

5 lines
129 B
VB.net
Raw Permalink Normal View History

2013-04-11 01:07:29 -07:00
Dim message, sapi
message = "This is an example of speech synthesis."
Set sapi = CreateObject("sapi.spvoice")
sapi.Speak message