Skip to content

Instantly share code, notes, and snippets.

@leso-kn
Created June 14, 2014 10:41
Show Gist options
  • Save leso-kn/0ecc199c80f7b1482d99 to your computer and use it in GitHub Desktop.
Save leso-kn/0ecc199c80f7b1482d99 to your computer and use it in GitHub Desktop.
A simple script for TextToSpeech. (Installed speechsynthesizer)
'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