Sub Voice_It_Out()
Dim oVoice As SpVoice ' Voice Object
' --------------------------------------------------------------
' Code for http://vbadud.blogspot.com
' --------------------------------------------------------------
Set oVoice = New SpVoice
For iVol = 100 To 10 Step -10
oVoice.Volume = iVol
oVoice.Speak "Echo!"
Next iVol
End Sub
Welcome to VBA Tips & Tricks. All VBA related information will be posted on this blog. Of late, VBA has been disregarded by many software professionals for .Net, c# and other technologies. This blog will also post articles related to them too Happy reading
Pages
▼
Thursday, June 24, 2010
How to simulate speech Echo in VBA
The following snippet simulates ( a sort of ) the Echo effect in VBA. This uses Microsoft Speech Object Library
No comments:
Post a Comment