# TTS Engine

###### Identifier:

org.eclipse.actf.ai.voice.TTSEngine

###### Description:

You can extend the voice function of ACTF to implement ITTSEngine interface. Voice plug-in manages voice engines through the ITTSEngine interface. If the voice engine have some preference then, the category name of the voice preference page "org.eclipse.actf.ai.voice.preferences.VoicePreferencePage" should be used.

###### Configuration Markup:

<!ELEMENT extension (engine)*>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

<!ELEMENT engine EMPTY>

<!ATTLIST engine

id CDATA #REQUIRED

name CDATA #REQUIRED

class CDATA #REQUIRED

priority CDATA "0"

>

- id - a unique name that will be used to identify this TTS engine
- name - a name that will be used in the UI for this TTS Engine
- class - a name of a class that implements `org.eclipse.actf.ai.tts.ITTSEngine`.
- priority - an integer value to specify the priority of this TTS. The TTS engine that has highest priority is used as default.

###### Examples:

The following is a example of description. "class" is a implementation of the ITTSEngine interface. "default" means the default voice engine to be used. "Description" and "name" are used in the preference page. "id" is used to create a instance of the voice engine. "priority" is used to sort voice engines (descending order).

###### API Information:

See `ITTSEngine` interface.

###### Supplied Implementation:

ACTF provides several implementations of this extension point.

- `org.eclipse.actf.ai.tts.sapi` : for SAPI TTS
- `org.eclipse.actf.ai.tts.protalker` : for IBM Protalker
- `org.eclipse.actf.ai.screenreader.jaws` : for JAWS
- `org.eclipse.actf.ai.screenreader.windoweyes` : for WindowEyes

If you include these plugins, the ITTSEngine implementations will be automatically registerd to this extension.

Copyright (c) 2007, 2008 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html