8namespace micro_wake_word {
15static const uint8_t PREPROCESSOR_FEATURE_SIZE = 40;
17static const uint8_t FEATURE_DURATION_MS = 30;
19static const float FILTERBANK_LOWER_BAND_LIMIT = 125.0;
20static const float FILTERBANK_UPPER_BAND_LIMIT = 7500.0;
22static const uint8_t NOISE_REDUCTION_SMOOTHING_BITS = 10;
23static const float NOISE_REDUCTION_EVEN_SMOOTHING = 0.025;
24static const float NOISE_REDUCTION_ODD_SMOOTHING = 0.06;
25static const float NOISE_REDUCTION_MIN_SIGNAL_REMAINING = 0.05;
27static const bool PCAN_GAIN_CONTROL_ENABLE_PCAN =
true;
28static const float PCAN_GAIN_CONTROL_STRENGTH = 0.95;
29static const float PCAN_GAIN_CONTROL_OFFSET = 80.0;
30static const uint8_t PCAN_GAIN_CONTROL_GAIN_BITS = 21;
32static const bool LOG_SCALE_ENABLE_LOG =
true;
33static const uint8_t LOG_SCALE_SCALE_SHIFT = 6;
Providing packet encoding functions for exchanging data with a remote host.