/RVC-Discord-Bot

Convert audio/video files using Retrieval-Based-Voice-Conversion through a Discord bot

Primary LanguagePython

Retrieval-Based-Voice-Conversion-Bot

A Discord bot with the capabilities of processing audio/video through RVC

RVCbot.mp4

Summary

This Discord bot has the following features:

  • Ability to generate Text-To-Speech like outputs.
  • Ability to generate audio using Open AI's API and Edge-tts.
  • Ability to process audio and video files through RVC.

Getting Started

In order to host this bot you are going to have to use Python 3.10.0, otherwise it won't work. You can download it by clicking here!

In order to convert video files you will need to have FFmpeg in the directory you are currently working on. You will also need yt-dlp.

You are also going to need these two files in your directory:

In the folder you are using for this bot, go ahead and make an environment using Python 3.10.0:

Python -m venv env

Then we are going to activate it using the terminal:

.\env\Scripts\Activate.bat

After you are done setting up the environment, you are going to have to install PyTorch here's the link for it, PyTorch

Requirements

After PyTorch is done installing, you are going to run these two commands:

pip install -e git+https://github.com/JarodMica/rvc.git#egg=rvc
pip install -e git+https://github.com/tpnto/rvc-tts-pipeline.git@rvc-output-name#egg=rvc-tts-pipe

Once these two are done installing, we are going to have to install the rest of the packages you need, in order to install them you simply run this command:

pip install -r requirements.txt

If you have followed these steps, you should be able to run this bot locally!