mysamai / mysam

An open "intelligent" assistant for the web that can listen to you and learn.
https://mysamai.com
GNU General Public License v3.0
621 stars 65 forks source link

Mic issues #26

Open dc500 opened 7 years ago

dc500 commented 7 years ago

I was able to install on my MBP. However, I'm having issues with the mic. I disabled "Oversight" (it alerts me if anyone/apps tries to ear hustle), but the microphone is disabled even when I press "Press Ctrl + Space." The strike flashes. In other words, it cuts on and off and I'm not able to get to the next screen.

http://githubhepics.s3.amazonaws.com/help/mysamhelp1.png

daffl commented 7 years ago

Does it work when you click the microphone icon?

ShaneG commented 7 years ago

I have the same issue on Windows, I don't think it's possible to get this working at all in an Electron application.

It seems Google disabled the speech recognition features in bundled chromium based applications in favor of pushing everything to their Speech API. Basically we have to pay to use the Speech API or we don't have access to these features anymore it seems.

daffl commented 7 years ago

Hm, yes, unfortunately Google pulled the Speech API from Chromium (related https://github.com/mysamai/mysam-frontend/issues/1). What you can do is once the app is running, going to http://localhost:9090 in the browser (both Firefox and Chrome should work).

This is one of the reason this needs a bit more work - and the next release when it finally happens - will probably only work in the browser and not as an Electron application anymore.