LVC
Unofficial pip-installable Python package for LVC-VC (zero-shot voice conversion) by Wonjune Kang, Mark Hasegawa-Johnson, Deb Roy.
Installation
pip install lvc
Usage
You can either convert files or convert arrays.
Convert Files
from lvc import LVC, LVCAudio
l = LVC()
l.infer_file(
'orig.wav',
'sample.wav',
'target.wav',
)
Convert Arrays
from lvc import LVC, LVCAudio
import librosa
import soundfile as sf
l = LVC()
o_y, o_sr = librosa.load('orig.wav')
s_y, s_sr = librosa.load('sample.wav')
o, sr = l.infer_array(
LVCAudio(o_y, o_sr),
LVCAudio(s_y, s_sr),
)
sf.write('out.wav', o, sr)
Don't use XL model
You can optionally use a smaller model for lower-quality but faster results:
l = LVC(use_xl_model=False) # default True
License
MIT
Metadata
Release files for lvc 1.0.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 | |
|---|---|---|---|---|
| lvc-1.0.3.tar.gz | 34.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lvc-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 79.8 kB
Release files / lvc-1.0.3.tar.gz
| Download URL | lvc-1.0.3.tar.gz |
|---|---|
| Size | 34.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3eba0117c95080f8273f532b74249684075df5196b0b1dc8febcf52eb5bc834
|
|
BLAKE2b-256 checksum How to use checksums |
08f663a21093679849c8c1e600d231db834e0eee10c4a785bd1d2c43148a7215
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / lvc-1.0.3-py3-none-any.whl
| Download URL | lvc-1.0.3-py3-none-any.whl |
|---|---|
| Size | 45.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87ba2c1073f43e52222d75b6a7e090b35b3586aa29123f5554db2d0ef4785e08
|
|
BLAKE2b-256 checksum How to use checksums |
86446b2aae84c0b1cc0421b7c67f123a52f72918b12f0812553e264d58e9e58c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Security for lvc 1.0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.