Jovie/zh-cn: Difference between revisions

From KDE Wiki Sandbox
m (Created page with "== 特性 ==")
m (Created page with "* 将文字转换成语音 * 高度可配置性 ** 取代念错的单词 ** 选择语音合成器 ** 设定音频输出 ** 管理任务 * 在系统托盘运行 * 整合了大多...")
Line 7: Line 7:
== 特性 ==
== 特性 ==


* Converts text into audio
* 将文字转换成语音
* Highly Configurable
* 高度可配置性
** Substitute misspoken words
** 取代念错的单词
** Choose speech synthesizers
** 选择语音合成器
** Configure Audio Output
** 设定音频输出
** Manage Jobs
** 管理任务
* Runs in the System Tray
* 在系统托盘运行
* Integrates with most KDE applications
* 整合了大多数 KDE 应用程式
** Speak text from clipboard
** 阅读剪贴薄中的文本
** Speak all or sections of text file in Kate
** 阅读 Kate 中全部或部分的文本
** Speak all or sections of HTML page in Konqueror
** 阅读 Konqueror 中HTML 页面的全部或部分文字
** Can be used for notifications (KNotify)
** 可以用于通知 (KNotify)


== Description ==
== Description ==

Revision as of 12:10, 20 November 2010

Other languages:
KDE 文字语音合成系统,KTTS

特性

  • 将文字转换成语音
  • 高度可配置性
    • 取代念错的单词
    • 选择语音合成器
    • 设定音频输出
    • 管理任务
  • 在系统托盘运行
  • 整合了大多数 KDE 应用程式
    • 阅读剪贴薄中的文本
    • 阅读 Kate 中全部或部分的文本
    • 阅读 Konqueror 中HTML 页面的全部或部分文字
    • 可以用于通知 (KNotify)

Description

KDE Text-To-Speech System or KTTS is an application that can run in the background to provide speech output of text throughout the desktop. It integrates with many applications and is simple to use.

Setup

Once installed you can start KTTS by going to your applications menu and under Utilites open kttsmgr. Or just start KRunner Alt+F2 and run

kttsmgr

. KTTS is not initially setup and you will need to do this before using its speaking abilities.

Note
You can also access the configuration from System Settings


The first step is to make sure you have a compatible speech engine installed. The following synthesizers are compatible with KTTS: Festival, Festival Lite (flite), Hadifix, Epos, and FreeTTS. Any engine that can be run from commandline can also be used with KTTS.

Now you can continue on and create a Talker. Select the tab Talker from the Text-to-Speech Control Module and click Add.

Select which language and synthesizer to use. You will need to have a voice installed to use Festival, you can configure this afterwards by selecting the Edit button. KTTS should now be setup and you can test it by selecting Edit and then Test.

Configuration

To configure the speaker's voice, volume, speed, and pitch go to the Talkers tab and click Edit on the speaker. A window such as the one in the above screenshot will popup and allow you to configure it. To change the voice you will need to have other voices installed.

Using KTTS

System Tray

If enabled in the configuration, KTTS will be availabe to you in the System Tray. Right-clicking it will reveal the menu which is straight forward and allows for control of the speech output.

Notice the Speak Clipboard Contents in the menu, if the application isn't integrated with KTTS (Read more about the applications with KTTS built-in in the next section) you can copy the text you want spoken, and click Speak Clipboard Contents to hear it read.

Integration with other Desktop Applications

Konqueror

KTTS allows you to speak the text on a web page. In the menu go to Tools -> Speak Text. However you may not want to do this because it will also read the HTML headers on the page. Instead highlight the text you want spoken and then select Speak Text.

Also note this feature is built into Okular as well. In the Tools menu you will be give two choices Speak Whole Document or Speak Current Page.

Notifications

KTTS works with any application that uses notifications. To set this up start an application such as Konversation that uses notifications. In the menu go to Settings -> Configure Notifications...

As you can see you can have various notifications for different events, such as when someone triggers a highlight. By selecting it to speak for this event it will notify you through audio output each time this event happens. Of course you can also have more than one notification.


If an application doesn't include the ability to speak text remember that you can always highlight and copy text and then use KTTS to speak your clipboard contents.


For more information check out the KTTS Handbook included with KTTS.

KTTS was renamed to Jovie during 4.5 release cycle. Thus, if you cannot find ktts package in your distribution just install Jovie.

For more information please refer to Jovie handbook.