Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

Real-Time-Voice-Cloning

> 编程语言
Open source

Clone a voice in 5 seconds to generate arbitrary speech in real-time

60.1K stars0 likes1 views
WebsiteGitHub

About

Clone a voice in 5 seconds to generate arbitrary speech in real-time

Real-Time Voice Cloning

This repository is an implementation of Transfer Learning from Speaker Verification to Multispeaker Text-To-Speech Synthesis (SV2TTS) with a vocoder that works in real-time. This was my master's thesis.

SV2TTS is a deep learning framework in three stages. In the first stage, one creates a digital representation of a voice from a few seconds of audio. In the second and third stages, this representation is used as reference to generate speech given arbitrary text.

Video demonstration (click the picture):

Papers implemented

URL Designation Title Implementation source
1806.04558 SV2TTS Transfer Learning from Speaker Verification to Multispeaker Text-To-Speech Synthesis This repo
1802.08435 WaveRNN (vocoder) Efficient Neural Audio Synthesis fatchord/WaveRNN
1703.10135 Tacotron (synthesizer) Tacotron: Towards End-to-End Speech Synthesis fatchord/WaveRNN
1710.10467 GE2E (encoder) Generalized End-To-End Loss for Speaker Verification This repo

Heads up

Like everything else in Deep Learning, this repo has quickly gotten old. Many SaaS apps (often paying) will give you a better audio quality than this repository will. If you wish for an open-source solution with a high voice quality:

  • Check out paperswithcode for other repositories and recent research in the field of speech synthesis.
  • Check out Chatterbox for a similar project up to date with the 2025 SOTA in voice cloning

Running the toolbox

Both Windows and Linux are supported.

  1. Install ffmpeg. This is necessary for reading audio files. Check if it's installed by running in a command line
ffmpeg
  1. Install uv for python package management
bash
# On Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# On Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Alternatively, on any platform if you have pip installed you can do
pip install -U uv
  1. Run one of the following commands
# Run the toolbox if you have an NVIDIA GPU
uv run --extra cuda demo_toolbox.py
# Use this if you don't
uv run --extra cpu demo_toolbox.py

# Run in command line if you don't want the GUI
uv run --extra cuda demo_cli.py
uv run --extra cpu demo_cli.py

Uv will automatically create a .venv directory for you with an appropriate python environment. Open an issue if this fails for you

(Optional) Download Pretrained Models

Pretrained models are now downloaded automatically. If this doesn't work for you, you can manually download them from Hugging Face.

(Optional) Download Datasets

For playing with the toolbox alone, I only recommend downloading LibriSpeech/train-clean-100. Extract the contents as <datasets_root>/LibriSpeech/train-clean-100 where <datasets_root> is a directory of your choosing. Other datasets are supported in the toolbox, see here. You're free not to download any dataset, but then you will need your own data as audio files or you will have to record it with the toolbox.

Issues· 177 open

View all issuesOpen on GitHub
  • #1384

    Shs

    Updated Aug 14, 2026
  • #1383

    Failed to download and build `visdom==0.1.8.9

    Updated Aug 6, 2026
  • #1382

    don

    Updated Jul 17, 2026
  • #1381

    hsbc

    Updated Jul 17, 2026
  • #1380

    https://github.com/CorentinJ/Real-Time-Voice-Cloning/issues/new/choosezhu

    Updated Jul 17, 2026
  • #1379

    亲爱的,谁说你应该付全款啊,只是剩下15000元而已,你却想着拖延,而这一切本应该认真、正确地完成,因为你是有报酬的。为什么你现在要把本该顺利进行的事情搞得更复杂、更困难呢?

    Updated Jul 17, 2026
  • #1376

    zhang voice

    Updated Jul 17, 2026
  • #1361

    Running Toolbox command throwing error

    Updated Jul 16, 2026
  • #1375

    Aman with diabetic foot has passed today

    Updated Jun 5, 2026
  • #1371

    can i use this project for real time voice call ?

    Updated Mar 16, 2026

> Tags

Pythondeep-learningpythonpytorchtensorflow

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言