aash29 / pyspeech

Automatically exported from code.google.com/p/pyspeech
0 stars 0 forks source link

request for MSAgent connection #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
the request:
script have the option to say the speech via msagent.

here's a sample script

from win32com.client import constants
import win32com.client
import pythoncom

agent = win32com.client.Dispatch("Agent.Control.2")
agent.Connected = -1
agent.Characters.Load("Merlin", "Merlin.acs")

peedy = agent.Characters("Merlin")

peedy.LanguageID = 0x409
peedy.Show()
peedy.Speak("Hello, World!")
peedy.Play("Blink")

Original issue reported on code.google.com by irz...@gmail.com on 19 Sep 2008 at 3:51

GoogleCodeExporter commented 9 years ago
Again, I apologize for missing this feature request for a month.

Thanks for you suggestion.  My API is more for speech-to-text; the 
text-to-speech is
just a convenience.  If you want more control over text-to-speech, check out the
pyTTS module.

Original comment by gundl...@gmail.com on 21 Oct 2008 at 11:25