Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mleidel/ovoc

Python GUI using OpenAI audio.speech API to convert text to speech audio file.
https://github.com/mleidel/ovoc

api audio openai python tkinter ttkbootstrap

Last synced: 2 days ago
JSON representation

Python GUI using OpenAI audio.speech API to convert text to speech audio file.

Awesome Lists containing this project

README

        

# Ovoc
### OpenAI Voice Desktop App
#### Python - tkinter - openai API

Ovoc uses the OpenAI audio.speech API with several speech parameters
to convert text into speech in the form of an audio file. The quality
of the speech produced is more lifelike than that of previous
text-to-speech technologies.

Explanation of the
[API parameters](https://platform.openai.com/docs/api-reference/audio/createSpeech "openai audio.speech")

![alttext](images/ovocGUI.png "title")

```bash
$ python3 ovoc.py

```

#### Required Modules

- openai
- ttkbootstrap

#### Other Requirements

> [OpenAI Key](https://platform.openai.com/api-keys "openai website")
configured in your OS environment as `GPTKEY`.

#### The 'Play' Button

On Linux:
> The program utility 'play' (SoX) plays back the audio file.

On Windows:
> The audio file is played back by the systems media player.