[Kde-accessibility] KDE Speech API Draft 3 and updated KTTSD
Gary Cramblitt
garycramblitt at comcast.net
Sun Jun 6 18:13:19 CEST 2004
I have posted for comment Draft 3 of the KDE Text-to-speech API at the
following URL.
http://home.comcast.net/~garycramblitt/oss/apidocs/kttsd/html/classkspeech.html
Please note that this is a high-level API for KDE applications to interface
with KTTSD, the KDE Text-to-speech daemon. It is not the same as the KTTSD
Plugin API that is also currently being discussed on this list, although it
is related of course.
Some of the links on this page will take you to other pages that represent the
internal documentation for KTTSD. Please try to stay on page
classkspeech.html in your browser.
Comments welcome.
In addition, changes to KTTSD have been committed to CVS (kdenonbeta/kttsd).
Summary of changes:
* Removed concept of paragraphs.
* Added concept of text job parts.
* Added sayScreenReaderOutput method.
* Replaced nextSenText, prevSenText, nextParText, prevParText with
moveRelTextSentence.
* Added jumpToTextPart.
* Removed paragraph settings from configuration dialog.
* Option to speak KDE notifications (KNotify).
As noted in the README, you will need a speech synthesis engine such as
Festival, Hadifax (mbrola and txt2pho), FreeTTS, or Festival Lite.
Assuming you have an environment for building KDE apps from CVS, the commands
to build kttsd are:
cd kdenonbeta
echo kttsd>inst-apps
make -f Makefile.cvs
./configure
cd kttsd
make
make install
make apidox ( if you have doxygen installed)
Even if you are not interested in using KTTS as a programmer's API, it offers
the following user capabilities:
1. Speak KDE notifications (KNotity).
2. Speak contents of clipboard.
3. Speak any plain text file.
4. Speak all or part of a text file from Kate.
5. Speak all or part of any HTML web page in Konqueror.
--
Gary Cramblitt (aka PhantomsDad)
More information about the kde-accessibility
mailing list