Skip to main content

Unofficial pip package for zero-shot voice conversion

Reason this release was yanked:

Bugfix

Project description

LVC

Unofficial 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.tar.gz (26.3 kB view details)

Uploaded Source

File details

Details for the file lvc-1.0.tar.gz.

File metadata

  • Download URL: lvc-1.0.tar.gz
  • Upload date:
  • Size: 26.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for lvc-1.0.tar.gz
Algorithm Hash digest
SHA256 3081410889f4bb2e94db86416f829fc6d6e65c8f3d1f8ea76bec09a3a19d1f9e
MD5 3bdeac0e5ed4faba1c8607ef441b867f
BLAKE2b-256 16b579e63099b24b2a34e62c70b61cd76b5270c0b7e007a51a88178523773c5d

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