Clone Your Voice Using OpenVoice | Text to Speech

Here is how you can clone your voice in seconds using OpenVoice. You can also convert text to speech using this application, and it is absolutely free.

First, we need to create a Python environment. In this video, we are using Anaconda. For those who do not have Anaconda, please visit anaconda.com and install it to your PC. After the installation is complete, you will find Anaconda Prompt in the Start menu. Create a Python environment by typing conda create –name openvoice python=3.10. After it has been installed, activate it with conda activate openvoice.

Now, go to the GitHub page and download all the OpenVoice files. Extract the ZIP folder to your desktop. In Anaconda Prompt, navigate to this folder using cd [folder path]. We will need to install all dependencies to run OpenVoice. For that, use pip install -r requirements.txt. Also, install FFmpeg using conda install ffmpeg. Since the application runs on Jupyter, install Jupyter Notebook with conda install -c conda-forge jupyterlab. You also need to install widgets using pip install notebook ipywidgets.

After this, download the V1 and V2 checkpoints from the OpenVoice GitHub page and extract them to the OpenVoice directory. To run the application, launch Jupyter Notebook with jupyter notebook, open demo_part1.ipynb, and execute each cell. Replace the sample audio in the resources folder with your own audio file, adjust parameters (e.g., style, speed), and generate cloned voice outputs in the output folder. For advanced features in demo_part3.ipynb, install MeloTTS via the provided GitHub command and resolve dependencies by running nltk_download.py.

To reopen OpenVoice after using it, open Anaconda Prompt, activate the environment, and navigate to the OpenVoice folder. After that, launch Jupyter Notebook. Ensure all files and checkpoints are present. You can then run demo1 or demo3 as per your requirements. We hope this video was useful.

Thank you very much.

STEPS:

Installing Anaconda
1. Download and Install anaconda (https://www.anaconda.com/)
2. Open Anaconda Prompt

Installing Python 3.10 and Activating
1.conda create –name openvoice python=3.10
2. conda activate openvoice

Install all Dependencies
1. pip install -r requirements.txt
2. conda install ffmpeg
3. conda install -c conda-forge jupyterlab
4. pip install notebook ipywidgets
5. jupyter notebook

MeloTTS (for V2)
1. pip install git+https://github.com/myshell-ai/MeloTTS.git
2. python -m unidic download

Install nltk files (for V2)
1. python download_nltk.py






SUBSCRIBE

SUBSCRIBE

Welcome to Hey, Let's Learn Something!

Please sign up here to receive the latest updates on our blogs, tutorials and download section :)

Thank you for subscribing :)