Metadata-Version: 2.1
Name: text-to-speech
Version: 1.5.3
Summary: A simple text to speech engine
Home-page: https://github.com/dewittethomas/text-to-speech
Author: Thomas Dewitte
Author-email: thomasdewittecontact@gmail.com
License: MIT
Keywords: sound playsound music wave wav mp3 media song play audio
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Operating System :: Microsoft :: Windows
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
License-File: LICENSE

# text-to-speech

[![npm](https://img.shields.io/pypi/v/text-to-speech.svg)](https://pypi.org/project/text-to-speech/)

This is a simple text to speech engine with some customizable options.

## Installation

Run the following to install:

```console
pip install text-to-speech
```

## Usage

### Speak

```python
speak()
```

Params:

```
Text: String ? The text to be read.
Language: String ? The language (IETF language tag) to read the text in.
Slow: Boolean ? Reads text more slowly.
Save: Boolean ? If the file has to be saved or not.
File: String ? If save == true, the file name to save the mp3 to.
Speak: Boolean ? If the text has to be read out loud.
```

Demo:

```python
from text_to_speech import speak

speak("Hello World", "en", save=True, file="Hello-World.mp3", speak=True)
```

# License
[MIT](https://github.com/dewittethomas/text-to-speech/blob/master/LICENSE)


