1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-17 02:32:20 +01:00

[micro_wake_word] Experimental cutoff adjustments and uses mic sample rate (#8702)

This commit is contained in:
Kevin Ahrendt
2025-05-06 16:48:56 -05:00
committed by GitHub
parent 4d43caf6c1
commit 39b119e9cc
5 changed files with 29 additions and 22 deletions

View File

@@ -15,8 +15,6 @@ namespace micro_wake_word {
static const uint8_t PREPROCESSOR_FEATURE_SIZE = 40;
// Duration of each slice used as input into the preprocessor
static const uint8_t FEATURE_DURATION_MS = 30;
// Audio sample frequency in hertz
static const uint16_t AUDIO_SAMPLE_FREQUENCY = 16000;
static const float FILTERBANK_LOWER_BAND_LIMIT = 125.0;
static const float FILTERBANK_UPPER_BAND_LIMIT = 7500.0;