rmvpe-onnx
RMVPE pitch estimator with ONNX Runtime backend.
A simple wrapper around ONNX-related code in rvc/lib/rmvpe.py @ 7e03261, RVC-Project/Retrieval-based-Voice-Conversion
Copyright (c) 2023 liujing04, 源文雨, Ftps — MIT License
ONNX model from lj1995/VoiceConversionWebUI
Copyright (c) 2022 lj1995 — MIT License
Install
pip
pip install rmvpe-onnx # Python API only
pip install "rmvpe-onnx[cli]" # Python API with CLI tool
uv
uv add rmvpe-onnx # Python API only
uv add "rmvpe-onnx[cli]" # Python API with CLI tool
[!TIP] This package includes
onnxruntime(CPU) as a dependency, which is sufficient for most use cases. For hardware acceleration (CUDA, DirectML, etc.), please install a compatible ONNX Runtime variant. See the ONNX Runtime documentation.
Development
git clone https://github.com/NewComer00/rmvpe-onnx && cd rmvpe-onnx
uv sync --extra dev
# Optional: Run all tests
# uv run tox
CLI
# Optional: Download the ONNX model
# Will be done automatically on first prediction if not done manually
rmvpe-onnx download
# Run pitch prediction with default settings and plot the results
rmvpe-onnx predict audio.wav --plot
For all options, see the CLI Reference or run rmvpe-onnx download --help and rmvpe-onnx predict --help.
Python API
[!NOTE] The Python API returns raw outputs with no confidence thresholding applied. Use
confidenceto filterfrequencyyourself if needed.
from rmvpe_onnx import RMVPE
import soundfile as sf
audio, sr = sf.read("audio.wav")
rmvpe = RMVPE()
time, frequency, confidence, activation = rmvpe.predict(audio=audio, sr=sr)
# Optional: Zero out frequency where confidence is below a threshold
# frequency[confidence < 0.03] = 0.0
For full parameter reference and return values, see the API Reference.
Metadata
Release files for rmvpe-onnx 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| rmvpe_onnx-0.2.3.tar.gz | 194.6 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rmvpe_onnx-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 209.1 kB
Release files / rmvpe_onnx-0.2.3.tar.gz
| Download URL | rmvpe_onnx-0.2.3.tar.gz |
|---|---|
| Size | 194.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d0686ba93379bfe4697a5d357d20e0261c3824f5594238f822571ce16e276a6
|
|
BLAKE2b-256 checksum How to use checksums |
7677c1db6f25a10c7c7a6090318fb722768130c0e3bafd045190e07de3e58b65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.
Transparency logRelease files / rmvpe_onnx-0.2.3-py3-none-any.whl
| Download URL | rmvpe_onnx-0.2.3-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d2d48d64ad06d447169fcfcfbd83fb9d2b91c0702084bc49cef57b783b7eef6
|
|
BLAKE2b-256 checksum How to use checksums |
4803ff6007031c21dc10cb0e9a432b4ad17ab0bf91130b3e84f4826ab10ab3b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.
Transparency logSecurity for rmvpe-onnx 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for rmvpe_onnx-0.2.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.