Mac OS

Mac Say cli to save audio file


say --voice="Samantha" -input-file="filename.txt" -output-file="filename.aiff"

Available output formats are AIFF (Audio Interchange File Format – uncompressed pcm), caff (Core Audio Format – do not have 4gb file size limit), m4a, WAVE.

cat filename | say --voice=Samantha –rate=180

28 English Voices

You can only use the older, lower quality voices with the say command.

You cannot use --voice to select any of the newer Siri voices, but if you select it as your system default and do not pass any voice parameter, it will use it.

1. Albert en_US # I have a frog in my throat. No, I mean a real frog!
2. Bad News en_US # I sure like being inside this fancy computer
3. Bahh en_US # Do not pull the wool over my eyes.
4. Bells en_US # Time flies when you are having fun.
5. Boing en_US # Spring has sprung, fall has fell, winter’s here and it’s colder than usual.
6. Bubbles en_US # I sure like being inside this fancy computer
7. Cellos en_US # Doo da doo da dum dee dee doodly doo dum dum dum doo da doo da doo da doo
8. Wobble en_US # I sure like being inside this fancy computer
9. Eddy (English (US)) en_US # Hello! My name is Eddy.
10. Flo (English (US)) en_US # Hello! My name is Flo.
11. Fred en_US # I sure like being inside this fancy computer
12. Good News en_US # Congratulations you just won the sweepstakes and you don’t have to pay income tax again.
13. Grandma (English (US)) en_US # Hello! My name is Grandma.
14. Grandpa (English (US)) en_US # Hello! My name is Grandpa.
15. Jester en_US # Please stop tickling me!
16. Junior en_US # My favorite food is pizza.
17. Kathy en_US # Isn’t it nice to have a computer that will talk to you?
18. Organ en_US # We must rejoice in this morbid voice.
19. Superstar en_US # When I grow up I’m going to be a scientist.
20. Ralph en_US # The sum of the squares of the legs of a right triangle is equal to the square of the hypotenuse.
21. Reed (English (US)) en_US # Hello! My name is Reed.
22. Rocko (English (US)) en_US # Hello! My name is Rocko.
23. Samantha en_US # Hello, my name is Samantha. I am an American-English voice.
24. Sandy (English (US)) en_US # Hello! My name is Sandy.
25. Shelley (English (US)) en_US # Hello! My name is Shelley.
26. Trinoids en_US # We cannot communicate with these carbon units.
27. Whisper en_US # Pssssst, hey you, Yeah you, Who do ya think I’m talking to, the mouse?
28. Zarvox en_US # That looks like a peaceful planet.

"Albert","Bad News","Bahh","Bells","Boing","Bubbles","Cellos","Wobble","Eddy","Flo","Fred","Good News","Grandma","Grandpa","Jester","Junior","Kathy","Organ","Superstar","Ralph","Reed","Rocko","Samantha","Sandy","Shelley","Trinoids","Whisper","Zarvox"

openanalytics 755 views

I'm a 35 year old UIUC Computer Engineer building mobile apps, websites and hardware integrations with an interest in 3D printing, biotechnology and Arduinos.


View Comments
There are currently no comments.

This site uses Akismet to reduce spam. Learn how your comment data is processed.