Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text to Speech Library (Windows only)
#8
(10-26-2022, 12:25 PM)Dimster Wrote: OH Lord ... I didn't intend that question to put any added work on your shoulders Steve. I'm having no problems with speech in graphic screens by simply separating the screen text from the spoken word

(ie _PrintString (10,25),"This Next Display is the contents of the Array Catch All"
  Speech_Say ,"This Next Display is the contents of the Array Catch All")

No extra work for this little addition at all.  Just add a quick sub to handle the work as desired:

Code: (Select All)
_Title "Steve's Powershell Speech Library"

Speech_IoR 'initialize or reset speech options
Speech_SaP "Hello World, This is a normal speed demo of David's voice" 'speak and print
_Delay 2
Speech_Speaker "Ziva"
Speech_Say "Hello again.  This is a normal speed demo of Ziva's voice." 'just speak this one
_Delay 2
Speech_Speaker "David"
Speech_Speed -10
Speech_SaP "And now I'm speaking as David, but I'm speaking veeery slow."
_Delay 2
Speech_Speaker "Ziva"
Speech_Speed 5
Speech_SaP "And now I'm a very hyper Ziva!"
_Delay 2
Speech_Speed 0
Speech_Volume 30
Speech_SaP "And now I'm whispering to you that I'm done with my demo!"

Speech_SaPS 10, 15, "And now I'm using PRINTSTRING and SPEAKING!"


'$INCLUDE:'TextToSpeech.BM'

Sub Speech_SaPS (x, y, text$) 'Speak and PrintString
    _PrintString (x, y), text$
    Speech_Say text$
End Sub
Reply


Messages In This Thread
RE: Text to Speech Library (Windows only) - by SMcNeill - 10-26-2022, 05:52 PM



Users browsing this thread: 1 Guest(s)