PyRadio Text-to-Speech Support

Overview Top

PyRadio now features comprehensive Text-to-Speech (TTS) support, providing auditory feedback for an enhanced radio streaming experience. This intelligent system delivers contextual information about station navigation, playback status, and system events.

Table of Contents Top

[ Return to main doc ]

Features Top

The TTS system provides spoken feedback for:

Activation Top

Permanent Activation

Enable TTS permanently through the configuration menu: Config → TTS → Enable TTS

Temporary Activation

Toggle TTS during runtime by pressing \T (backslash + T). This setting is session-only and resets when restarting PyRadio.

Platform Implementation Top

Linux

Utilizes speech-dispatcher configured for English language by default. Provides robust, interruptible speech synthesis with priority-based queue management.

Windows

Leverages Windows SAPI (Speech API) with automatic selection of English voices when available. Features immediate speech interruption and consistent volume control.

macOS

Employs the native say command using the system’s default voice. Most macOS voices support multiple languages natively, handling mixed-language content seamlessly.

Language Support Top

Voice Characteristics

TTS voices generally fall into two categories:

Monolingual Voices (typical on Linux/Windows):

Multilingual Voices (common on macOS):

Platform-Specific Strategy

Technical Features Top

Smart Queue Management

Intelligent Behavior

Usage Guidelines Top

For English-Dominant Users

For Multi-Language Content

Configuration Philosophy Top

The system is optimized for English while respecting platform conventions:

Configuration Options Top

Volume

The TTS volume can be adjusted independently of audio playback volume:

This option can be found in the configuration menu under Config → TTS → Volume.

Current Status & Roadmap Top

This TTS implementation is actively developed. Planned enhancements include: