vocodedev/vocode-core

[Bug]: Poor audio quality when using Google Synthesizer

jstahlbaum-fibernetics opened this issue · 3 comments

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

  • add the GoogleSynthesizer(synthesizer_config) as a possible option
  • Setup a simple test with the speller agent and use the GoogleSynthesizer as the synthesis
  • Notice there are coding errors and poor audio outputed

Expected Behavior

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

Screenshots

No response

Pull Request provided to address found issue: #629

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