Tts

Text-to-speech on macOS -- make the device speak text aloud. Use for voice announcements, reading content aloud, or accessibility.

mikeyobrien Updated 378 repo stars
rho web ui

File contents

Text-to-Speech

Speak text

say "Hello, this is a test"

Pipe text

echo "Hello world" | say

Choose a voice

say -v Alex "Hello"
say -v Samantha "Hello"
say -v Daniel "Hello"

List available voices

say -v '?'

Adjust rate (words per minute)

say -r 200 "Speaking faster"
say -r 100 "Speaking slower"

Save to audio file

say -o output.aiff "Text to save"
say -o output.aiff --data-format=LEF32@22050 "Text to save"

Command blocks until speech completes.

mikeyobrien/rho commit 858b43d5c5

Frequently asked questions

npx get-skill add mikeyobrien/tts-2