Unofficial pip package for zero-shot voice conversion
Reason this release was yanked:
Bugfix
Project description
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)
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lvc-1.0.1.tar.gz
(26.2 kB
view details)
Built Distribution
lvc-1.0.1-py3-none-any.whl
(35.3 kB
view details)
File details
Details for the file lvc-1.0.1.tar.gz
.
File metadata
- Download URL: lvc-1.0.1.tar.gz
- Upload date:
- Size: 26.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82372005fdbcc0856aad294b6ee7765088154317778377812615a179ebbf079b |
|
MD5 | edc6facb01f6c9ca95a59ddbc57e1dc7 |
|
BLAKE2b-256 | f8ee1750067d818b9f7fc82ad8cbc334ea1d0e78bedf5ea9215445fe2a93991e |
File details
Details for the file lvc-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: lvc-1.0.1-py3-none-any.whl
- Upload date:
- Size: 35.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa6a8cd6dff6507629a0e63e0042d34288f8e3e98da0eada0094beec79ac333f |
|
MD5 | ef83d1349070bf464ee3eaf556fc9c41 |
|
BLAKE2b-256 | 575dca2eed3c488db9482948fd68c8e76e93d23144b46e4000c090770dfd9703 |