Jovie/zh-tw

From KDE UserBase Wiki
Revision as of 12:32, 20 November 2010 by Qiii2006 (talk | contribs) (Created page with "=== 配置 ===")
KDE 文字語音合成系統,KTTS

特性

  • 將文字轉換成語音
  • 高度可配置性
    • 取代念錯的單詞
    • 選擇語音合成器
    • 設定音頻輸出
    • 管理任務
  • 在系統托盤運行
  • 整合了大多數 KDE 應用程式
    • 閱讀剪貼薄中的文本
    • 閱讀 Kate 中全部或部分的文本
    • 閱讀 Konqueror 中 HTML 頁面的全部或部分文字
    • 可以用於通知 (KNotify)

描述

KDE 語音合成系統(Text-To-Speech System 或 KTTS)是一個運行在後台,為桌面提供文字語音輸出的應用程式。它整合進了眾多應用程式,非常易用。

準備

一旦安裝好,透過您的應用程式選單中的實用工具開啟 kttsmgr,就可以啟動 KTTS。或者直接開啟 KRunner Alt+F2,接著執行

kttsmgr

KTTS 是不會在一開始就啟動的,您需要這樣做才能使用它的語音功能。

Template:Note (zh TW)

第一步是要確保你有安裝一個相容的語音引擎。下列的合成器相容 KTTSFestival, Festival Lite (flite), Hadifix, Epos 以及 FreeTTS。任何可以從命令列執行的引擎,也可用於 KTTS

現在您可以繼續並建立一個「發音員」。從Text-to-Speech控制模塊選擇發音員分頁,然後按下新增

選擇使用的語言與合成器。你需要安裝一個「語音形態」來使用 Festival,之後你可以選擇編輯按鈕來設定它。現在 KTTS 應該已經設定好了,選擇編輯,點測試看看。

配置

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.