Created
June 14, 2014 10:41
-
-
Save leso-kn/0ecc199c80f7b1482d99 to your computer and use it in GitHub Desktop.
A simple script for TextToSpeech. (Installed speechsynthesizer)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'You Need to Add a reference to System.Speech | |
'Just click Project->Add Reference->.Net Tab->System.Speech from the list->OK | |
Imports System.Speech | |
Public Voice As New Synthesisis.SpeechSynthesizer | |
Public Sub Say(ByVal Text As String) | |
Voice.Speak(Text) | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment