Jovie/zh-cn: Difference between revisions

From KDE Wiki Sandbox
m (Created page with "== 使用 KTTS ==")
m (Created page with "=== 系统托盘 ===")
Line 51: Line 51:
== 使用 KTTS ==
== 使用 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.  
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.  

Revision as of 12:18, 20 November 2010

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

特性

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

描述

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

准备

一旦安装好,透过您的应用程式选单中的实用工具开启 KTTS。或者直接开启

KRunner Alt+F2,接着执行

kttsmgr

。 KTTS 是不会在一开始就启动的,您需要这样做才能使用它

的语音功能。

附注
您也可以从「系统设置」进行配置


第一步是要确保你有安装一个相容的语音引擎。下列的合成器相容 KTTSFestival, Festival Lite (flite), Hadifix, Epos 以及 FreeTTS。任何可以从命令列执行的引擎,也可用于 KTTS

现在您可以继续并建立一个「朗读者」。从Text-to-Speech控制模块选择朗读者分页,然后按下新增

选择使用的语言与合成器。你需要安装一个「语音形态」来使用Festival,之后你可以选择编辑按钮来 设定它。现在 KTTS 应该已经设定好了,选择编辑,点测试看看。

配置

要设定朗读者的声音、音量、语速和音高,点朗读者分页,点编辑<menuchoice>朗读者。如截图上所示的窗口会弹出来给你设定用。要改变声音,你需要有安装其他的「语音形态」。

使用 KTTS

系统托盘

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.