Open sadimoodi opened 1 week ago
Yes, sample rates have been upgraded to 24000 by default. This is not released yet, but if you try the examples using Pipecat from main
(instead of installed version) everything should work fine.
Yes, sample rates have been upgraded to 24000 by default. This is not released yet, but if you try the examples using Pipecat from
main
(instead of installed version) everything should work fine.
Thank you @aconchillo when is the bug fix going to be released? I am not sure i got ur point but i am using pip install pipecat-ai [options] and then copying examples from the main branch already, Version 0.0.41 is the only version that works for me where the xtts service produces normal voice.
you can set the audio_out_sample_rate=24000
in DailyParams if using OpenAITTSService
you can set the
audio_out_sample_rate=24000
in DailyParams if using OpenAITTSService
i am not using the OpenAITTSService rather XTTSService, in OpenAITTSService the constructor already contains 24000 sample rate:
def __init__(
self,
*,
api_key: str | None = None,
voice: str = "alloy",
model: Literal["tts-1", "tts-1-hd"] = "tts-1",
sample_rate: int = 24000,
changing the sample rate in the XTTSService to 24000 doesnt solve the problem either. setting audio_out_sample_rate=24000 in DailyParams class doesnt work. something else might be wrong here?
setting audio_out_sample_rate=31_000 almost solved the problem (voice isnt same like before but understandable), setting audio_out_samplerate=32000 without the "" wont work, suggest to accept both formats (int and Literal)
After upgrading to pipecat V 0.0.47, all examples produce cartoonic voice when using xtts as TTS, it seems like there is a problem with the sample_rate? rolling abck to v 0.0.41 fixes the problem
here is my code: