Skip to main content

Crate micro_wakeword

Crate micro_wakeword 

Source
Expand description

Detection and live microphone listening for microWakeWord models.

Structs§

AudioDevice
Config
Validated model and detection configuration.
Detection
A thresholded wake-word prediction.
Detector
Streaming detector for 16 kHz mono signed 16-bit PCM.
DetectorBuilder
Builder for detectors that do not use a model JSON file.
Listener
A live microphone stream connected to a detector.
ListenerBuilder
ModelMetadata
Descriptive fields from a microWakeWord model file.

Enums§

Error
Errors returned by this crate.
Runtime
Selects the TensorFlow Lite C runtime used for inference.

Constants§

AUDIO_BLOCK_SAMPLES
Samples in one 10 ms mono PCM block.
DEFAULT_COOLDOWN
The repeat-suppression period used by Listener unless overridden.
SAMPLE_RATE
Required input sample rate.

Functions§

available_input_devices

Type Aliases§

Result