Agent skill
tts
Text-to-speech on Linux -- make the device speak text aloud. Use for voice announcements, reading content aloud, or accessibility.
Install this agent skill to your Project
npx add-skill https://github.com/mikeyobrien/rho/tree/main/platforms/linux/skills/tts
SKILL.md
Text-to-Speech
espeak / espeak-ng
Install
# Debian/Ubuntu
sudo apt install espeak-ng
# Arch
sudo pacman -S espeak-ng
# Fedora
sudo dnf install espeak-ng
Speak text
espeak "Hello, this is a test"
espeak-ng "Hello, this is a test"
Pipe text
echo "Hello world" | espeak
cat article.txt | espeak
Choose a voice/language
espeak -v en "English"
espeak -v en-us "American English"
espeak -v fr "Bonjour"
List available voices
espeak --voices
espeak --voices=en # English voices only
Adjust speed (words per minute)
espeak -s 200 "Speaking faster"
espeak -s 100 "Speaking slower"
Adjust pitch (0-99)
espeak -p 80 "Higher pitch"
espeak -p 20 "Lower pitch"
Save to audio file
espeak -w output.wav "Text to save"
speech-dispatcher (spd-say) -- alternative
# Install
sudo apt install speech-dispatcher
# Speak
spd-say "Hello world"
# Set rate (-100 to 100)
spd-say -r 50 "Faster"
# Set voice
spd-say -t female1 "Hello"
# Stop speech
spd-say -S
piper -- neural TTS (higher quality)
For higher quality offline TTS, consider piper:
echo "Hello world" | piper --model en_US-lessac-medium --output_file output.wav
aplay output.wav
Command blocks until speech completes (espeak, spd-say). On headless systems, audio output requires ALSA or PulseAudio.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
tts
Text-to-speech on macOS -- make the device speak text aloud. Use for voice announcements, reading content aloud, or accessibility.
clipboard
Read or write the macOS clipboard. Use when copying/pasting text, transferring data between apps, or accessing clipboard contents.
notification
Show macOS system notifications with title, body, and optional sound. Use for alerts, reminders, or status updates.
open-url
Open URLs, files, and applications on macOS. Use for launching browsers, opening documents, or starting apps.
tts
Text-to-speech — make the device speak text aloud. Use for voice announcements, reading content aloud, or accessibility.
clipboard
Read or write the system clipboard. Use when copying/pasting text, transferring data between apps, or accessing clipboard contents.
Didn't find tool you were looking for?