Open skelleex opened 3 months ago
I believe this could be a CPU issue. Is it possible to choose the type of instance you run this on repl.it?
I changed the CPU that I am running on to a more capable one however the issue still remains.
This cracking still happens.
Is anyone still experiencing this issue? I've run with ElevenLabs a lot and haven't hit it. If you are hitting it, can you share more about the machine you're running on?
When using ElevenLabs it seems that audio is cracking and dropping frames. Is there anyway to stop this from happening? The code used is below my only difference is that I have the FrameLogger enabled for logging. Running on Replit but not a deployment.
`import asyncio import aiohttp import os import sys
from pipecat.frames.frames import LLMMessagesFrame from pipecat.pipeline.pipeline import Pipeline from pipecat.pipeline.runner import PipelineRunner from pipecat.pipeline.task import PipelineParams, PipelineTask from pipecat.processors.aggregators.llm_response import ( LLMAssistantResponseAggregator, LLMUserResponseAggregator) from pipecat.services.elevenlabs import ElevenLabsTTSService from pipecat.services.openai import OpenAILLMService from pipecat.transports.services.daily import DailyParams, DailyTransport from pipecat.vad.silero import SileroVADAnalyzer
from runner import configure
from loguru import logger
from dotenv import load_dotenv load_dotenv(override=True)
logger.remove(0) logger.add(sys.stderr, level="DEBUG")
async def main(room_url: str, token): async with aiohttp.ClientSession() as session: transport = DailyTransport( room_url, token, "Respond bot", DailyParams( audio_out_enabled=True, transcription_enabled=True, vad_enabled=True, vad_analyzer=SileroVADAnalyzer() ) )
if name == "main": (url, token) = configure() asyncio.run(main(url, token))`