Skip to main content

RVC INFER

[

Open In Collab


A streamlined Python wrapper for inference with RVC. Specifically designed for inference tasks.


how to install

pip install rvc_infer

How to Use

download online models

from rvc_infer import download_rvc_model



output = download_online_model(
    url,
    dir_name
)


print(output)


Infernece


from rvc_infer import infer_audio


result = infer_audio(
    model_name,
    audio_path,
    f0_change=0,
    f0_method="rmvpe+",
    min_pitch="50",
    max_pitch="1100",
    crepe_hop_length=128,
    index_rate=0.75,
    filter_radius=3,
    rms_mix_rate=0.25,
    protect=0.33,
    split_infer=False,
    min_silence=500,
    silence_threshold=-50,
    seek_step=1,
    keep_silence=100,
    do_formant=False,
    quefrency=0,
    timbre=1,
    f0_autotune=False,
    audio_format="wav",
    resample_sr=0,
    hubert_model_path="hubert_base.pt",
    rmvpe_model_path="rmvpe.pt",
    fcpe_model_path="fcpe.pt"
    )


little note

the model_name It will automaticly search a folder containing the pth file and index file.

Metadata

Release files for rvc-infer 2024.6.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rvc-infer 2024.6.7.1
File Size Uploaded
rvc_infer-2024.6.7.1.tar.gz 47.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rvc-infer 2024.6.7.1
File Interpreter ABI Platform
rvc_infer-2024.6.7.1-py3-none-any.whl Python 3 none any Details

Total release size: 98.2 kB

Release files / rvc_infer-2024.6.7.1.tar.gz

Download URL rvc_infer-2024.6.7.1.tar.gz
Size 47.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3f8a01d4ff2119e2c5710007b9a33718eb6cb26f3ec22cf280e14ad0b9f4b365
BLAKE2b-256 checksum
How to use checksums
abeab7ade577581203a10961447215c9f3cd9e218e079cecada0ff70e72b520f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release files / rvc_infer-2024.6.7.1-py3-none-any.whl

Download URL rvc_infer-2024.6.7.1-py3-none-any.whl
Size 50.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
503744a0b8c45ba24e7baf7912023635852a9aa06a0face0968688e57ec79992
BLAKE2b-256 checksum
How to use checksums
d914284af22bfc8f6fc5b783d4d36c5f9092056f1de2aa36cf28e7077f428b6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release history Release notifications | RSS feed

This release

2024.6.7.1 This release

2 release files

6.7.1

2 release files

1.4.1

2 release files

1.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page