Configuration settings for TfLiteAudioStream.
More...
#include <TfLiteAudioStream.h>
Configuration settings for TfLiteAudioStream.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ audioSampleSize()
◆ categoryCount()
◆ featureElementCount()
| int featureElementCount |
( |
| ) |
|
|
inline |
◆ setCategories()
template<int N>
| void setCategories |
( |
const char *(&) |
array[N] | ) |
|
|
inline |
◆ strideSampleSize()
◆ TfLiteMicroSpeechRecognizeCommands
◆ average_window_duration_ms
| int32_t average_window_duration_ms = 1000 |
◆ channels
◆ detection_threshold
| uint8_t detection_threshold = 50 |
◆ filterbank_lower_band_limit
| float filterbank_lower_band_limit = 125.0 |
◆ filterbank_upper_band_limit
| float filterbank_upper_band_limit = 7500.0 |
◆ kFeatureSliceCount
| int kFeatureSliceCount = 49 |
◆ kFeatureSliceDurationMs
| int kFeatureSliceDurationMs = 30 |
◆ kFeatureSliceSize
| int kFeatureSliceSize = 40 |
◆ kFeatureSliceStrideMs
| int kFeatureSliceStrideMs = 20 |
◆ kSlicesToProcess
◆ kTensorArenaSize
| size_t kTensorArenaSize = 10 * 1024 |
◆ log_scale_enable_log
| bool log_scale_enable_log = 1 |
◆ log_scale_scale_shift
| uint8_t log_scale_scale_shift = 6 |
◆ minimum_count
| int32_t minimum_count = 3 |
◆ model
| const unsigned char* model = nullptr |
◆ noise_reduction_even_smoothing
| float noise_reduction_even_smoothing = 0.025 |
◆ noise_reduction_min_signal_remaining
| float noise_reduction_min_signal_remaining = 0.05 |
◆ noise_reduction_odd_smoothing
| float noise_reduction_odd_smoothing = 0.06 |
◆ noise_reduction_smoothing_bits
| float noise_reduction_smoothing_bits = 10 |
◆ pcan_gain_control_enable_pcan
| bool pcan_gain_control_enable_pcan = 1 |
◆ pcan_gain_control_gain_bits
| float pcan_gain_control_gain_bits = 21 |
◆ pcan_gain_control_offset
| float pcan_gain_control_offset = 80.0 |
◆ pcan_gain_control_strength
| float pcan_gain_control_strength = 0.95 |
◆ reader
◆ recognizeCommands
◆ respondToCommand
| void(* respondToCommand) (const char *found_command, uint8_t score, bool is_new_command) = nullptr |
◆ sample_rate
◆ suppression_ms
| int32_t suppression_ms = 1500 |
◆ useAllOpsResolver
| bool useAllOpsResolver = false |
◆ writer
The documentation for this struct was generated from the following file: