This project uses pre-trained models to change the voice in audio files. The service allows you to upload audio files, select a voice model, and generate a new audio file with the modified voice.
You can use VoiceIt directly online on my website https://voiceit.pavloh.com or use your resources and host the project locally by following the steps below.
- Python >3.7
- Gradio
- FFmpeg
- FFprobe
-
Clone the repository:
git clone https://github.com/impavloh/voiceit.git
-
Change to the project directory:
cd voiceit
-
Install the necessary dependencies:
pip install -r requirements.txt
-
Create a folder called "models" and import pre-trained models to use later. In this case, you can use my models: https://huggingface.co/ImPavloh/Streamers-AI-Voices
-
Run the main script:
python voiceit.py
-
When running the voiceit.py file, a terminal will open with a link to access the VoiceIt! interface. For example:
http://localhost:7860
-
Select a voice model from the dropdown list.
-
Upload an audio file.
-
Click on the "Change voice" button to generate a new audio file with the modified voice.
-
Listen or download the result in the audio player.
-
You can delete the data and restart the process using the "Delete" button.
- Audio files should contain only one voice and be free of noise or background music.
- The conversion time will depend on the duration of the audio and web usage (if used locally it will depend on your resources)
By using this project, you agree to the license and terms of use.