# **RVC INFER**
---
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_online_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.
Raw data
{
"_id": null,
"home_page": "https://github.com/blane187gt/rvc_infer",
"name": "rvc-infer",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": null,
"author": "blane187gt",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/47/87/42f4dab613c01d90bbf97b0a398deb93254d0caf5a06231dc622d7477b2f/rvc_infer-2024.1.5.1.tar.gz",
"platform": null,
"description": "\n# **RVC INFER**\n\n---\n\nA streamlined Python wrapper for inference with RVC. Specifically designed for inference tasks.\n\n---\n\n\n# how to install\n\n\n```\npip install rvc_infer\n\n```\n\n\n\n# How to Use\n\n### download online models\n\n```\nfrom rvc_infer import download_online_model\n\n\n\noutput = download_online_model(\n url,\n dir_name\n)\n\n\nprint(output)\n\n\n```\n\n\n### Infernece\n\n```\n\nfrom rvc_infer import infer_audio\n\n\nresult = infer_audio(\n model_name,\n audio_path,\n f0_change=0,\n f0_method=\"rmvpe+\",\n min_pitch=\"50\",\n max_pitch=\"1100\",\n crepe_hop_length=128,\n index_rate=0.75,\n filter_radius=3,\n rms_mix_rate=0.25,\n protect=0.33,\n split_infer=False,\n min_silence=500,\n silence_threshold=-50,\n seek_step=1,\n keep_silence=100,\n do_formant=False,\n quefrency=0,\n timbre=1,\n f0_autotune=False,\n audio_format=\"wav\",\n resample_sr=0,\n hubert_model_path=\"hubert_base.pt\",\n rmvpe_model_path=\"rmvpe.pt\",\n fcpe_model_path=\"fcpe.pt\"\n )\n\n\n```\n\n# little note\n\nthe `model_name` It will automaticly search a folder containing the pth file and index file.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python wrapper for inference with rvc",
"version": "2024.1.5.1",
"project_urls": {
"Homepage": "https://github.com/blane187gt/rvc_infer"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f53aa3743344dbd508524e5ee6c370afaf04f97a4dcbaac36f3d27dc660da0a0",
"md5": "282e474e2c03e7ed722c8b1a762881f0",
"sha256": "15895edacdd8d141c979657b62a02838e0ccee11af043ba484da4b21c762831a"
},
"downloads": -1,
"filename": "rvc_infer-2024.1.5.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "282e474e2c03e7ed722c8b1a762881f0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 51592,
"upload_time": "2024-09-04T05:43:42",
"upload_time_iso_8601": "2024-09-04T05:43:42.274337Z",
"url": "https://files.pythonhosted.org/packages/f5/3a/a3743344dbd508524e5ee6c370afaf04f97a4dcbaac36f3d27dc660da0a0/rvc_infer-2024.1.5.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "478742f4dab613c01d90bbf97b0a398deb93254d0caf5a06231dc622d7477b2f",
"md5": "873834ba8cc7ebb55739884537c4d2ae",
"sha256": "8966c37d32712fc4eec6605cd38281736f51f0910c0e26e025a424e2fe3bce49"
},
"downloads": -1,
"filename": "rvc_infer-2024.1.5.1.tar.gz",
"has_sig": false,
"md5_digest": "873834ba8cc7ebb55739884537c4d2ae",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 47323,
"upload_time": "2024-09-04T05:43:43",
"upload_time_iso_8601": "2024-09-04T05:43:43.690678Z",
"url": "https://files.pythonhosted.org/packages/47/87/42f4dab613c01d90bbf97b0a398deb93254d0caf5a06231dc622d7477b2f/rvc_infer-2024.1.5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-04 05:43:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "blane187gt",
"github_project": "rvc_infer",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "rvc-infer"
}