{"action":"closed","issue":{"url":"https://api.github.com/repos/kalliope-project/kalliope/issues/435","repository_url":"https://api.github.com/repos/kalliope-project/kalliope","labels_url":"https://api.github.com/repos/kalliope-project/kalliope/issues/435/labels{/name}","comments_url":"https://api.github.com/repos/kalliope-project/kalliope/issues/435/comments","events_url":"https://api.github.com/repos/kalliope-project/kalliope/issues/435/events","html_url":"https://github.com/kalliope-project/kalliope/issues/435","id":311788151,"number":435,"title":"[Suggestion/Feedback] STT timeouts?","user":{"login":"joshuaboniface","id":4031396,"avatar_url":"https://avatars3.githubusercontent.com/u/4031396?v=4","gravatar_id":"","url":"https://api.github.com/users/joshuaboniface","html_url":"https://github.com/joshuaboniface","followers_url":"https://api.github.com/users/joshuaboniface/followers","following_url":"https://api.github.com/users/joshuaboniface/following{/other_user}","gists_url":"https://api.github.com/users/joshuaboniface/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuaboniface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuaboniface/subscriptions","organizations_url":"https://api.github.com/users/joshuaboniface/orgs","repos_url":"https://api.github.com/users/joshuaboniface/repos","events_url":"https://api.github.com/users/joshuaboniface/events{/privacy}","received_events_url":"https://api.github.com/users/joshuaboniface/received_events","type":"User","site_admin":false},"labels":[{"id":459310215,"url":"https://api.github.com/repos/kalliope-project/kalliope/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/kalliope-project/kalliope/milestones/11","html_url":"https://github.com/kalliope-project/kalliope/milestone/11","labels_url":"https://api.github.com/repos/kalliope-project/kalliope/milestones/11/labels","id":3041729,"number":11,"title":"v0.5.1","description":"","creator":{"login":"Sispheor","id":2573405,"avatar_url":"https://avatars3.githubusercontent.com/u/2573405?v=4","gravatar_id":"","url":"https://api.github.com/users/Sispheor","html_url":"https://github.com/Sispheor","followers_url":"https://api.github.com/users/Sispheor/followers","following_url":"https://api.github.com/users/Sispheor/following{/other_user}","gists_url":"https://api.github.com/users/Sispheor/gists{/gist_id}","starred_url":"https://api.github.com/users/Sispheor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sispheor/subscriptions","organizations_url":"https://api.github.com/users/Sispheor/orgs","repos_url":"https://api.github.com/users/Sispheor/repos","events_url":"https://api.github.com/users/Sispheor/events{/privacy}","received_events_url":"https://api.github.com/users/Sispheor/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":25,"state":"open","created_at":"2018-01-17T11:02:45Z","updated_at":"2018-05-05T16:34:30Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2018-04-05T22:17:01Z","updated_at":"2018-05-05T16:34:30Z","closed_at":"2018-05-05T16:34:30Z","author_association":"NONE","body":"I've frequently encountered an issue where Kalliope seems to \"freeze\" for a while when listening. It seems like the listening component never figures out when to end, so it just sits there spinning indefinitely. This doesn't seem like a bug *per se* (I understand why it would be waiting forever), but I'm thinking that adding a timeout to the listening would be a good idea. For example, if we set the hypothetical `listen_timeout = 5`, the listening state would forcibly end after 5 seconds.\r\n\r\nEdit: As a note, if I say *nothing*, it usually does realize fairly quickly (5-10 seconds). But this seems to occur when I give it a voice command, and it just sits there waiting for more speech (or something). I've verified that this isn't an Internet service timeout doing the STT, but actually within the \"listening\" state.\r\n\r\nI did a quick dive into the code, however it looks like Kalliope is calling a third-party `speech_recognition` library to do this task, so I didn't try modifying it myself yet. Based on everyone's work, do you think this would be possible to do within Kalliope? Or is this an upstream issue?"}}
{"actor":{"display_login":"Sispheor"}}