Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Pryonlite is a keyword detector library provided by amazon for wakeword detection.

High Level Process Flow (v2.13)


Pryonlite initialization

1. Pryonlite is initialized along with the plugin's alexa-sdk initialization sequence.
2. Create and initialize audio stream reader for reading audio data.
3. Load the locale specific model file for  pryonlite wakeword detection.
4. Initialize the pryonlite configuration for wakeword model buffer size using PryonLite_GetConfigAttributes.
5. Call PryonLite_Initialize to set event handling and to set the config paramaters.
6. After initialization set the detection keyword, threshold params via call to PryonLiteWakeword_SetDetectionThreshold.

...

1. Once pryonlite is initialized, a separate thread is started to listen to changes in audio stream.
2. Incase of change in the audio stream, send the audio samples to pryonlite using PryonLite_PushAudioSamples got wakeword match.

...