Skip to main content

MacOS say python wrapper

Project description


$ [sudo] pip install mac-say


function description
mac_say.say(args, background=False) run say with given args
mac_say.voices(lang=None) return list of installed voices (name, lang, description)


>>> 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)

readme-md - generator

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mac_say-2018.11.19-py2.py3-none-any.whl (2.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3
mac-say-2018.11.19.tar.gz (1.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page