esnya / rvc-eval

Simplified implementation of the RVC (Retrieval-based Voice Conversion) evaluation for easy integration into other projects. Removes unnecessary features and provides a sample CLI for real-time conversion.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RVC Eval Simplified

Description

This project is a simplified implementation of the evaluation part of the Retrieval-based Voice Conversion (RVC) system. It aims to make it easy to use in any Python code by removing unnecessary components. As a sample, a command-line interface (CLI) is provided for real-time voice conversion.

Features

  • Simplified RVC evaluation
  • Easy integration into any Python code
  • Real-time voice conversion via CLI

Project Name

RVC Eval Simplified (rvc-eval) is an appropriate name for this project as it highlights the simplified evaluation aspect of the original RVC system.

Installation

  1. Clone this repository:
git clone https://github.com/esnya/rvc-eval.git
  1. Initialize and update the RVC submodule in the rvc directory:
cd rvc-eval
git submodule update --init --recursive
  1. Install dependencies using Pipenv:
pipenv install
  1. Download the Hubert model (hubert_base.pt) from Hugging Face and place it in the models directory:

  2. Activate the Pipenv environment:

pipenv shell

Usage

  1. To list available audio devices:
python -m rvc_eval.cli --list-audio-devices
  1. To run the voice conversion system (with the default hubert_base.pt model or specify a custom path with the --hubert option):
python -m rvc_eval.cli --model path/to/your/model.pth --input-device-index 0 --output-device-index 1

Recommended Dependencies and Requirements

  • Python: 3.10.x
  • PyTorch: 2.0.0+cu118
  • Pipenv is used for managing dependencies.

Credits

License

This project is licensed under the MIT License, following the licenses of the original RVC repository and the Voice Changer repository. See the LICENSE file for details.

About

Simplified implementation of the RVC (Retrieval-based Voice Conversion) evaluation for easy integration into other projects. Removes unnecessary features and provides a sample CLI for real-time conversion.


Languages

Language:Python 100.0%