Inheritance diagram for Analysis::GistState:
Analysis::CSD Analysis::Centroid Analysis::Crest Analysis::EnergyDifference Analysis::Flatness Analysis::HFQ Analysis::Kurtosis Analysis::MFCC Analysis::MelSpectrum Analysis::Peak Analysis::Pitch Analysis::RMS Analysis::Rolloff Analysis::SpectralDiff Analysis::SpectralDiffHWR Analysis::Spectrum Analysis::ZeroCrossing

Public Member Functions

 GistState (int bufferSize, int rate)
 
 GistState (Audio::Settings::Model &settings)
 
void preprocess (const auto &audio)
 
template<auto Func>
void process_mono (const auto &audio, auto &out_port, int d)
 
template<auto Func>
void process_stereo (const auto &audio, auto &out_port, int d)
 
template<auto Func>
void process_multi (const auto &audio, auto &out_port, int d)
 
template<auto Func>
void process_mono (const auto &audio, float gain, float gate, auto &out_port, int d)
 
template<auto Func>
void process_stereo (const auto &audio, float gain, float gate, auto &out_port, int d)
 
template<auto Func>
void process_multi (const auto &audio, float gain, float gate, auto &out_port, int d)
 
template<auto Func>
void process_mono (const auto &audio, float gain, float gate, auto &out_port, auto &pulse_port, int d)
 
template<auto Func>
void process_stereo (const auto &audio, float gain, float gate, auto &out_port, auto &pulse_port, int d)
 
template<auto Func>
void process_multi (const auto &audio, float gain, float gate, auto &out_port, auto &pulse_port, int d)
 
template<auto Func, typename... Args>
void process (const auto &audio, Args &&... args)
 
template<auto Func>
void processVector (const auto &audio, ossia::audio_port &mfcc, int d)
 
template<auto Func>
void processVector (const auto &audio, float gain, float gate, auto &mfcc, int d)
 

Static Public Member Functions

static int channels (auto &audio) noexcept
 
static auto data (auto *channel) noexcept
 
static auto frames (auto &channel, int d) noexcept
 
template<typename V >
static auto write_value (auto &out_port, V &&ret)
 

Public Attributes

ossia::small_vector< Gist< double >, 2 > gist
 
Analysis::analysis_vector output
 
int bufferSize {}
 
int rate {}
 

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