ESP  0.1
The Example-based Sensor Predictions (ESP) system tries to bring machine learning to the maker community.
user_speaker.cpp File Reference
#include <ESP.h>
#include <MFCC.h>

Functions

void setup ()
 

Variables

constexpr uint32_t kDownsample = 5
 
constexpr uint32_t kSampleRate = 44100 / 5
 
constexpr uint32_t kFftWindowSize = 256
 
constexpr uint32_t kFftHopSize = 128
 
constexpr uint32_t DIM = 1
 
AudioStream stream (kDownsample)
 
GestureRecognitionPipeline pipeline
 
TcpOStream oStream ("localhost", 5204)
 
int post_duration = 1000
 
double post_ratio = 0.7f
 
double noise_level = 5.0f
 

Function Documentation

void setup ( )
Examples:
user_speaker.cpp.

Variable Documentation

constexpr uint32_t DIM = 1
Examples:
user_speaker.cpp.
constexpr uint32_t kDownsample = 5
Examples:
user_speaker.cpp.
constexpr uint32_t kFftHopSize = 128
Examples:
user_speaker.cpp.
constexpr uint32_t kFftWindowSize = 256
Examples:
user_speaker.cpp.
constexpr uint32_t kSampleRate = 44100 / 5
Examples:
user_speaker.cpp.
double noise_level = 5.0f
Examples:
user_speaker.cpp.
TcpOStream oStream("localhost", 5204)
Examples:
user_speaker.cpp.
GestureRecognitionPipeline pipeline
Examples:
user_speaker.cpp.
int post_duration = 1000
Examples:
user_speaker.cpp.
double post_ratio = 0.7f
Examples:
user_speaker.cpp.