alkove.Listener
class Listener(models: Models, words: Iterable, context: str = 'pause')Spot and the words it listens for, on 16 kHz audio of any block size: a wake word on a raw microphone.
Methods
Section titled “Methods”set_words()
Section titled “set_words()”set_words(words: Iterable, context: str = 'pause') -> NoneListen for other words from the next frame on, on the same clock.
push()
Section titled “push()”push(pcm: Any) -> List[Heard]16 kHz audio, any length; one Heard per 30 ms frame it completes.