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

Getting click sounds and static sounds on the phone when run. #18

Closed
cyai opened this issue Mar 16, 2024 · 6 comments
Closed

Getting click sounds and static sounds on the phone when run. #18

cyai opened this issue Mar 16, 2024 · 6 comments

Comments

@cyai
Copy link

cyai commented Mar 16, 2024

I am getting just click sounds and static sounds the one you get when you tap the mic and then nothing.

Any reason why this is happening?

@Sheldenshi
Copy link

I am getting this too

@ninjas005
Copy link

I am also getting shot noises instead of speech in my phone. What could be the problem causing this?

@ninjas005
Copy link

anyone find a solution for this

@cyai
Copy link
Author

cyai commented May 7, 2024

I figured it out. For me it was the issue with the TTS service I was using, ElevenLabs. I ran out of credits there so it was throwing me the error. I wasn't handling the error properly in my code thus the error was being streamed which was leading to the clicking sound.

Check if the audio you are trying to stream is actually an audio buffer, it might be something else which might lead to the clicking sound

@ninjas005
Copy link

Thankyou, will check the status of my eleven labs subscription

@cweems
Copy link
Collaborator

cweems commented Jun 9, 2024

This should be resolved now that the default TTS provider is deepgram. I've had fewer issues with them rate-limiting me. I also added a check in the Eleven Labs example to log an error if there's non 200 error code.

@cweems cweems closed this as completed Jun 9, 2024
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

4 participants