Skip to main content

Python wrapper for inference with rvc

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rvc_infer-2024.6.7.1.tar.gz (47.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rvc_infer-2024.6.7.1-py3-none-any.whl (50.5 kB view details)

Uploaded Python 3

File details

Details for the file rvc_infer-2024.6.7.1.tar.gz.

File metadata

  • Download URL: rvc_infer-2024.6.7.1.tar.gz
  • Upload date:
  • Size: 47.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for rvc_infer-2024.6.7.1.tar.gz
Algorithm Hash digest
SHA256 3f8a01d4ff2119e2c5710007b9a33718eb6cb26f3ec22cf280e14ad0b9f4b365
MD5 85af07157da57ce6ecb9b3e38a5e7906
BLAKE2b-256 abeab7ade577581203a10961447215c9f3cd9e218e079cecada0ff70e72b520f

See more details on using hashes here.

File details

Details for the file rvc_infer-2024.6.7.1-py3-none-any.whl.

File metadata

  • Download URL: rvc_infer-2024.6.7.1-py3-none-any.whl
  • Upload date:
  • Size: 50.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for rvc_infer-2024.6.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 503744a0b8c45ba24e7baf7912023635852a9aa06a0face0968688e57ec79992
MD5 9ec70da5c0dac2c297f4a167bc37bf37
BLAKE2b-256 d914284af22bfc8f6fc5b783d4d36c5f9092056f1de2aa36cf28e7077f428b6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page