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

Hotword detection #18

Open
mu3 opened this issue Jun 13, 2017 · 4 comments
Open

Hotword detection #18

mu3 opened this issue Jun 13, 2017 · 4 comments

Comments

@mu3
Copy link

mu3 commented Jun 13, 2017

«OK Google» or «Hey Google» or own hotword support

@oldgalileo
Copy link

This is possible under the current framework. Within AppDelegate.swift, you can enable hotword detection by changing setupHotword(false) to setupHotword(true) within the applicationDidFinishLaunching callback.

@oldgalileo
Copy link

In the future, it might be worth changing the speech recognition framework to one that does not require a permanent window on the screen like the NSSpeechRecognizer.

See https://github.com/Kitt-AI/snowboy for a potential alternative.

@vanshg
Copy link
Owner

vanshg commented Jun 24, 2017

Thanks for pointing that out @HowardStark. I definitely agree about the permanent window. I assumed most people wouldn't want it enabled in its current state so I have it off by default. (What I really need to do is add some sort of Settings dialog to enable and disable the preference as the user wishes)

@vanshg
Copy link
Owner

vanshg commented Oct 30, 2018

With the new Macs with the T2 chips, Apple has a way of doing Hotword recognition for Siri ("Hey Siri"). I'm going to try to look into intercepting that maybe? If anyone has thoughts or ideas on how to go about that, it'd be greatly appreciated!

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

No branches or pull requests

3 participants