Skip to main content

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


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)

Uploaded Source

Built Distribution

lvc-1.0.1-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

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

Hashes for lvc-1.0.1.tar.gz
Algorithm Hash digest
SHA256 82372005fdbcc0856aad294b6ee7765088154317778377812615a179ebbf079b
MD5 edc6facb01f6c9ca95a59ddbc57e1dc7
BLAKE2b-256 f8ee1750067d818b9f7fc82ad8cbc334ea1d0e78bedf5ea9215445fe2a93991e

See more details on using hashes here.

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

Hashes for lvc-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa6a8cd6dff6507629a0e63e0042d34288f8e3e98da0eada0094beec79ac333f
MD5 ef83d1349070bf464ee3eaf556fc9c41
BLAKE2b-256 575dca2eed3c488db9482948fd68c8e76e93d23144b46e4000c090770dfd9703

See more details on using hashes here.

Supported by

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