Created
September 10, 2015 11:42
-
-
Save quellhorst/6a01091f27e00bf6f884 to your computer and use it in GitHub Desktop.
Test all the OSX Voices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for voice in Agnes Kathy Princess Vicki Victoria Alex Bruce Fred Junior Ralph Albert Bad\ News Bahh Bells Boing Bubbles Cellos Deranged Good\ News Hysterical Pipe\ Organ Trinoids Whisper Zarvox; | |
do say "Hello, I'm ${voice}" -v ${voice}; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some Documentation
https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/SpeechSynthesisProgrammingGuide/Introduction/Introduction.html
SAY(1) Speech Synthesis Manager SAY(1)
NAME
say - Convert text to audible speech
SYNOPSIS
say [-v voice] [-r rate] [-o outfile [audio format options] | -n name:port | -a device] [-f file | string ...]
DESCRIPTION
This tool uses the Speech Synthesis manager to convert input text to audible speech and either play it through the sound output device chosen in System Preferences or save it to an AIFF file.
OPTIONS
string
Specify the text to speak on the command line. This can consist of multiple arguments, which are considered to be separated by spaces.
AUDIO FORMATS
Starting in MacOS X 10.6, file formats other than AIFF may be specified, although not all third party synthesizers may initially support them. In simple cases, the file format can be inferred from the extension, although generally some
of the options below are required for finer grained control:
ERRORS
say returns 0 if the text was spoken successfully, otherwise non-zero. Diagnostic messages will be printed to standard error.
EXAMPLES
say Hello, World
say -v Alex -o hi -f hello_world.txt
say --interactive=/green spending each day the color of the leaves
say -o hi.aac 'Hello, [[slnc 200]] World'
say -o hi.m4a --data-format=alac Hello, World.
say -o hi.caf --data-format=LEF32@8000 Hello, World
SEE ALSO
"Speech Synthesis Programming Guide"