arduino-audio-tools
Public Member Functions | Protected Attributes | List of all members
TfLiteSineReader Class Reference

Generate a sine output from a model that was trained on the sine method. (=hello_world) More...

#include <TfLiteAudioStream.h>

Inheritance diagram for TfLiteSineReader:
TfLiteReader

Public Member Functions

 TfLiteSineReader (int16_t range=32767, float increment=0.01)
 
virtual bool begin (TfLiteAudioStreamBase *parent) override
 
virtual int read (int16_t *data, int sampleCount) override
 

Protected Attributes

float actX =0
 
int channels
 
float increment =0.1
 
TfLiteTensor * input = nullptr
 
TfLiteTensor * output = nullptr
 
tflite::MicroInterpreter * p_interpreter = nullptr
 
int16_t range =0
 

Detailed Description

Generate a sine output from a model that was trained on the sine method. (=hello_world)

Author
Phil Schatzmann

The documentation for this class was generated from the following file: