ARToolKit | Mailing List Archive |
![]() |
From: | "Leach, Matthew" <M.Leach@n ...........> | Received: | Jan 16, 2005 |
To | <artoolkit@h ..................> | ||
Subject: | Microsoft speech SDK | ||
This is a multi-part message in MIME format. ------_=_NextPart_001_01C4FBF2.36CC704A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm using ARToolkit v2.52 and am trying to integrate Microsoft's Speech SDK (SAPI 5). =20 The problem is that I'm not sure how to catch the events generated. I looked for the argMainLoop function to see how it registered KeyEvent, but I couldn't find it. There is a SetNotifyWin32Event method in SAPI that doesn't require a message loop; is this the one that I should be using? =20 Thanks. =20 Matthew ------_=_NextPart_001_01C4FBF2.36CC704A Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} code {font-family:"Courier New";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @p ... Section1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-GB link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I’m using ARToolkit v2.52 and am trying to = integrate Microsoft’s Speech SDK (SAPI 5).<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>The problem is that I’m not sure how to catch = the events generated. I looked for the argMainLoop function to see how = it registered KeyEvent, but I couldn’t find it. There is a = </span></font><code><b><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-weight:bold'>SetNotifyWin32Event </span></font></b></code><code><font size=3D2 face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial'>method in SAPI that doesn’t require a = message loop; is this the one that I should be = using?<o:p></o:p></span></font></code></p> <p class=3DMsoNormal><code><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></code></p> <p class=3DMsoNormal><code><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Thanks.<o:p></o:p></span></font></code></p> <p class=3DMsoNormal><code><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></code></p> <p class=3DMsoNormal><code><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Matthew</span></font></code><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p= > </div> </body> </html> ------_=_NextPart_001_01C4FBF2.36CC704A-- |
From: | Philip Lamb <phil@e ..........> | Received: | Jan 17, 2005 |
To | "Leach, Matthew" <M.Leach@n ...........>, artoolkit@h .................. | ||
Subject: | Re: Microsoft speech SDK | ||
--Boundary_(ID_jRU05QDbUQEIK0v66/r0ZQ) Content-type: text/plain; charset="us-ascii" ; format="flowed" At 5:38 PM +0000 16/1/05, Leach, Matthew wrote: >I'm using ARToolkit v2.52 and am trying to integrate Microsoft's >Speech SDK (SAPI 5). > >The problem is that I'm not sure how to catch the events generated. >I looked for the argMainLoop function to see how it registered >KeyEvent, but I couldn't find it. There is a SetNotifyWin32Event >method in SAPI that doesn't require a message loop; is this the one >that I should be using? > >Thanks. > >Matthew You may get better mileage by avoiding ARgsub and its GLUT dependencies and using ARgsub_lite library. See the simpleLite example in ARToolKit 2.70 (http://sourceforge.net/projects/artoolkit) for usage. Regards, Phil. --Boundary_(ID_jRU05QDbUQEIK0v66/r0ZQ) Content-type: text/html; charset="us-ascii" <!doctype html public "-//W3C//DTD W3 HTML//EN"> <html><head><style type="text/css"><!-- blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 } --></style><title>Re: Microsoft speech SDK</title></head><body> <div>At 5:38 PM +0000 16/1/05, Leach, Matthew wrote:</div> <blockquote type="cite" cite><font face="Arial" size="-1">I'm using ARToolkit v2.52 and am trying to integrate Microsoft's Speech SDK (SAPI 5).</font></blockquote> <blockquote type="cite" cite><font face="Arial" size="-1"> </font></blockquote> <blockquote type="cite" cite><font face="Arial" size="-1">The problem is that I'm not sure how to catch the events generated. I looked for the argMainLoop function to see how it registered KeyEvent, but I couldn't find it. There is a</font><font face="Courier New" size="-1"><b> SetNotifyWin32Event</b></font><font face="Arial" size="-1"> method in SAPI that doesn't require a message loop; is this the one that I should be using?</font></blockquote> <blockquote type="cite" cite><font face="Arial" size="-1"> </font></blockquote> <blockquote type="cite" cite><font face="Arial" size="-1">Thanks.</font></blockquote> <blockquote type="cite" cite><font face="Arial" size="-1"> </font></blockquote> <blockquote type="cite" cite><font face="Arial" size="-1">Matthew</font></blockquote> <div><br></div> <div>You may get better mileage by avoiding ARgsub and its GLUT dependencies and using ARgsub_lite library. See the simpleLite example in ARToolKit 2.70 (http://sourceforge.net/projects/artoolkit) for usage.</div> <div><br></div> <div>Regards,</div> <div>Phil.</div> </body> </html> --Boundary_(ID_jRU05QDbUQEIK0v66/r0ZQ)-- |