Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cbingos/mac-say.py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

$ [sudo] pip install mac-say

Examples

>>> import mac_say
>>> mac_say.say("hello world")
>>> mac_say.say(["-f","file.txt","-v","Alex"])

voices list

>>> mac_say.voices("en")
[('Alex', 'en_US', 'Most people recognize me by my voice.'), ...]

background - add background=True

>>> mac_say.say("hello world",background=True)

Google Text-To-Speech

>>> mac_say.gtts.mp3("en","hello world")
/Users/username/Library/Caches/say/<hash>.mp3

>>> mac_say.gtts.say("en","hello world")
$ python -m mac_say.gtts "en" "hello world"

readme42.com

About

🍎 💬 📢 macOS tts. 'say' python interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%