diff --git a/README.md b/README.md index 6700daf..ea82433 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,13 @@ [![](https://img.shields.io/pypi/v/py3-tts.svg?style=plastic)](https://pypi.org/project/py3-tts/) [![](https://img.shields.io/github/languages/top/thevickypedia/py3-tts.svg?style=plastic)](https://github.com/thevickypedia/py3-tts) -[![](https://img.shields.io/badge/author-thevickypedia-green.svg)](https://github.com/thevickypedia) [![](https://github.com/thevickypedia/py3-tts/actions/workflows/pythonpublish.yml/badge.svg)](https://github.com/thevickypedia/py3-tts/actions/workflows/pythonpublish.yml) +[![](https://github.com/thevickypedia/py3-tts/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/thevickypedia/py3-tts/actions/workflows/pages/pages-build-deployment) -`py3-tts` is a text-to-speech conversion library in Python. Unlike alternative libraries, **it works offline**. +[![](https://img.shields.io/badge/re_implementer-thevickypedia-blue.svg)](https://github.com/thevickypedia) +[![](https://img.shields.io/badge/author-nateshmbhat-orange.svg)](https://github.com/nateshmbhat) + +`py3-tts` (originally [`pyttsx3`](https://github.com/nateshmbhat/pyttsx3)) is a text-to-speech conversion library in Python. Unlike alternative libraries, **it works offline**. ## Installation diff --git a/doc_generator/install.rst b/doc_generator/install.rst index 0ab51f7..ff7ecf0 100644 --- a/doc_generator/install.rst +++ b/doc_generator/install.rst @@ -36,7 +36,7 @@ On OSX or Linux Using pip to install in a virtualenv ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -If you have virtualenv_ installed with pip_, you can use pip to install a copy of pyttsx3 in the virtual environment folder. +If you have virtualenv_ installed with pip_, you can use pip to install a copy of py3-tts in the virtual environment folder. On Windows ########## @@ -66,7 +66,7 @@ Unless you wish to compile your own version of pyobjc (a lengthy process), you w $ . myproj/bin/activate (myproj)$ pip install py3-tts ... - Successfully installed pyttsx3 + Successfully installed py3-tts Cleaning up... On Linux @@ -74,7 +74,7 @@ On Linux pyttsx3 requires no Python dependencies on Linux. You can cut-off the pyttsx3 virtualenv from the system site-packages. -code-block:: bash +.. code-block:: bash $ virtualenv --no-site-packages myproj New python executable in myproj/bin/python @@ -83,7 +83,7 @@ code-block:: bash $ . myproj/bin/activate (myproj)$ pip install py3-tts ... - Successfully installed pyttsx3 + Successfully installed py3-tts Cleaning up... diff --git a/docs/_sources/install.rst.txt b/docs/_sources/install.rst.txt index 0ab51f7..ff7ecf0 100644 --- a/docs/_sources/install.rst.txt +++ b/docs/_sources/install.rst.txt @@ -36,7 +36,7 @@ On OSX or Linux Using pip to install in a virtualenv ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -If you have virtualenv_ installed with pip_, you can use pip to install a copy of pyttsx3 in the virtual environment folder. +If you have virtualenv_ installed with pip_, you can use pip to install a copy of py3-tts in the virtual environment folder. On Windows ########## @@ -66,7 +66,7 @@ Unless you wish to compile your own version of pyobjc (a lengthy process), you w $ . myproj/bin/activate (myproj)$ pip install py3-tts ... - Successfully installed pyttsx3 + Successfully installed py3-tts Cleaning up... On Linux @@ -74,7 +74,7 @@ On Linux pyttsx3 requires no Python dependencies on Linux. You can cut-off the pyttsx3 virtualenv from the system site-packages. -code-block:: bash +.. code-block:: bash $ virtualenv --no-site-packages myproj New python executable in myproj/bin/python @@ -83,7 +83,7 @@ code-block:: bash $ . myproj/bin/activate (myproj)$ pip install py3-tts ... - Successfully installed pyttsx3 + Successfully installed py3-tts Cleaning up... diff --git a/docs/install/index.html b/docs/install/index.html index 10f5b88..c10c03b 100644 --- a/docs/install/index.html +++ b/docs/install/index.html @@ -64,7 +64,7 @@

On OSX or Linux

Using pip to install in a virtualenv

-

If you have virtualenv installed with pip, you can use pip to install a copy of pyttsx3 in the virtual environment folder.

+

If you have virtualenv installed with pip, you can use pip to install a copy of py3-tts in the virtual environment folder.

On Windows

You’ll need to install the pywin32-extensions package system-wide using its Windows installer. Then you’ll need to give your virtualenv access to the system site-packages in order to install py3-tts.

@@ -87,7 +87,7 @@

On OSX . myproj/bin/activate (myproj)$ pip install py3-tts ... -Successfully installed pyttsx3 +Successfully installed py3-tts Cleaning up... @@ -95,18 +95,17 @@

On OSX

On Linux

pyttsx3 requires no Python dependencies on Linux. You can cut-off the pyttsx3 virtualenv from the system site-packages.

-

code-block:: bash

-
-

$ virtualenv –no-site-packages myproj -New python executable in myproj/bin/python -Installing setuptools…………done. -Installing pip……………done. -$ . myproj/bin/activate -(myproj)$ pip install py3-tts -… -Successfully installed pyttsx3 -Cleaning up…

-
+
$ virtualenv --no-site-packages myproj
+New python executable in myproj/bin/python
+Installing setuptools............done.
+Installing pip...............done.
+$ . myproj/bin/activate
+(myproj)$ pip install py3-tts
+...
+Successfully installed py3-tts
+Cleaning up...
+
+

diff --git a/docs/searchindex.js b/docs/searchindex.js index 71723f3..273e843 100644 --- a/docs/searchindex.js +++ b/docs/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["drivers", "engine", "index", "install", "support"], "filenames": ["drivers.rst", "engine.rst", "index.rst", "install.rst", "support.rst"], "titles": ["Implementing drivers", "Using py3-tts", "py3-tts - Text-to-speech platform", "Installing py3-tts", "Supported synthesizers"], "terms": {"you": [0, 3], "can": [0, 1, 3], "new": [0, 1, 3], "pyttsx3": [0, 1, 3, 4], "engin": [0, 2], "creat": [0, 1], "python": [0, 2, 3], "modul": [0, 1], "name": [0, 1, 3, 4], "your": [0, 3], "requir": [0, 1, 3], "factori": [0, 2], "function": [0, 1], "class": [0, 1], "us": [0, 2], "method": [0, 1], "instanc": [0, 1], "provid": [0, 1], "control": 0, "event": 0, "queue": [0, 1], "notifi": 0, "applic": [0, 1], "about": [0, 1], "all": [0, 1], "must": [0, 1], "follow": [0, 1, 3, 4], "builddriv": 0, "proxi": 0, "driverdeleg": 0, "instanti": 0, "deleg": 0, "subclass": 0, "declar": 0, "thi": [0, 1, 2], "paramet": [0, 1], "i": [0, 1, 3, 4], "actual": 0, "cannot": 0, "serv": 0, "base": 0, "It": 0, "onli": [0, 3, 4], "here": 0, "purpos": 0, "document": [0, 2, 3, 4], "__init__": 0, "arg": 0, "kwarg": 0, "none": [0, 1], "constructor": 0, "store": 0, "refer": [0, 1], "destroi": 0, "option": 0, "invok": [0, 1], "when": [0, 1], "being": 0, "so": [0, 1], "clean": [0, 3], "up": [0, 1, 3], "ani": 0, "synthes": [0, 1, 2, 3], "resourc": 0, "If": [0, 1, 3], "proce": 0, "safe": 0, "endloop": [0, 1], "immedi": [0, 1], "end": [0, 1], "run": 0, "loop": 0, "getproperti": [0, 1], "string": [0, 1], "object": [0, 1], "get": [0, 1], "properti": [0, 1], "valu": [0, 1], "At": 0, "least": 0, "those": 0, "list": [0, 1, 2, 3, 4], "support": [0, 1, 2], "queri": [0, 1], "return": [0, 1], "time": [0, 1], "invoc": [0, 1], "sai": [0, 1], "text": [0, 3, 4], "unicod": [0, 1], "speak": 0, "an": 0, "utter": 0, "speech": [0, 3, 4], "output": [0, 1], "accord": [0, 1], "current": [0, 1], "appli": 0, "befor": [0, 1], "setbusi": 0, "true": [0, 1], "stall": 0, "further": 0, "process": [0, 1, 3], "command": [0, 1], "until": 0, "complet": [0, 1], "interrupt": 0, "trigger": 0, "one": 0, "start": [0, 1], "notif": [0, 1], "begin": [0, 1], "word": [0, 1], "each": [0, 3, 4], "finish": [0, 1], "associ": [0, 1], "includ": [0, 1, 3, 4], "setproperti": [0, 1], "set": [0, 1], "after": [0, 1], "fals": [0, 1], "pump": [0, 1], "chang": 0, "startloop": [0, 1], "respons": [0, 1], "send": 0, "given": [0, 1], "stop": [0, 1], "call": [0, 1], "dure": [0, 1], "go": 0, "ongo": 0, "receiv": 0, "construct": [0, 1], "public": 0, "other": [0, 1, 3, 4], "found": [0, 1], "code": [0, 3], "ar": [0, 1, 3, 4], "reserv": 0, "isbusi": [0, 1], "bool": [0, 1], "busi": [0, 1], "next": 0, "mean": 0, "idl": 0, "topic": [0, 1], "fire": [0, 1], "pair": 0, "continu": 0, "init": [1, 3, 4], "initi": 1, "driverproxi": [1, 2], "load": 1, "implement": [1, 2], "from": [1, 3], "regist": 1, "unregist": 1, "callback": 1, "produc": 1, "drivernam": 1, "debug": 1, "request": 1, "alreadi": 1, "anoth": 1, "otherwis": 1, "default": [1, 3, 4], "best": 1, "avail": 1, "platform": [1, 3, 4], "sapi5": [1, 3, 4], "window": [1, 4], "nsss": 1, "nsspeechsynthes": [1, 3, 4], "mac": [1, 3, 4], "o": [1, 3, 4], "x": [1, 3, 4], "espeak": [1, 3, 4], "everi": 1, "enabl": 1, "rais": 1, "importerror": 1, "runtimeerror": 1, "fail": 1, "access": [1, 3], "synthesi": 1, "connect": 1, "cb": 1, "callabl": 1, "dict": 1, "subscrib": 1, "A": 1, "token": 1, "caller": 1, "unsubscrib": 1, "later": 1, "valid": 1, "signatur": 1, "have": [1, 3], "onstartutter": 1, "folow": 1, "onstartword": 1, "locat": 1, "integ": 1, "length": 1, "onfinishutter": 1, "wa": [1, 2], "its": [1, 3], "entireti": 1, "error": 1, "encount": 1, "onerror": 1, "except": 1, "caus": 1, "disconnect": 1, "usedriverloop": 1, "exit": 1, "per": 1, "minut": 1, "200": 1, "identifi": 1, "activ": [1, 3], "descriptor": 1, "float": 1, "point": 1, "rang": 1, "0": 1, "1": [1, 4], "inclus": 1, "runandwait": 1, "block": [1, 3], "while": 1, "queu": 1, "appropri": 1, "empti": 1, "affect": 1, "which": [1, 3, 4], "select": [1, 3, 4], "indic": 1, "enter": 1, "own": [1, 3], "": 1, "deliv": 1, "properli": 1, "e": 1, "g": 1, "com": 1, "messag": 1, "clear": 1, "contain": 1, "inform": 1, "ag": 1, "year": 1, "unknown": 1, "gender": 1, "male": 1, "femal": 1, "neutral": 1, "id": 1, "via": 1, "setpropertyvalu": 1, "attribut": 1, "alwai": 1, "defin": 1, "languag": 1, "human": 1, "readabl": 1, "import": 1, "salli": 1, "sell": 1, "seashel": 1, "seashor": 1, "quick": 1, "brown": 1, "fox": 1, "jump": 1, "over": 1, "lazi": 1, "dog": 1, "save_to_fil": 1, "hello": 1, "world": 1, "test": [1, 2, 4], "mp3": 1, "def": 1, "onstart": 1, "print": 1, "onword": 1, "onend": 1, "10": [1, 3, 4], "50": 1, "25": 1, "what": 1, "elif": 1, "iter": 1, "insid": 1, "externalloop": 1, "describ": 2, "packag": [2, 3], "v": 2, "3": [2, 3, 4], "3a": [2, 3, 4], "render": 2, "sep": 2, "09": 2, "2023": 2, "tabl": 2, "content": 2, "The": [2, 3, 4], "interfac": 2, "voic": 2, "metadata": 2, "exampl": 2, "driver": [2, 3, 4], "instal": 2, "version": [2, 4], "pip": 2, "system": [2, 4], "wide": 2, "virtualenv": 2, "project": 2, "link": 2, "home": 2, "page": 2, "github": 2, "pypi": 2, "githubpag": 2, "oper": [3, 4], "known": [3, 4], "work": [3, 4], "mai": [3, 4], "xp": [3, 4], "vista": [3, 4], "7": 3, "5": [3, 4], "leopard": [3, 4], "6": [3, 4], "snow": [3, 4], "lion": 3, "8": [3, 4], "mountain": 3, "32": 3, "bit": 3, "ubuntu": [3, 4], "desktop": [3, 4], "edit": [3, 4], "intrepid": [3, 4], "9": [3, 4], "04": [3, 4], "jaunti": [3, 4], "karmic": [3, 4], "12": 3, "precis": 3, "explain": [3, 4], "how": [3, 4], "specif": [3, 4], "well": [3, 4], "site": 3, "folder": 3, "first": 3, "pywin32": 3, "extens": 3, "Then": 3, "sudo": 3, "copi": 3, "virtual": 3, "environ": 3, "ll": 3, "need": 3, "give": 3, "order": 3, "myproj": 3, "execut": 3, "bin": 3, "setuptool": 3, "done": 3, "script": 3, "unless": 3, "wish": 3, "compil": 3, "pyobjc": 3, "lengthi": 3, "successfulli": 3, "depend": 3, "cut": 3, "off": 3, "bash": 3, "py3": 4, "tt": 4}, "objects": {"": [[1, 0, 0, "-", "pyttsx3"]], "pyttsx3": [[0, 0, 0, "-", "driver"], [0, 0, 0, "-", "drivers"], [1, 0, 0, "-", "engine"], [1, 3, 1, "", "init"], [1, 0, 0, "-", "voice"]], "pyttsx3.driver": [[0, 1, 1, "", "DriverProxy"]], "pyttsx3.driver.DriverProxy": [[0, 2, 1, "", "isBusy"], [0, 2, 1, "", "notify"], [0, 2, 1, "", "setBusy"]], "pyttsx3.drivers": [[0, 1, 1, "", "DriverDelegate"], [0, 3, 1, "", "buildDriver"]], "pyttsx3.drivers.DriverDelegate": [[0, 2, 1, "", "__init__"], [0, 2, 1, "", "destroy"], [0, 2, 1, "", "endLoop"], [0, 2, 1, "", "getProperty"], [0, 2, 1, "", "say"], [0, 2, 1, "", "setProperty"], [0, 2, 1, "", "startLoop"], [0, 2, 1, "", "stop"]], "pyttsx3.engine": [[1, 1, 1, "", "Engine"]], "pyttsx3.engine.Engine": [[1, 2, 1, "", "connect"], [1, 2, 1, "", "disconnect"], [1, 2, 1, "", "endLoop"], [1, 2, 1, "", "getProperty"], [1, 2, 1, "", "isBusy"], [1, 3, 1, "", "onError"], [1, 3, 1, "", "onFinishUtterance"], [1, 3, 1, "", "onStartUtterance"], [1, 3, 1, "", "onStartWord"], [1, 2, 1, "", "runAndWait"], [1, 2, 1, "", "say"], [1, 2, 1, "", "setProperty"], [1, 2, 1, "", "startLoop"], [1, 2, 1, "", "stop"]], "pyttsx3.voice": [[1, 1, 1, "", "Voice"]], "pyttsx3.voice.Voice": [[1, 4, 1, "", "age"], [1, 4, 1, "", "gender"], [1, 4, 1, "", "id"], [1, 4, 1, "", "languages"], [1, 4, 1, "", "name"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:function", "4": "py:attribute"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "function", "Python function"], "4": ["py", "attribute", "Python attribute"]}, "titleterms": {"implement": 0, "driver": [0, 1], "The": [0, 1], "interfac": [0, 1], "driverproxi": 0, "us": [1, 3], "py3": [1, 2, 3], "tt": [1, 2, 3], "engin": 1, "factori": 1, "voic": 1, "metadata": 1, "exampl": 1, "speak": 1, "text": [1, 2], "save": 1, "file": 1, "listen": 1, "event": 1, "interrupt": 1, "an": 1, "utter": 1, "chang": 1, "speech": [1, 2], "rate": 1, "volum": 1, "run": 1, "loop": 1, "extern": 1, "platform": 2, "instal": 3, "test": 3, "version": 3, "pip": 3, "system": 3, "wide": 3, "On": 3, "window": 3, "osx": 3, "linux": 3, "virtualenv": 3, "support": 4, "synthes": 4}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 56}}) \ No newline at end of file +Search.setIndex({"docnames": ["drivers", "engine", "index", "install", "support"], "filenames": ["drivers.rst", "engine.rst", "index.rst", "install.rst", "support.rst"], "titles": ["Implementing drivers", "Using py3-tts", "py3-tts - Text-to-speech platform", "Installing py3-tts", "Supported synthesizers"], "terms": {"you": [0, 3], "can": [0, 1, 3], "new": [0, 1, 3], "pyttsx3": [0, 1, 3, 4], "engin": [0, 2], "creat": [0, 1], "python": [0, 2, 3], "modul": [0, 1], "name": [0, 1, 3, 4], "your": [0, 3], "requir": [0, 1, 3], "factori": [0, 2], "function": [0, 1], "class": [0, 1], "us": [0, 2], "method": [0, 1], "instanc": [0, 1], "provid": [0, 1], "control": 0, "event": 0, "queue": [0, 1], "notifi": 0, "applic": [0, 1], "about": [0, 1], "all": [0, 1], "must": [0, 1], "follow": [0, 1, 3, 4], "builddriv": 0, "proxi": 0, "driverdeleg": 0, "instanti": 0, "deleg": 0, "subclass": 0, "declar": 0, "thi": [0, 1, 2], "paramet": [0, 1], "i": [0, 1, 3, 4], "actual": 0, "cannot": 0, "serv": 0, "base": 0, "It": 0, "onli": [0, 3, 4], "here": 0, "purpos": 0, "document": [0, 2, 3, 4], "__init__": 0, "arg": 0, "kwarg": 0, "none": [0, 1], "constructor": 0, "store": 0, "refer": [0, 1], "destroi": 0, "option": 0, "invok": [0, 1], "when": [0, 1], "being": 0, "so": [0, 1], "clean": [0, 3], "up": [0, 1, 3], "ani": 0, "synthes": [0, 1, 2, 3], "resourc": 0, "If": [0, 1, 3], "proce": 0, "safe": 0, "endloop": [0, 1], "immedi": [0, 1], "end": [0, 1], "run": 0, "loop": 0, "getproperti": [0, 1], "string": [0, 1], "object": [0, 1], "get": [0, 1], "properti": [0, 1], "valu": [0, 1], "At": 0, "least": 0, "those": 0, "list": [0, 1, 2, 3, 4], "support": [0, 1, 2], "queri": [0, 1], "return": [0, 1], "time": [0, 1], "invoc": [0, 1], "sai": [0, 1], "text": [0, 3, 4], "unicod": [0, 1], "speak": 0, "an": 0, "utter": 0, "speech": [0, 3, 4], "output": [0, 1], "accord": [0, 1], "current": [0, 1], "appli": 0, "befor": [0, 1], "setbusi": 0, "true": [0, 1], "stall": 0, "further": 0, "process": [0, 1, 3], "command": [0, 1], "until": 0, "complet": [0, 1], "interrupt": 0, "trigger": 0, "one": 0, "start": [0, 1], "notif": [0, 1], "begin": [0, 1], "word": [0, 1], "each": [0, 3, 4], "finish": [0, 1], "associ": [0, 1], "includ": [0, 1, 3, 4], "setproperti": [0, 1], "set": [0, 1], "after": [0, 1], "fals": [0, 1], "pump": [0, 1], "chang": 0, "startloop": [0, 1], "respons": [0, 1], "send": 0, "given": [0, 1], "stop": [0, 1], "call": [0, 1], "dure": [0, 1], "go": 0, "ongo": 0, "receiv": 0, "construct": [0, 1], "public": 0, "other": [0, 1, 3, 4], "found": [0, 1], "code": 0, "ar": [0, 1, 3, 4], "reserv": 0, "isbusi": [0, 1], "bool": [0, 1], "busi": [0, 1], "next": 0, "mean": 0, "idl": 0, "topic": [0, 1], "fire": [0, 1], "pair": 0, "continu": 0, "init": [1, 3, 4], "initi": 1, "driverproxi": [1, 2], "load": 1, "implement": [1, 2], "from": [1, 3], "regist": 1, "unregist": 1, "callback": 1, "produc": 1, "drivernam": 1, "debug": 1, "request": 1, "alreadi": 1, "anoth": 1, "otherwis": 1, "default": [1, 3, 4], "best": 1, "avail": 1, "platform": [1, 3, 4], "sapi5": [1, 3, 4], "window": [1, 4], "nsss": 1, "nsspeechsynthes": [1, 3, 4], "mac": [1, 3, 4], "o": [1, 3, 4], "x": [1, 3, 4], "espeak": [1, 3, 4], "everi": 1, "enabl": 1, "rais": 1, "importerror": 1, "runtimeerror": 1, "fail": 1, "access": [1, 3], "synthesi": 1, "connect": 1, "cb": 1, "callabl": 1, "dict": 1, "subscrib": 1, "A": 1, "token": 1, "caller": 1, "unsubscrib": 1, "later": 1, "valid": 1, "signatur": 1, "have": [1, 3], "onstartutter": 1, "folow": 1, "onstartword": 1, "locat": 1, "integ": 1, "length": 1, "onfinishutter": 1, "wa": [1, 2], "its": [1, 3], "entireti": 1, "error": 1, "encount": 1, "onerror": 1, "except": 1, "caus": 1, "disconnect": 1, "usedriverloop": 1, "exit": 1, "per": 1, "minut": 1, "200": 1, "identifi": 1, "activ": [1, 3], "descriptor": 1, "float": 1, "point": 1, "rang": 1, "0": 1, "1": [1, 4], "inclus": 1, "runandwait": 1, "block": 1, "while": 1, "queu": 1, "appropri": 1, "empti": 1, "affect": 1, "which": [1, 3, 4], "select": [1, 3, 4], "indic": 1, "enter": 1, "own": [1, 3], "": 1, "deliv": 1, "properli": 1, "e": 1, "g": 1, "com": 1, "messag": 1, "clear": 1, "contain": 1, "inform": 1, "ag": 1, "year": 1, "unknown": 1, "gender": 1, "male": 1, "femal": 1, "neutral": 1, "id": 1, "via": 1, "setpropertyvalu": 1, "attribut": 1, "alwai": 1, "defin": 1, "languag": 1, "human": 1, "readabl": 1, "import": 1, "salli": 1, "sell": 1, "seashel": 1, "seashor": 1, "quick": 1, "brown": 1, "fox": 1, "jump": 1, "over": 1, "lazi": 1, "dog": 1, "save_to_fil": 1, "hello": 1, "world": 1, "test": [1, 2, 4], "mp3": 1, "def": 1, "onstart": 1, "print": 1, "onword": 1, "onend": 1, "10": [1, 3, 4], "50": 1, "25": 1, "what": 1, "elif": 1, "iter": 1, "insid": 1, "externalloop": 1, "describ": 2, "packag": [2, 3], "v": 2, "3": [2, 3, 4], "3a": [2, 3, 4], "render": 2, "sep": 2, "09": 2, "2023": 2, "tabl": 2, "content": 2, "The": [2, 3, 4], "interfac": 2, "voic": 2, "metadata": 2, "exampl": 2, "driver": [2, 3, 4], "instal": 2, "version": [2, 4], "pip": 2, "system": [2, 4], "wide": 2, "virtualenv": 2, "project": 2, "link": 2, "home": 2, "page": 2, "github": 2, "pypi": 2, "githubpag": 2, "oper": [3, 4], "known": [3, 4], "work": [3, 4], "mai": [3, 4], "xp": [3, 4], "vista": [3, 4], "7": 3, "5": [3, 4], "leopard": [3, 4], "6": [3, 4], "snow": [3, 4], "lion": 3, "8": [3, 4], "mountain": 3, "32": 3, "bit": 3, "ubuntu": [3, 4], "desktop": [3, 4], "edit": [3, 4], "intrepid": [3, 4], "9": [3, 4], "04": [3, 4], "jaunti": [3, 4], "karmic": [3, 4], "12": 3, "precis": 3, "explain": [3, 4], "how": [3, 4], "specif": [3, 4], "well": [3, 4], "site": 3, "folder": 3, "first": 3, "pywin32": 3, "extens": 3, "Then": 3, "sudo": 3, "copi": 3, "virtual": 3, "environ": 3, "ll": 3, "need": 3, "give": 3, "order": 3, "myproj": 3, "execut": 3, "bin": 3, "setuptool": 3, "done": 3, "script": 3, "unless": 3, "wish": 3, "compil": 3, "pyobjc": 3, "lengthi": 3, "successfulli": 3, "depend": 3, "cut": 3, "off": 3, "py3": 4, "tt": 4}, "objects": {"": [[1, 0, 0, "-", "pyttsx3"]], "pyttsx3": [[0, 0, 0, "-", "driver"], [0, 0, 0, "-", "drivers"], [1, 0, 0, "-", "engine"], [1, 3, 1, "", "init"], [1, 0, 0, "-", "voice"]], "pyttsx3.driver": [[0, 1, 1, "", "DriverProxy"]], "pyttsx3.driver.DriverProxy": [[0, 2, 1, "", "isBusy"], [0, 2, 1, "", "notify"], [0, 2, 1, "", "setBusy"]], "pyttsx3.drivers": [[0, 1, 1, "", "DriverDelegate"], [0, 3, 1, "", "buildDriver"]], "pyttsx3.drivers.DriverDelegate": [[0, 2, 1, "", "__init__"], [0, 2, 1, "", "destroy"], [0, 2, 1, "", "endLoop"], [0, 2, 1, "", "getProperty"], [0, 2, 1, "", "say"], [0, 2, 1, "", "setProperty"], [0, 2, 1, "", "startLoop"], [0, 2, 1, "", "stop"]], "pyttsx3.engine": [[1, 1, 1, "", "Engine"]], "pyttsx3.engine.Engine": [[1, 2, 1, "", "connect"], [1, 2, 1, "", "disconnect"], [1, 2, 1, "", "endLoop"], [1, 2, 1, "", "getProperty"], [1, 2, 1, "", "isBusy"], [1, 3, 1, "", "onError"], [1, 3, 1, "", "onFinishUtterance"], [1, 3, 1, "", "onStartUtterance"], [1, 3, 1, "", "onStartWord"], [1, 2, 1, "", "runAndWait"], [1, 2, 1, "", "say"], [1, 2, 1, "", "setProperty"], [1, 2, 1, "", "startLoop"], [1, 2, 1, "", "stop"]], "pyttsx3.voice": [[1, 1, 1, "", "Voice"]], "pyttsx3.voice.Voice": [[1, 4, 1, "", "age"], [1, 4, 1, "", "gender"], [1, 4, 1, "", "id"], [1, 4, 1, "", "languages"], [1, 4, 1, "", "name"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:function", "4": "py:attribute"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "function", "Python function"], "4": ["py", "attribute", "Python attribute"]}, "titleterms": {"implement": 0, "driver": [0, 1], "The": [0, 1], "interfac": [0, 1], "driverproxi": 0, "us": [1, 3], "py3": [1, 2, 3], "tt": [1, 2, 3], "engin": 1, "factori": 1, "voic": 1, "metadata": 1, "exampl": 1, "speak": 1, "text": [1, 2], "save": 1, "file": 1, "listen": 1, "event": 1, "interrupt": 1, "an": 1, "utter": 1, "chang": 1, "speech": [1, 2], "rate": 1, "volum": 1, "run": 1, "loop": 1, "extern": 1, "platform": 2, "instal": 3, "test": 3, "version": 3, "pip": 3, "system": 3, "wide": 3, "On": 3, "window": 3, "osx": 3, "linux": 3, "virtualenv": 3, "support": 4, "synthes": 4}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 56}}) \ No newline at end of file diff --git a/gen_docs.sh b/gen_docs.sh index 427f852..d1f89f3 100644 --- a/gen_docs.sh +++ b/gen_docs.sh @@ -2,8 +2,14 @@ # 'set -e' stops the execution of a script if a command or pipeline has an error. # This is the opposite of the default shell behaviour, which is to ignore errors in scripts. set -e +if [ -e "docs/CNAME" ]; then + cp "docs/CNAME" "CNAME" +fi rm -rf docs mkdir docs mkdir -p doc_generator/_static # creates a _static folder if unavailable -cd doc_generator && make dirhtml && mv _build/dirhtml/* ../docs && rm -rf _build -touch ../docs/.nojekyll +cd doc_generator && make dirhtml && mv _build/dirhtml/* ../docs && rm -rf _build && cd .. +touch docs/.nojekyll +if [ -e "CNAME" ]; then + cp "CNAME" "docs/CNAME" +fi