Skip to main content

pytalker - Text-To-Speech code to wrap Google's TTS.

Project description

pytalker  Copyright (C) 2014  F. Brezo and Y. Rubio, i3visio


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

For more details on this issue, run: python --license


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 cd pytalker sudo python build sudo python install or wget unzip cd pytalker-master sudo python build sudo python 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.


So as to run the program, navigate to pytalker-master/pytalker and run: python -h The usage is described as follows: usage: [-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

Download files

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

Files for pytalker, version v0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pytalker-v0.1.0.linux-i686.tar.gz (6.3 kB) File type Dumb Binary Python version any Upload date Hashes View
Filename, size pytalker-v0.1.0.tar.gz (8.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page