|
Snowman
0.1.0
|


Additional Inherited Members | |
Public Member Functions inherited from snowboy::SnowboyDetect | |
| SnowboyDetect (const std::string &resource_filename, const std::string &model_str) | |
| Default constructor. More... | |
| bool | Reset () |
| Resets the detection. More... | |
| int | RunDetection (const std::string &data, bool is_end=false) |
| Runs hotword detection. More... | |
| int | RunDetection (const float *const data, const int array_length, bool is_end=false) |
| Runs hotword detection on float samples. More... | |
| int | RunDetection (const int16_t *const data, const int array_length, bool is_end=false) |
| Runs hotword detection on int16_t samples. More... | |
| int | RunDetection (const int32_t *const data, const int array_length, bool is_end=false) |
| Runs hotword detection on int32_t samples. More... | |
| void | SetSensitivity (const std::string &sensitivity_str) |
| Sets the sensitivity string for the loaded hotwords. More... | |
| void | SetHighSensitivity (const std::string &high_sensitivity_str) |
| Sets the high sensitivity string for the loaded hotwords. More... | |
| std::string | GetSensitivity () const |
| Returns the sensitivity string for the current hotwords. More... | |
| void | SetAudioGain (const float audio_gain) |
| Apply a fixed gain to the input audio. More... | |
| void | UpdateModel () const |
| Writes the models to the model filenames specified in <model_str> in the constructor. More... | |
| int | NumHotwords () const |
| Returns the number of the loaded hotwords. More... | |
| void | ApplyFrontend (const bool apply_frontend) |
| Enable or disable audio frontend (NS & AGC). More... | |
| int | SampleRate () const |
| Returns the expected sample rate for audio provided to RunDetection(). More... | |
| int | NumChannels () const |
| Returns the expected number of channels for audio provided to RunDetection(). More... | |
| int | BitsPerSample () const |
| Returns the expected number of bits for audio provided to RunDetection(). More... | |
| ~SnowboyDetect () | |
| Destructor. | |