Difference between revisions of "Application:SpeechDispatcher"

From WebOS Internals
Jump to navigation Jump to search
Line 1: Line 1:
 
== What is the Speech Dispatcher ==
 
== What is the Speech Dispatcher ==
  
This daemon provides speech synthesis.  At the moment, it is only used by  the [[Application:Navit]] and there is no dedicated application front-end, but a Mojo service and application will be developed in the future.
+
This daemon provides speech synthesis.  At the moment, it is only used by  the [[Application:Navit]] application and there is no dedicated application front-end, but a Mojo service and application will be developed in the future.
  
== How dose it work ==
+
== How does it work ==
  
The speech dispatcher is based on [http://www.freebsoft.org/speechd  speechd]. It accepts text via a soked or and C-API. This text is then sent sentence by sentence to a speech synthesizer.
+
The speech dispatcher is based on [http://www.freebsoft.org/speechd  speechd]. It accepts text via a sokect and/or C-API. This text is then sent sentence by sentence to a speech synthesizer.
At the moment we included [http://espeak.sourceforge.net espeak] as the speech synthesizer.
+
At the moment we have included [http://espeak.sourceforge.net espeak] as the speech synthesizer.
  
== Do my PDK app can use this service ==
+
== Can my PDK app use this service ==
  
 
Yes it can. The C-Api is documented on the speechd home page => http://cvs.freebsoft.org/doc/speechd/speech-dispatcher.html#SEC42
 
Yes it can. The C-Api is documented on the speechd home page => http://cvs.freebsoft.org/doc/speechd/speech-dispatcher.html#SEC42

Revision as of 15:20, 11 July 2010

What is the Speech Dispatcher

This daemon provides speech synthesis. At the moment, it is only used by the Application:Navit application and there is no dedicated application front-end, but a Mojo service and application will be developed in the future.

How does it work

The speech dispatcher is based on speechd. It accepts text via a sokect and/or C-API. This text is then sent sentence by sentence to a speech synthesizer. At the moment we have included espeak as the speech synthesizer.

Can my PDK app use this service

Yes it can. The C-Api is documented on the speechd home page => http://cvs.freebsoft.org/doc/speechd/speech-dispatcher.html#SEC42

The other way would be to use the spechd socked directly as doumented here => http://cvs.freebsoft.org/doc/speechd/ssip.html#Top

The default socket for the PalmPre is 'export SPEECHD_SOCKET=/tmp/speechd-sock'

Can my Mojo app use this service

Currently not. We plan to add a Mojo service to the Speech Dispatcher service, but that is not done right now. It will be documented here when it is available.