Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OpenVoice VC models #183

Merged
merged 15 commits into from
Dec 3, 2024
Merged

Add OpenVoice VC models #183

merged 15 commits into from
Dec 3, 2024

Conversation

eginhard
Copy link
Member

@eginhard eginhard commented Dec 2, 2024

The OpenVoice v1 and v2 voice conversion models can now be used through Coqui:

from TTS.api import TTS

ov1 = TTS("voice_conversion_models/multilingual/multi-dataset/openvoice_v1")
ov2 = TTS("voice_conversion_models/multilingual/multi-dataset/openvoice_v2")

src = "source.wav"
ref = "target.wav"

ov1.voice_conversion_to_file(src, ref, "ov1.wav")
ov2.voice_conversion_to_file(src, ref, "ov2.wav")

And via CLI:

tts --model_name voice_conversion_models/multilingual/multi-dataset/openvoice_v1 \
    --out_path ov1.wav --source_wav source.wav --target_wav target.wav
tts --model_name voice_conversion_models/multilingual/multi-dataset/openvoice_v2 \
    --out_path ov2.wav --source_wav source.wav --target_wav target.wav

@eginhard eginhard force-pushed the openvoice branch 3 times, most recently from 4172308 to d3465a6 Compare December 2, 2024 11:58
@eginhard eginhard merged commit 9ae0b27 into dev Dec 3, 2024
35 checks passed
@eginhard eginhard deleted the openvoice branch December 3, 2024 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants