Sunday, June 22, 2008
Robot’s speaking program
Main Title: Voice Interface
Project: Robot’s speaking program
Developer: Md. Redwanur Rahman
Location: Dhaka, Bangladesh
Date: 25 September, 2007
I am here to share knowledge with other. I am writing about voice interface codes.
Aim of this project
Write in text box whatever wants to learn pronunciation of English words. Robot can speaks to human using these codes.
Needed component
Sapi.dll file (if not download from Microsoft)
Program codes
'Need a sapi.dll library file
Public Speech As SpVoice
Private Sub Command1_Click()
Set Speech = New SpVoice
If Text1 = "" Then
MsgBox ("Dear put something in text box to speak"): Exit Sub
End If
Speech.Speak Text1.Text
End Sub
Private Sub Command2_Click()
Text1 = ""
End Sub
Private Sub Form_Unload(Cancel As Integer)
Unload Me
End Sub
Conclusion
These codes are generally used to speak English words with help of SAPI. I used it to speak my robot “Bangla Manob” that achieved National & International Award.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment