SlapBot / stephanie-va

Stephanie is an open-source platform built specifically for voice-controlled applications as well as to automate daily tasks imitating much of an virtual assistant's work.
https://slapbot.github.io/
MIT License
799 stars 127 forks source link

Adding a wake word #51

Closed abhinav99ash29 closed 5 years ago

abhinav99ash29 commented 5 years ago

Adding a wake word as Alexa and Cortana to start the STT conversion.

SlapBot commented 5 years ago

Yep, there's an option at: https://github.com/SlapBot/stephanie-va/blob/master/config.ini#L19

wake_up_command = Stephanie wake up

abhinav99ash29 commented 5 years ago

But that option is also using online stt, I used porcupine for wake-word detection, totally offline and really lightweight. It works quite well as hey cortana or alexa. I am trying to integrate it in stephanie.

SlapBot commented 5 years ago

Okay you could do this then, head it to:

https://github.com/SlapBot/stephanie-va/blob/master/Stephanie/activity.py

You could consider changing the online STT call L16 to your offline one.