Re: Win32OLE and SAPI5 voice recognition problem
- From: Thomas Morgan <agemoagemo@xxxxxxxxx>
- Date: Mon, 30 Jun 2008 10:30:26 -0500
Kyle Schmitt wrote:
Err, from what I see, I don't even think that's a ruby library, it
kindof looks like straight win32ole stuff.
I've played with this before to use sapi for TTS (opposite direction
of what you're doing). The way to really get into it is to dig
through the microsoft devnet docs for it. All the usable examples
will be in C/C++, and there's even some useful stuff in vb, but I
always found it easier to follow their c docs.
http://msdn.microsoft.com/en-us/library/ms723627(VS.85).aspx
I'm not sure there isn't something a bit ruby-specific in here somewhere
though. I've been mostly looking at perl and python examples, and none
of them specify an interface when setting up to receive events. Maybe
I'm just doing ruby win32ole wrong somehow.
The only C example so far that I've even been able to figure out how
it's receiving the events is the "talkback" one, which appears to be
using polling instead of setting up event callbacks. And while that
could probably be made to work, callbacks seem better.
-Morgan.
--
Posted via http://www.ruby-forum.com/.
.
- References:
- Win32OLE and SAPI5 voice recognition problem
- From: Thomas Morgan
- Re: Win32OLE and SAPI5 voice recognition problem
- From: Kyle Schmitt
- Win32OLE and SAPI5 voice recognition problem
- Prev by Date: Re: Random Generation of Characters
- Next by Date: nested methods good or bad design
- Previous by thread: Re: Win32OLE and SAPI5 voice recognition problem
- Next by thread: What am I doing wrong! Arrays
- Index(es):