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

synthesize_speech on fixed input text #1

Open
CloudApiStudy opened this issue Aug 17, 2020 · 0 comments
Open

synthesize_speech on fixed input text #1

CloudApiStudy opened this issue Aug 17, 2020 · 0 comments

Comments

@CloudApiStudy
Copy link

CloudApiStudy commented Aug 17, 2020

Hi,

I come from a research team which works on bugs in real-world applications.

I want to make a report about a few potential performance improvement in your project.

In file examples/google-voicekit-snippets-mark/cloudspeech_demo.py, synthesize_speech is called to generate audio files in each run. However, its input is a (or from a set of) fixed string. This behavior increases execution time and brings unnecessary service cost. A caching mechanism could help such situation, e.g. save audio file on disk at first API call, and re-use that file later.

Perhaps someone might be able to confirm if these seem reasonable. Also, if you need any help, I'm happy to provide some code snippet for fixing.

If you are not offended by it, we may include your response as a percentage number (e.g. xx% of applications faces xx problem, and xx% of them confirms it) in our research paper.

Thanks.

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

1 participant