{"action":"created","issue":{"url":"https://api.github.com/repos/Placeholder-Software/Dissonance/issues/8","repository_url":"https://api.github.com/repos/Placeholder-Software/Dissonance","labels_url":"https://api.github.com/repos/Placeholder-Software/Dissonance/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Placeholder-Software/Dissonance/issues/8/comments","events_url":"https://api.github.com/repos/Placeholder-Software/Dissonance/issues/8/events","html_url":"https://github.com/Placeholder-Software/Dissonance/issues/8","id":188193933,"number":8,"title":"Voice Activation Trigger Level","user":{"login":"citron4000","id":6678654,"avatar_url":"https://avatars.githubusercontent.com/u/6678654?v=3","gravatar_id":"","url":"https://api.github.com/users/citron4000","html_url":"https://github.com/citron4000","followers_url":"https://api.github.com/users/citron4000/followers","following_url":"https://api.github.com/users/citron4000/following{/other_user}","gists_url":"https://api.github.com/users/citron4000/gists{/gist_id}","starred_url":"https://api.github.com/users/citron4000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citron4000/subscriptions","organizations_url":"https://api.github.com/users/citron4000/orgs","repos_url":"https://api.github.com/users/citron4000/repos","events_url":"https://api.github.com/users/citron4000/events{/privacy}","received_events_url":"https://api.github.com/users/citron4000/received_events","type":"User","site_admin":false},"labels":[{"id":437009063,"url":"https://api.github.com/repos/Placeholder-Software/Dissonance/labels/Status:%20Work%20In%20Progress","name":"Status: Work In Progress","color":"e02180","default":false},{"id":427821449,"url":"https://api.github.com/repos/Placeholder-Software/Dissonance/labels/Type:%20Bug","name":"Type: Bug","color":"ff0000","default":false}],"state":"open","locked":false,"assignee":{"login":"martindevans","id":177519,"avatar_url":"https://avatars.githubusercontent.com/u/177519?v=3","gravatar_id":"","url":"https://api.github.com/users/martindevans","html_url":"https://github.com/martindevans","followers_url":"https://api.github.com/users/martindevans/followers","following_url":"https://api.github.com/users/martindevans/following{/other_user}","gists_url":"https://api.github.com/users/martindevans/gists{/gist_id}","starred_url":"https://api.github.com/users/martindevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martindevans/subscriptions","organizations_url":"https://api.github.com/users/martindevans/orgs","repos_url":"https://api.github.com/users/martindevans/repos","events_url":"https://api.github.com/users/martindevans/events{/privacy}","received_events_url":"https://api.github.com/users/martindevans/received_events","type":"User","site_admin":false},"assignees":[{"login":"martindevans","id":177519,"avatar_url":"https://avatars.githubusercontent.com/u/177519?v=3","gravatar_id":"","url":"https://api.github.com/users/martindevans","html_url":"https://github.com/martindevans","followers_url":"https://api.github.com/users/martindevans/followers","following_url":"https://api.github.com/users/martindevans/following{/other_user}","gists_url":"https://api.github.com/users/martindevans/gists{/gist_id}","starred_url":"https://api.github.com/users/martindevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martindevans/subscriptions","organizations_url":"https://api.github.com/users/martindevans/orgs","repos_url":"https://api.github.com/users/martindevans/repos","events_url":"https://api.github.com/users/martindevans/events{/privacy}","received_events_url":"https://api.github.com/users/martindevans/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-11-09T08:51:45Z","updated_at":"2016-11-11T15:54:52Z","closed_at":null,"body":"Hello,\r\n\r\nI was testing the version 0.0.4 today on LAN using the Voice Activation and the microphone of the Oculus Rift. The Voice Activation works fine the first sentence, then if we wait long enough, a second sentence is fine too. However, if the two sentences are too close from each other in time, then the Voice Activation is not triggered and no data is sent. If we wait a few seconds and start speaking again, the new sentence is sent again. \r\n\r\nI presume the Voice Activation algorithm is waiting for a sharp difference in signal and there need to be a long enough flat signal before it can see the difference and be triggered.\r\n\r\nAre you aware of this and would it be possible to tweak the parameter of the algorithm to make it more or less sensitive?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/Placeholder-Software/Dissonance/issues/comments/259987819","html_url":"https://github.com/Placeholder-Software/Dissonance/issues/8#issuecomment-259987819","issue_url":"https://api.github.com/repos/Placeholder-Software/Dissonance/issues/8","id":259987819,"user":{"login":"martindevans","id":177519,"avatar_url":"https://avatars.githubusercontent.com/u/177519?v=3","gravatar_id":"","url":"https://api.github.com/users/martindevans","html_url":"https://github.com/martindevans","followers_url":"https://api.github.com/users/martindevans/followers","following_url":"https://api.github.com/users/martindevans/following{/other_user}","gists_url":"https://api.github.com/users/martindevans/gists{/gist_id}","starred_url":"https://api.github.com/users/martindevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martindevans/subscriptions","organizations_url":"https://api.github.com/users/martindevans/orgs","repos_url":"https://api.github.com/users/martindevans/repos","events_url":"https://api.github.com/users/martindevans/events{/privacy}","received_events_url":"https://api.github.com/users/martindevans/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T15:54:52Z","updated_at":"2016-11-11T15:54:52Z","body":"Hi citron4000,\r\n\r\nI've just pushed out test version 0.0.5 which includes a few things which may help to solve this issue.\r\n\r\n## Debugging\r\n\r\nThere is a new behaviour called `VadDebugUi`. Add this to the same game object as your DissonanceComms behaviour. It will show an overlay like this:\r\n\r\n![](https://dissonance.readthedocs.io/en/latest/images/VadDebugUI.png)\r\n\r\nThis exposes all the internal state of the VAD (unfortunately this is kind of cryptic). Try speaking a little and seeing if any of the parameters go suspiciously large or small when the VAD is misbehaving. **If you can reliably reproduce the VAD misbehaving could you capture a screen recording (with sound!) of this debugging UI and share it with me.**\r\n\r\n## Tweaking\r\n\r\nFrom the debug UI you can tweak the VAD sensitivity. You can either use basic configuration, in which case you just have a sensitivity slider, or you can use advanced configuration in which case you have 4 sliders (hover over the text and read [this documentation](https://dissonance.readthedocs.io/en/latest/Reference/Audio/VAD/) for more information on those parameters. I recommend sticking to basic configuration!\r\n\r\nPlease note these parameters are *not* persisted. So if you tweak the VAD to some perfect level make sure to note your settings. We'll probably add persistence in the next version.\r\n\r\n## Recording\r\n\r\nFinally there's an option to record various stages of the Dissonance pipeline to file in `DissonanceComms > Diagnostic Settings`. If you record all the recording parts of the pipeline this will capture before and after VAD. A screen recording is probably more helpful though.\r\n\r\n# VAD Algorithm\r\n\r\nA quick note on how the VAD works which may help you when debugging. For the first ~5 seconds the VAD will *never* detect speech, during this period it is analysing the microphone signal to determine background noise etc. For the first couple of sentences you speak it can be a little picky (it's analysing your speech vs your background noise to tweak it's own settings). It *should* settle down into a reliable detector fairly quickly. **Is your problem just in this startup period, or does it persist no matter how long your leave the VAD in use for?**"}}
{"actor":{"display_login":"martindevans"}}