vocodedev / vocode-core

🤖 Build voice-based LLM agents. Modular + open source.
https://vocode.dev
MIT License
2.73k stars 459 forks source link

[Bug]: Poor audio quality when using Google Synthesizer #628

Open jstahlbaum-fibernetics opened 1 month ago

jstahlbaum-fibernetics commented 1 month ago

Brief Description

I noticed some issues with the GoogleSynthesizer class during development. It seams to importing the old version of the library causing a compile error. The sample rate seems fixed when it could use the config. There is garbage data because the class is not stripping the wav header off the response from google. Not sure if it was intentional but that synthesizer was also removed from the default factor during the transition between version 111 and 113

LLM

None

Transcription Services

None

Synthesis Services

Google Cloud

Telephony Services

None

Conversation Type and Platform

No response

Steps to Reproduce

-Create a custom Synthiziser and override the create_synthesizer

Expected Behavior

Since this class was previously included, i think it should continue to be functional

Screenshots

No response

jstahlbaum-fibernetics commented 1 month ago

Pull Request provided to address found issue: #629

parshvadaftari commented 1 month ago

Hii @jstahlbaum-fibernetics ! Are the changes which you made running on your local? Also please do run the tests using make test.