[Kde-accessibility] dcop kttsd kspeech sayMessage mess talker

Gary Cramblitt garycramblitt at comcast.net
Thu Jan 6 00:40:07 CET 2005


On Sunday 02 January 2005 01:19 pm, Mikolaj Machowski wrote:
> IMO this is not good solution. What if user has, for example, two voices
> for english, male and female and want to switch between them?

dcop kttsd kspeech setText "Hello World" 'gender="female"'

At the moment, this won't work correctly due to a bug, which will be fixed 
tomorrow when code freeze is off. :/

In the meantime, this should work.

dcop kttsd kspeech setText "Hello World" 'lang="en" gender="female"'

BTW, you can determine which Talker ID will be assigned, given a Talker Code, 
without having to actually speak anything, using this

dcop kttsd kspeech talkerCodeToTalkerId 'gender="female"'

You did look at the section "Talkers, Talker Codes, and Plugins" in spec here, 
didn't you?

http://developer.kde.org/documentation/library/cvs-api/interfaces/html/classkspeech.html

-- 
Gary Cramblitt (aka PhantomsDad)
KDE Text-to-Speech Maintainer
http://accessibility.kde.org/developer/kttsd/index.php


More information about the kde-accessibility mailing list