This project is a Python script that monitors the system clipboard and converts any new text content into an audio file using the OpenAI(AVAL AI) API. The generated audio file is then played back to the user.
- Python 3.11
- install with
pip install -r requirements.txt
)
- Install the required libraries
- Run the script by executing
python main.py
- The script will start monitoring the system clipboard
- When new text content is detected in the clipboard, the script will generate an audio file and play it back to the user
- This script uses the OpenAI(AVAL AI) API to generate the audio file. You may need to obtain an API key from OpenAI(AVAL AI) and configure it in the script.
- The script generates an audio file named
speech.mp3
in the current working directory. You may want to modify the script to use a different file name or location.