Jovie/zh-cn: Difference between revisions

From KDE UserBase Wiki
m (Created page with "现在您可以继续并建立一个「朗读者」。从Text-to-Speech控制模块选择<menuchoice>朗读者</menuchoice>分页,然后按下<menuchoice>新增</menuchoice>。")
m (Created page with "选择使用的语言与合成器。你需要安装一个「语音形态」来使用'''Festival''',之后你可以选择<menuchoice>编辑</menuchoice>按钮来 设定它。现...")
Line 38: Line 38:
[[Image:KTTS-Config1.png|400px|center|thumb|]]
[[Image:KTTS-Config1.png|400px|center|thumb|]]


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 <menuchoice>Edit</menuchoice> button. '''KTTS''' should now be setup and you can test it by selecting <menuchoice>Edit</menuchoice> and then <menuchoice>Test</menuchoice>.
选择使用的语言与合成器。你需要安装一个「语音形态」来使用'''Festival''',之后你可以选择<menuchoice>编辑</menuchoice>按钮来
设定它。现在 '''KTTS''' 应该已经设定好了,选择<menuchoice>编辑</menuchoice>,点<menuchoice>测试</menuchoice>看看。


[[Image:KTTS-Config3.png|400px|center|thumb|]]
[[Image:KTTS-Config3.png|400px|center|thumb|]]

Revision as of 12:15, 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 应该已经设定好了,选择编辑,点测试看看。

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.