Jovie(文本转语音)

From KDE UserBase Wiki
Revision as of 12:10, 20 November 2010 by Qiii2006 (talk | contribs) (Created page with "KDE '''语音合成系统'''(Text-To-Speech System 或 '''KTTS''')是一个运行在后台,为桌面提供文字语音输出的应用程式。它整合进了众多应用程...")
Other languages:
KDE 文字语音合成系统,KTTS

特性

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

描述

KDE 语音合成系统(Text-To-Speech System 或 KTTS)是一个运行在后台,为桌面提供文字语音输出的应用程式。它整合进了众多应用程式,非常易用。

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.