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

Demo SpeechService not working #224

Open
lipflip opened this issue Sep 23, 2024 · 0 comments
Open

Demo SpeechService not working #224

lipflip opened this issue Sep 23, 2024 · 0 comments

Comments

@lipflip
Copy link

lipflip commented Sep 23, 2024

I'm trying to get the demo to work.

I want to use the internal mic of my tablet.
I am not getting any error, but I don't get any partial or final result either, it is just empty.

If I understand correctly, the input wav stream should be 16000?

I have executed following code:

audioManager.getProperty(AudioManager.PROPERTY_OUTPUT_SAMPLE_RATE);

which results in 48000.

So I did try passing 48000 to the SpeechService class, but still not working.

Won't it work with the internal microphone?

In which case the demo microphone button will work? On an older tablet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant