-
Describe the bugdef tts_to_file(
self,
text: str,
speaker: str = None,
language: str = None,
speaker_wav: str = None,
emotion: str = None,
speed: float = 1.0,
pipe_out=None,
file_path: str = "output.wav",
split_sentences: bool = True,
**kwargs,
) The variables "speed" and "pitch" are not used in the function. To Reproduce
Expected behaviorThe central idea is to be able to regulate the speed. LogsNo response Environment- TTS Versión 1.0
- Python Versión 3.11.5
- Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Answered by
eginhard
Nov 8, 2024
Replies: 1 comment
-
Speed in VITS models is controlled by the tts.synthesizer.tts_model.length_scale = 1.0 It's not possible to change the pitch in VITS. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
eginhard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Speed in VITS models is controlled by the
length_scale
parameter (higher = slower, default 1.0), you can set it like this:It's not possible to change the pitch in VITS.