Commit Graph

4 Commits (refactor/python-detect)

Author SHA1 Message Date
TheRealDGD 34f66d234c
Added duration_to_bytes to FileMockMicrophone (#3071)
* Added duration_to_bytes to FileMockMicrophone

Added duration_to_bytes to fix AttributeError: 'FileMockMicrophone' object has no attribute 'duration_to_bytes'
in call from mycroft-core/mycroft/client/speech/mic.py _wait_until_wake_word

* Update wake_word_test.py

Fixed formatting issues

* Update wake_word_test.py

Fixed formatting

* Remove whitespaces for PEP8

Co-authored-by: Kris Gesling <kris.gesling@mycroft.ai>
2022-02-23 16:08:46 +09:30
Åke Forslund 0a9de0ab7c Update to pyee 8.1.0
pyee 8.1.0 adds a small change to make the once call to be more safe in
multithreaded environments.

This switches back from the now deprecated BaseEventEmitter to the
standard EventEmitter.
2020-10-22 11:43:06 +02:00
Kris Gesling d70c425854 switch deprecated EventEmitter to other classes 2020-08-18 15:58:42 +09:30
Åke Forslund 6ebf8551b9 Rename audioaccuracytest to wakewordtest 2020-02-03 12:17:23 +01:00