ESPHome  2024.12.2
preprocessor_settings.h
Go to the documentation of this file.
1 #pragma once
2 
3 #ifdef USE_ESP_IDF
4 
5 #include <cstdint>
6 
7 namespace esphome {
8 namespace micro_wake_word {
9 
10 // The number of features the audio preprocessor generates per slice
11 static const uint8_t PREPROCESSOR_FEATURE_SIZE = 40;
12 // Duration of each slice used as input into the preprocessor
13 static const uint8_t FEATURE_DURATION_MS = 30;
14 // Audio sample frequency in hertz
15 static const uint16_t AUDIO_SAMPLE_FREQUENCY = 16000;
16 
17 } // namespace micro_wake_word
18 } // namespace esphome
19 
20 #endif
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7