SAPI for Windows CE

G

Guest

I want speech synthesis and recognition API for mobile devices

If I create a SmartDeviceApplication project, I am not able to add a reference to SAPI! Wheras the Web site for SAPI 5.0 documentation indicates that it is for Windows CE 4.2

Can anyone help me get to run SAPI on Mobile apps

Thank
Vis
 
K

Kevin Hutchison

The compact framework does not directly support SAPI. I do understand that
there might be some naming confusion since it is marketed as Windows CE
..NET.

You need to P/Invoke the native SAPI API calls. Also, you need to ensure
that your implementation supports SAPI by looking for SAPI.DLL.

Tx,

- K.


Vish said:
I want speech synthesis and recognition API for mobile devices.

If I create a SmartDeviceApplication project, I am not able to add a
reference to SAPI! Wheras the Web site for SAPI 5.0 documentation indicates
that it is for Windows CE 4.2!
 
K

Kevin Hutchison

Hi -

<Disclaimer> *I am not using Windows CE.NET SAPI* nor a recognition engine
supporting SAPI. I am using a 3rd party product. My information comes from
the investigations I was doing several months ago and my experience with
desktop ASR APIs. <\Disclaimer>

What devices will you be deploying this to? Is SAPI.DLL on the device
itself? (\WINDOWS\SAPI.DLL) Most PPC devices do not ship with it and it is
not the same as the desktop SAPI.DLL.

If it is, you need to determine whether you will write the bulk of your code
in C/C++ or C#. If it is in C#, you need to look at the articles on
P/Invoke. You also need to determine how you will handle callbacks, which
are required by SAPI and not supported by .NET CF. Mr Feinman has done some
incredible work to provide a potential solution and the archives here have a
link to his website.
Could you please tell me how I can invoke the native calls? Any resource I
can read?
You can start with MSDN:
http://msdn.microsoft.com/library/d...ry/en-us/wcesapi/html/ceconsapi50overview.asp

Tx,

- K.

Vish said:
Hello Kevin,
Thank you so much for the reply... :)

I actually tried adding a reference to sapi.dll by going to the Project
tab and browsing for the dll rather than from the .NET tab (which does not
show the dll) in the Add Reference dialog box, but it won't allow me to add
it!! :(
 
C

Chris Tacke, eMVP

I spent nearly a week trying to get TTS with SAPI working under CE 4.2 and
C++ and finally gave up. The implementation just isn't there. I think it's
there in Macallan, but I've not checked. So if you can't wait until the
Macallan release, go 3rd party.

-Chris
 
K

Kevin Hutchison

I quickly looked at the Macallan site and don't see anything mentioned
there, but that doesn't mean that it wont be.
I spent nearly a week trying to get TTS with SAPI working under CE 4.2 and
C++ and finally gave up.
We spent nearly the same amount of time working with the Microsoft Speech
Server Beta and gave up as well. It took me most of a day to figure out how
to install the PIE add-in. I know some people got it to work, but we
couldn't. It did work well for the desktop version. Mr. Feinman was giving
it a go at one point and I don't know if he cracked the nut or not.

- K.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top