|
arduino-audio-tools
|
TfLiteMicroSpeachWriter for Audio Data. More...
#include <TfLiteAudioStream.h>
Public Member Functions | |
| virtual bool | begin (TfLiteAudioStreamBase *parent) |
| Call begin before starting the processing. | |
| virtual bool | write (int16_t sample) |
Protected Attributes | |
| TfLiteConfig | cfg |
| int8_t | channel = 0 |
| FrontendConfig | config |
| int32_t | current_time = 0 |
| FrontendState | g_micro_features_state |
| int | kKeepSampleSize |
| int | kMaxAudioSampleSize |
| int | kStrideSampleSize |
| int16_t | last_value |
| int16_t * | p_audio_samples = nullptr |
| audio_tools::RingBuffer< int16_t > * | p_buffer = nullptr |
| int8_t * | p_feature_data = nullptr |
| TfLiteAudioStreamBase * | parent =nullptr |
| int16_t | total_slice_count = 0 |
TfLiteMicroSpeachWriter for Audio Data.
|
inlinevirtual |
Call begin before starting the processing.
Implements TfLiteWriter.
|
inlinevirtual |
Implements TfLiteWriter.