[xiphos-source] [crosswire/xiphos] de8f43: System tts (#1307)

LAfricain noreply at github.com
Wed Apr 29 17:20:26 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/crosswire/xiphos
  Commit: de8f43950f6018119ca7f1dcf0f6380fd146c353
      https://github.com/crosswire/xiphos/commit/de8f43950f6018119ca7f1dcf0f6380fd146c353
  Author: L'Africain <fr.cyrille at tiberiade.be>
  Date:   2026-04-29 (Wed, 29 Apr 2026)

  Changed paths:
    M src/gtk/CMakeLists.txt
    M src/gtk/main_window.c
    M src/gtk/utilities.c
    M ui/xi-menus.glade
    M ui/xi-menus.gtkbuilder

  Log Message:
  -----------
  System tts (#1307)

* Replace Festival with system TTS (Speech Dispatcher on Linux, SAPI on Windows)

- Remove dependency on Festival server and bundled Festival binaries
- Add Speech Dispatcher support on Linux (libspeechd)
- Add SAPI5 support on Windows (native Windows TTS)
- Keep compatibility with existing code via wrapper functions
- Modify ReadAloud to use SystemSpeak instead of Festival socket connection
- Remove all socket communication with Festival (port 1314)
- Update CMakeLists.txt to link with libspeechd when available

This change allows Xiphos to use the operating system's native
text-to-speech engine, providing better voice quality and removing
the need to bundle Festival.

The user can configure TTS through their system settings:
- Linux: speech-dispatcher with any voice (eSpeak, Pico, etc.)
- Windows: SAPI5 voices (Microsoft Anna, David, Zira, etc.)

Tested on Ubuntu 24.04 with speech-dispatcher and libttspico-utils.

Fixes #1023

* Add Ctrl+R keyboard shortcut to toggle Read Aloud, and add the shortcut in the menu

---------

Co-authored-by: lafricain79 <lafricain79 at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/crosswire/xiphos/settings/notifications


More information about the xiphos-source mailing list