From 003f2920a331506f9528455a99318b07201055c9 Mon Sep 17 00:00:00 2001 From: dalgwen Date: Wed, 11 Mar 2020 08:34:50 +0100 Subject: [PATCH] Enable snowboy to use several wakeword models Snowboy could use several wakeword models, not only the first one. --- mycroft/client/speech/hotword_factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mycroft/client/speech/hotword_factory.py b/mycroft/client/speech/hotword_factory.py index 41fccc691e..32011be009 100644 --- a/mycroft/client/speech/hotword_factory.py +++ b/mycroft/client/speech/hotword_factory.py @@ -299,7 +299,7 @@ class SnowboyHotWord(HotWordEngine): def found_wake_word(self, frame_data): wake_word = self.snowboy.detector.RunDetection(frame_data) - return wake_word == 1 + return wake_word >= 1 class PorcupineHotWord(HotWordEngine):