Skip to main content
~/open-source / openvoice-short-clip-patch

Patched OpenVoice for short-clip cloning and CPU inference

Other myshell-ai/OpenVoice Personal fork — not submitted upstream
View on GitHub

While building the Audio Cloning stage of my video-translator pipeline, I hit two blockers in OpenVoice :

  • openvoice/se_extractor.py discarded audio segments shorter than 1.5 seconds, which meant short subtitle lines (hello, hi, bye) couldn’t be cloned at all. I relaxed the threshold to ~0.5 seconds and added an explicit skip for lines too short to process.
  • The library assumed a CUDA GPU. I patched it to run on CPU so it worked on Apple M1.

The changes live in my fork at github.com/pratts/OpenVoice . They were scoped to my use case and haven’t been proposed upstream.