iTranslated by AI
RVC Explained Simply: High-Quality Voice Conversion with Minimal Data
RVC (Retrieval-based Voice Conversion) for Rabbits
Hello! In this article, I will explain the voice conversion technology called Retrieval-based Voice Conversion (RVC) in a way that even a rabbit can understand.
What is RVC?
Retrieval-based Voice Conversion (RVC) is an AI technology that achieves high-quality voice conversion from a small amount of voice data. Generally, when people think of a "voice changer," they might imagine mechanical voice processing, but RVC takes a completely different approach.
The most significant feature of RVC is that with only about 10 minutes of voice data, it can learn the characteristics of the speaker's voice and convert other audio into that voice color. Furthermore, it can perform the conversion while firmly maintaining the intonation and emotional expression of the original audio.

Differences from Conventional Voice Conversion Technologies
Compared to conventional voice conversion technologies, RVC has the following differences:
-
Small amount of training data
Conventional technologies required several to dozens of hours of voice data, but RVC allows for high-quality conversion with just about 10 minutes. That's a short enough time for a rabbit to complete a lap around the park! -
Retrieval-based approach
As the name "Retrieval-based" suggests, it searches for and utilizes the most similar feature vectors from the speaker's learned characteristics during conversion. This allows for high-quality conversion even with small amounts of data. -
Retention of intonation
Since the intonation and emotional expression of the original audio can be firmly maintained, natural conversion results can be obtained.
Challenges Solved by RVC
RVC solves the following challenges in voice conversion:
- Reduced burden of data collection: No need for long hours of voice recording.
- Privacy considerations: Lower risk of personal information leakage because it can learn from a small amount of data.
- Avoiding copyright issues: Safe to use because it is pre-trained on open-source datasets.
- Natural conversion quality: Enables natural conversion rather than mechanical sounding voices.
How RVC Works
To understand how RVC works, let's first look at its basic components.
Basic Architecture
RVC primarily consists of the following components:
- HuBERT Model: Extracts content information (information excluding speaker characteristics) from the audio.
- Retrieval Module: Searches for similar vectors from the target speaker's feature vectors.
- VITS-based Voice Synthesis: Generates new audio by combining the extracted content information with the target speaker's characteristics.
Relationship with the VITS Model
RVC is based on a model called VITS (Variational Inference with adversarial learning for end-to-end Text-to-Speech). VITS is a model designed to achieve high-quality voice synthesis, using a method called adversarial learning to generate natural speech.
By incorporating a retrieval module into this VITS model, RVC achieves efficient voice conversion with a small amount of data. It's like a rabbit attaching special springs to its feet to further enhance its natural jumping ability!
Features of the Retrieval-based Approach
The "Retrieval-based" approach, which is the namesake of RVC, has the following features:
-
K-NN (K-Nearest Neighbor) Algorithm: During conversion, it searches for the K vectors closest to the feature vector of the input audio from the target speaker's data (RVC uses K=8).
-
Vector Index: For efficient searching, the speaker's feature vectors are indexed and stored.
-
Selection Based on Similarity: Conversion accuracy is improved by prioritizing the most similar vectors.
These technologies make high-precision conversion possible even with small amounts of data.
Why Learning with Small Amounts of Data is Possible
The secret behind RVC's ability to achieve high-quality conversion even with a small amount of data lies in the following points:
-
Utilization of Pre-trained Models: It uses models pre-trained on the VCTK dataset, which consists of approximately 50 hours of open-source voice data.
-
Transfer Learning: Based on the pre-trained model, fine-tuning is performed using the target speaker's data.
-
Efficiency of the Retrieval Module: By searching for feature vectors, appropriate characteristics are extracted and utilized even from minimal data.
This is similar to how a rabbit can master jumping techniques quickly with very little practice!
Features and Merits of RVC
RVC offers the following features and merits:
High-quality Voice Conversion with Small Data
As mentioned earlier, RVC can learn from approximately 10 minutes of voice data. This provides the following benefits:
- Easy to Get Started: No need for long recordings, allowing you to easily try out voice conversion.
- Supports Various Voice Qualities: Because it learns effectively even with little data, it can realize conversions for a wide variety of voice types.
- Easy for Individual Use: You can easily experiment with your own voice or a friend's voice without needing massive datasets like those from professional voice actors.
Retention of Intonation
One of the noteworthy features of RVC is its ability to firmly maintain the intonation and emotional expression of the original audio:
- Maintaining Natural Speaking Style: Parts you want to emphasize or emotional expressions are preserved as they are.
- Application to Singing Voices: Ideal for creating AI cover songs because it can change only the voice quality while keeping the melody and rhythm of the song.
- Conversion with Little Discomfort: Enables conversion that maintains a natural way of speaking rather than a mechanical voice.
Eliminating Copyright Concerns via Open-source Datasets
The base model of RVC is trained on an open-source voice dataset (VCTK) of about 50 hours:
- Fewer Copyright Concerns: It can be used with peace of mind, including for commercial use.
- High Transparency: Since it is open source, technical details are public and easy to understand.
- Improved by the Community: Since many developers participate in improvements, continuous functional enhancement can be expected.
Multilingual Support
RVC extracts and utilizes language-independent voice features, making it compatible with multiple languages:
- Cross-lingual Voice Conversion: Conversion is possible between different languages, such as Japanese to English or Chinese.
- Retention of Accents: It can convert only the voice quality while maintaining the original speaker's accent and linguistic characteristics.
- International Utilization: It can be used for content creation in various languages around the world.
Integration with Real-time Voice Conversion
One of the ways to actually utilize RVC technology is real-time voice conversion. Here, let's look at the relationship between the "voice-changer" project and RVC.

Relationship with the voice-changer project
"voice-changer" is software developed by w-okada that performs real-time voice conversion using voice conversion models such as RVC.
The relationship between RVC and "voice-changer" is as follows:
-
Division of Roles
- RVC: Provides model training and algorithms for voice conversion.
- voice-changer: Provides the software environment to realize real-time voice conversion by utilizing RVC models.
-
Integration Flow
- Train a model with RVC.
- Export the trained model.
- Load the exported model into voice-changer and use it for real-time conversion.
-
Mutually Complementary Relationship
- Although developed by different teams, they form an ecosystem that functions through mutual cooperation.
- While RVC specializes in model development, voice-changer provides functionality as a practical application.
How Real-time Voice Conversion Works
The mechanism of real-time voice conversion using voice-changer is as follows:
-
Audio Input: Obtains real-time audio input from a microphone.
-
Real-time Processing:
- Splits the input audio into small chunks.
- Executes conversion processing using the RVC model for each chunk.
- Reconstructs the converted audio chunks.
-
Audio Output: Outputs the converted audio from speakers in real time.
It's like a rabbit jumping and changing the color of the carrots it touches one after another!
Techniques to Minimize Latency
The biggest challenge in real-time voice conversion is the delay (latency) from input to output. voice-changer uses the following techniques to minimize latency:
-
Optimized Models: Improving calculation speed by making RVC models lighter or optimizing them.
-
ASIO Support: Reducing audio input/output delay by supporting the low-latency audio interface standard (ASIO).
-
Optimization of Processing Units: Optimizing the size of the audio chunks being processed.
-
Acceleration by GPU: Increasing processing speed through parallel computing using GPUs.
Through these efforts, voice-changer has succeeded in reducing end-to-end latency to as low as 90ms when using ASIO input/output devices. Even with standard settings, voice conversion is possible with a latency of around 170ms.
How to Use RVC
Let's look at the steps for actually using RVC. Here, we will explain the flow from model training to voice conversion using the RVC WebUI.

Environment Setup
To use RVC, you first need to set up the environment. There are several ways to do this:
-
Installation from the Official GitHub Repository
# Clone the repository git clone https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git cd Retrieval-based-Voice-Conversion-WebUI # Install dependencies pip install -r requirements.txt -
Using Integrated Packages
- Windows: Double-click
go-web.bat - MacOS: Grant execution permissions and run
run.sh
- Windows: Double-click
-
Using Google Colab
- You can use it without setting up a local environment by using the officially provided notebooks.
Model Training Steps
Training a model is performed with the following steps:
-
Preparation of Voice Data
- Prepare voice data of the target speaker (about 10 minutes).
- Ideally, the audio should be clear with little background noise.
- Formats can be common audio formats such as .wav, .mp3, or .flac.
-
Data Pre-processing
- Select the "Dataset" tab in the WebUI.
- Upload the voice files and configure the processing options.
- Click the "Process Data" button to start processing.
- Click the "Feature Extraction" button to extract HuBERT features and pitch information.
-
Training Configuration
- Select the "Train" tab in the WebUI.
- Set parameters such as batch size and the number of epochs.
- RMVPE is recommended as the pitch extraction algorithm (it is the latest and highly accurate).
- Click the "Train Model" button to start training.
-
Model Evaluation and Selection
- Test voice conversion at each checkpoint during training.
- Select the checkpoint with the best quality.
- Generate an inference model using the "Model Export" function.
For a rabbit, this is like growing carrots in a field. It takes time, but the delicious harvest (high-quality voice conversion) afterwards is something to look forward to!
Inference (Voice Conversion) Steps
The steps for performing voice conversion using a trained model are as follows:
-
Preparation of the Source Audio
- Prepare the original audio file you want to convert.
- Select the "Inference" tab in the WebUI and upload the file.
-
Model and Parameter Configuration
- Select the trained model.
- Set the pitch shift amount (adjust the height of the voice).
- Select the F0 method (pitch extraction method) (RMVPE is recommended).
-
Execution of Conversion
- Click the "Convert" button to start processing.
- Once processing is complete, the converted audio can be played or downloaded.
-
Adjust as Necessary
- If you are not satisfied with the result, adjust the parameters and try again.
- Pitch shift values, in particular, significantly affect the voice quality, so fine-tuning is effective.
Tips for Parameter Adjustment
Here are some tips for adjusting parameters to obtain better conversion results:
-
Pitch Shift
- Use a positive value (e.g., +12) when converting from a male voice to a female voice.
- Use a negative value (e.g., -12) when converting from a female voice to a male voice.
- A small value (±0 to 3) is appropriate for conversions between voices of the same gender.
-
F0 Method (Pitch Extraction Algorithm)
- RMVPE: Highly recommended as it is the most accurate.
- Crepe: High quality but has a high computational cost.
- Harvest/Dio: Lightweight calculations but slightly lower accuracy.
-
Index Ratio (Feature Retrieval Ratio)
- Values around 0.5 to 0.75 generally yield good results.
- Larger values make the output closer to the training data, but also increase the risk of over-fitting.
-
Protect (Silence Protection)
- 0.33 is a common setting.
- This is an important parameter for suppressing noise in silent sections.
Adjusting these parameters is like adjusting the length or angle of a rabbit's ears. A slight adjustment can give a completely different impression!
Application Examples and Future Prospects
RVC is being utilized in various fields. Let's explore some of these application examples and future prospects.
AI Cover Song Production
RVC is particularly popular for creating music covers:
- Singing with a Famous Artist's Voice: Converting your own singing voice into the voice of a famous artist.
- Singing with Character Voices: Singing in the voice of an anime character or similar.
- Cross-lingual Singing: Enabling singing in different languages.
In this field, many works are published as "AI Covers" on platforms like YouTube and are gaining popularity.
Virtual YouTubers / VTubers
RVC has also become an important tool in the VTuber industry:
- Real-time Voice Conversion: Maintaining the character's voice during live streaming.
- Portraying Multiple Characters: Assisting a single voice actor in playing multiple characters distinctly.
- Reducing Burden during Long Streams: Maintaining the character's voice while reducing the strain on the vocal cords.
Podcasts / Narration
It is also being utilized in the field of content creation:
- Unifying Narrator Voice Quality: Maintaining consistency even if the voice quality changes across multiple recording sessions.
- Voice Reproduction from Few Samples: Replicating voice quality from limited narration material.
- Privacy Protection through Voice Modification: Ensuring the anonymity of speakers in interviews and other settings.
Game Development
It also contributes to increasing the efficiency of game development:
- Prototyping: Creating temporary voices during the early stages of development.
- Localization: Maintaining voice quality when adapting content to different languages.
- Diversifying NPC Voices: Generating numerous character voices using a small number of voice actors.
Expectations for RVCv3
RVC is continuously evolving, and the following improvements are expected in the next version, RVCv3:
- Larger Parameters: Enhancing the model's expressive power.
- Larger Datasets: Improving the quality of pre-training.
- Better Effects: Further enhancing conversion quality.
- Smaller Training Data Requirements: Achieving high-quality conversion with just a few minutes of data.
- Equivalent Inference Speed: Improving quality while maintaining processing speed.
In a sense, it's like a rabbit being able to achieve higher jumps with even less practice!
Summary
RVC (Retrieval-based Voice Conversion) is an innovative technology that achieves high-quality voice conversion from a small amount of voice data. Its features are as follows:
- Learning with small amounts of data: Possible to train with just about 10 minutes of voice data.
- Retrieval-based approach: High-quality conversion through similarity vector search.
- Retention of intonation: Maintains the emotional expression of the original voice.
- Open source: No copyright concerns, and anyone can use it.
- Real-time compatibility: Practical applications are possible through integration with voice-changer.
With the advent of RVC, voice conversion technology has become more accessible and practical. Applications are expanding in various fields, such as AI cover song production, VTuber activities, podcast production, and game development.
RVC will continue to evolve, likely achieving even higher quality conversions with less data in the future. Let's keep an eye on the development of voice conversion technology.
This concludes the explanation of RVC technology that even a rabbit can understand. Please go ahead and try RVC for yourselves! 🐰
Discussion