pytalker - Text-To-Speech code to wrap Google's TTS.
Project description
============================================================ pytalker Copyright (C) 2014 F. Brezo and Y. Rubio, i3visio ============================================================
Description:
pytalker is a python module designed to wrap the TTS capabilities of the Google’s TTS service. It easily implements a wrapper for the Google TTS service.
License: GPLv3
This is free software, and you are welcome to redistribute it under certain conditions.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
For more details on this issue, run: python pytalker-launcher.py --license
Installation:
It requires the installation of gst libraries. You can check if you have the library installed by typing: python -c "import gst" If no errors where shown, you can go on with this tutorial. In any other case, try to install this module manually. In Debian-like Linux distributions as follows: sudo apt-get install python-gst0.1
The installation under Python 2.7 for the development package is as follows having git installed: git clone http://github.com/i3visio/pytalker cd pytalker sudo python setup.py build sudo python setup.py install or wget http://github.com/i3visio/pytalker/archive/master.zip unzip pytalker-master.zip cd pytalker-master sudo python setup.py build sudo python setup.py install Superuser privileges are required so as to complete the installation. Afterwards, the module will be importable from any python code. You can check this by typing: python -c "import pytalker" If no error is displayed, the installation would have been performed correctly.
Usage:
So as to run the program, navigate to pytalker-master/pytalker and run: python pytalker-launcher.py -h The usage is described as follows: usage: pytalker-launcher.py [-h] -l <language> [<language> ...] [-o <path_to_output_folder>] -t <text> [<text> ...] (-d | -s) [--version]
The functionalities are described as follows: ``` optional arguments: -h, –help show this help message and exit -d, –download Downloading and playing the sound. -s, –say Playing the input text.
Processing arguments: Configuring the processing parameters.
-l [ …], –languages [ …] list of languages to be used. E. g.: en, es, fr, etc. -o , –output_folder path to the output folder where the results will be stored. -t [ …], –text [ …] text to be played between commas.
About arguments: Showing additional information about this program.
–version shows the version of the program and exists.
Note that the gst library should be installed on your system. In Debian-like OS try: sudo apt-get install python-gst0.10 ```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytalker-v0.1.0.tar.gz
.
File metadata
- Download URL: pytalker-v0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d90aaf13af3b86b451ddeb35f7d704e383c97c3cb25d9fe17cfa1f00a639e297 |
|
MD5 | 6a467523b587f48e2171f9047e79f22e |
|
BLAKE2b-256 | 9d25760d9045c8290238787fc9b0973fc9c1dff2071ed1bfcff6eaeef67d0db2 |
File details
Details for the file pytalker-v0.1.0.linux-i686.tar.gz
.
File metadata
- Download URL: pytalker-v0.1.0.linux-i686.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1f69a4181a1e714f595fa88c54600a40ae20197d26a613a0db269ea2559f4fd |
|
MD5 | d4977d28b4c278a0ea405493c238cc0d |
|
BLAKE2b-256 | e1e98878f98dc000f7250f33e36907b6346b3d1c476edd212bfbb4ab08a6acde |