Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method to specify custom voices path #85

Open
neonbjb opened this issue May 31, 2022 · 1 comment
Open

Add method to specify custom voices path #85

neonbjb opened this issue May 31, 2022 · 1 comment

Comments

@neonbjb
Copy link
Owner

neonbjb commented May 31, 2022

A recent change moves the pre-packaged voices into the package installation directory. As reported in #83, this breaks the capability to use custom voices, at least as it is currently documented.

I need to add a good way to support this and update the documentation. Some ideas:

  1. Always search for custom voices in a path relative to the CWD, for example "voices/", if it exists. Allow this to be overridden with a command line parameter.
  2. Place voices alongside models inside of the user directory, update docs showing how to add new voices there.
  3. Allow voices to be specified by a filepath, so "--voice=/home/jbetker/susie" will search for a voice in /home/jbetker/susie.

Leaning towards 1 or 3, feedback is welcome.

@jnordberg
Copy link
Contributor

jnordberg commented Jun 1, 2022

tortoise_tts.py exposes this as -V, --voices-dir VOICES_DIR, this option can be one or more directories (comma separated) that will be searched for voices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants