Skip to content

speech stop listening after few seconds #442

Closed
@heroddaji

Description

@heroddaji

So I manage to make speech works on my rpi3 using the sample code speech_streaming.py.
But I want my program always listen for a long period of time (days).

But the sample code seem to be able to listen for brief moment after it start-ups. I speak a few sentences, then I silent for a few secs, then in the transcript response, I will see the accuracy value. After that, the program stop listening, but the app does not quit, it just stay there

So is their a way to make the script listen forever?
and if there is no way to do it, can I constantly reset the request every few seconds, then there is alway listening thread?

Also my concern is when I reset the listening thread and there is no sound to recognize, will it count as 1 speech_api request?

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.MLtriage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions