
- von wangfred
mac say command voices: The Complete Guide to Custom Speech on macOS
- von wangfred
If you have ever wished your Mac could read anything out loud in a natural, customizable way, mastering mac say command voices is one of the most powerful tricks you can learn. Hidden in plain sight, this simple command-line tool can turn your Mac into a narrator, a voiceover studio, a productivity assistant, and even a creative sound design lab, all without installing extra software.
Most people only scratch the surface of what the say command can do. They might know it can speak a line of text, but they never explore the different voices, advanced options, or automation possibilities. Once you understand how to control mac say command voices, you can give your Mac personality, streamline repetitive tasks, and even build tools that make your daily workflow faster and more enjoyable.
The say command is a built-in macOS tool that converts text into spoken audio using the system’s speech synthesis engine. It runs in the Terminal and can speak directly through your speakers or generate audio files you can save and reuse.
At its core, the command looks like this:
say "Hello, world!"
This makes your Mac speak the words "Hello, world!" using the default system voice. But that is only the beginning. With the right options, you can:
The real power of the say command comes from how flexible its voices are. You are not stuck with a single robotic narrator. Instead, you can:
Whether you are a developer, content creator, teacher, or just a curious user, learning how to control mac say command voices gives you a powerful tool for both productivity and creativity.
To begin, open the Terminal app on your Mac. Then you can try a simple command:
say "This is my first spoken sentence."
Your Mac will immediately speak the text using the default voice. You can also pass text using single quotes, which is helpful when your sentence includes double quotes:
say 'The Mac will say "hello" right now.'
If you have a longer block of text, you can type it directly, but it is often easier to use a file or a here-document. For example:
say <<EOF
This is a longer piece of text.
You can write multiple lines,
and the say command will read them all.
EOF
To work effectively with mac say command voices, you should first see what voices are available on your system. Use:
say -v ?
This prints a list of voices, along with language and region codes. A typical line might look like:
Alex en_US # Most natural-sounding voice
Each voice has:
If your system does not show many voices, you can install additional ones through System Settings under Accessibility or Keyboard Dictation and Speech sections, depending on your macOS version. Once installed, they become available to the say command automatically.
To choose a specific voice, use the -v option followed by the voice name:
say -v Alex "This text is spoken by a specific voice."
Replace "Alex" with any voice name available on your system. For example, you might have voices for different dialects or languages. You can test each one quickly:
say -v Samantha "Testing this voice."
Using different voices can help you:
The say command supports a few useful flags for controlling how the voice sounds. The most important is the speaking rate, controlled with -r:
say -v Alex -r 180 "This is a bit faster than normal."
Typical values:
You can experiment by running the same sentence at different speeds:
say -v Alex -r 140 "Slower speech for careful listening."
say -v Alex -r 220 "Faster speech for quick review."
Some voices respond differently to speed changes, so it is worth testing a few combinations until you find a comfortable setting for each task.
One of the most powerful features of the say command is the ability to export audio to a file. Use the -o option to specify the output file:
say -v Alex -r 170 -o narration.aiff "This will be saved as an audio file."
This creates an audio file (usually AIFF format) in the current directory. You can then:
To convert a longer text file into audio, you can combine -f (for file input) and -o:
say -v Alex -r 160 -f article.txt -o article_narration.aiff
This reads the contents of article.txt and produces a spoken version using the chosen voice and rate.
When dealing with long content, typing everything into the Terminal is not practical. Instead, you can read from a text file. Create a plain text file and then run:
say -f mydocument.txt
To specify a voice and speed:
say -v Alex -r 170 -f mydocument.txt
This is useful for:
If you have other document formats, you may first export them as plain text using your editor or a conversion tool, then feed the result to say.
Because say runs in the Terminal, it integrates naturally with shell scripts. You can create simple scripts that use different voices for different messages.
For example, create a script file named notification.sh:
#!/bin/bash
say -v Alex "Your backup has completed successfully."
say -v Samantha "You may now disconnect your external drive."
Make it executable:
chmod +x notification.sh
Now you can run:
./notification.sh
This script uses two different voices to deliver different parts of the message, making it easier to distinguish between them.
mac say command voices can turn silent events into audible notifications. For example, you might want your Mac to speak when a long-running task finishes.
Consider a command that takes a while to complete:
long_task && say -v Alex "The long task has finished."
This runs long_task, and if it succeeds, your Mac will speak the message. You can also use different voices for different types of events:
backup_command && say -v Alex "Backup completed." || say -v Samantha "Backup failed."
Using distinct voices for success and failure makes it easy to tell what happened even if you are not looking at the screen.
The say command can interpret certain embedded markup in the text to control pauses and pronunciation. While not as elaborate as full markup languages, you can still improve the naturalness of speech.
You can insert pauses by adding punctuation or spacing strategically. For example:
say -v Alex "This is the first part... and this is the second part."
To improve pronunciation of specific words, you can sometimes adjust spelling phonetically in the text you pass to say. This approach requires experimentation, but it can be useful for names or technical terms that the voice mispronounces.
If you have multiple language voices installed, you can use say to speak in different languages by selecting the appropriate voice. For example, if you have a French voice installed, you might run:
say -v Thomas "Bonjour, je parle en francais."
Similarly, you can use voices for other languages by choosing the correct voice name from the say -v ? list. This is handy for:
For best results, make sure the text you pass matches the language of the voice.
You can use mac say command voices to build a regular listening habit. For example, you might create a script that reads a daily summary or notes.
Consider a script named daily_read.sh:
#!/bin/bash
VOICE="Alex"
RATE=170
FILE="$HOME/Documents/daily_notes.txt"
if [ -f "$FILE" ]; then
say -v "$VOICE" -r "$RATE" -f "$FILE"
else
say -v "$VOICE" "Your daily notes file was not found."
fi
You can schedule this script using a scheduling tool to run at a specific time each day, turning your notes into a brief spoken briefing.
While macOS already includes robust accessibility features, the say command adds extra flexibility. People who prefer listening to reading can use it to:
For example, someone who finds the default system reading speed too fast or too slow can create scripts that use a tailored rate:
say -v Alex -r 130 -f long_article.txt
This approach lets you create a personal listening setup optimized for comfort and comprehension.
mac say command voices can be surprisingly effective for creating voiceovers, especially for tutorials, demos, and internal training content. While professional human narration often sounds more natural, the say command offers speed, consistency, and low cost.
To create a voiceover script, write your narration in a text file, paying attention to pacing and sentence structure. Then run:
say -v Alex -r 165 -f script.txt -o tutorial_voiceover.aiff
Once the audio file is generated, import it into your video editing software and align it with your visuals. If you notice awkward timing, you can adjust your script, regenerate the audio, and try again until it feels right.
Beyond serious tasks, mac say command voices can be a source of fun and experimentation. Some ideas include:
For a talking clock, for example:
#!/bin/bash
VOICE="Alex"
while true; do
TIME=$(date "+%I:%M %p")
say -v "$VOICE" "The time is now $TIME."
sleep 3600
done
This simple loop announces the time every hour using your chosen voice.
Because say is a command-line tool, it can be combined with other commands using pipes and redirection. While say itself does not read from standard input by default without flags, you can still structure workflows around files and scripts.
For example, you can fetch text from the web, clean it up, save it, and then have say read it. A rough outline might be:
curl -s "https://example.com/article" > raw_article.html
# Process raw_article.html into plain text with your preferred tools
# Assume the result is saved as article.txt
say -v Alex -r 160 -f article.txt
This kind of pipeline lets you transform online content into a spoken format that you can listen to while doing other tasks.
While mac say command voices are powerful, there are some practical limits to keep in mind:
If you plan to generate many audio files, consider organizing them in dedicated folders and using consistent naming schemes so you can manage them easily.
To make mac say command voices sound as natural and pleasant as possible, pay attention not only to the voice selection but also to how you write your text.
Some practical tips:
By treating your text as a script rather than just written content, you can get much better results from the same voices.
When working with mac say command voices, remember that any text you pass to the command is processed locally on your Mac. This is generally good for privacy, since the speech synthesis does not require sending your text to remote servers.
Even so, it is wise to handle sensitive information carefully. If you generate audio files that contain confidential content, store them securely and manage permissions appropriately, just as you would with any other form of sensitive data.
Once you become comfortable with mac say command voices, you can build a personal library of audio content tailored to your needs. For example, you might create:
To keep things organized, you might adopt a naming convention like:
project_topic_voice_rate_date.aiff
For instance:
marketing_overview_alex_165_2026-02-24.aiff
With a consistent system, you can quickly find and reuse audio content whenever you need it.
When working with mac say command voices, you might encounter a few common issues:
If you run:
say -v NonexistentVoice "Test"
and get an error, the voice name may be incorrect or not installed. Run:
say -v ?
to confirm the exact name and spelling.
If the command appears to run but you hear nothing:
If you use -o and no file appears:
Once you have mastered the basics of mac say command voices, you can explore more advanced ideas, such as:
For example, a simple interactive script might look like this:
#!/bin/bash
VOICE="Alex"
read -p "Enter your name: " NAME
say -v "$VOICE" "Hello, $NAME. Welcome to this demonstration of the say command."
This kind of interaction can be expanded into more complex tools, all powered by the same flexible voice engine.
Once you start exploring mac say command voices, it becomes clear that you are not just dealing with a simple novelty feature. You are tapping into a versatile speech synthesis engine that can enhance your productivity, creativity, and accessibility in ways that many users never realize are possible.
From quick spoken notifications to full-length audio narrations, from language practice to automated daily briefings, the say command gives you a powerful way to turn written text into living, audible content. With a bit of experimentation, a few carefully chosen voices, and some thoughtful scripting, you can transform your Mac into a flexible speaking companion that fits your workflow and style.
If you are ready to go beyond the basics, open your Terminal, run say -v ?, pick a voice that appeals to you, and start building your own library of spoken tools and content. The more you experiment with mac say command voices, the more you will discover just how much they can do for you.
Share: