Analysis::SpectralDiff Struct Reference
Inheritance diagram for Analysis::SpectralDiff:
Analysis::GistState

Public Member Functions

 halp_meta (name, "Spectral Difference") halp_meta(c_name
 
SpectralDiff halp_meta (category, "Analysis/Onsets") halp_meta(author
 
SpectralDiff ossia Gist library halp_meta (manual_url, "https://ossia.io/score-docs/processes/analysis.html#onset-detection") halp_meta(description
 
SpectralDiff ossia Gist library Get the spectral difference of a signal halp_meta (uuid, "0871dd59-c77c-45c9-b229-0ff69dd211e3")
 
void operator() (int frames)
 
- Public Member Functions inherited from Analysis::GistState
 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)
 

Public Attributes

SpectralDiff ossia score
 
struct {
   audio_in   audio
 
   gain_slider   gain
 
   gate_slider   gate
 
inputs
 
struct {
   value_out   result
 
   pulse_out   pulse
 
outputs
 
- Public Attributes inherited from Analysis::GistState
ossia::small_vector< Gist< double >, 2 > gist
 
Analysis::analysis_vector output
 
int bufferSize {}
 
int rate {}
 

Additional Inherited Members

- Static Public Member Functions inherited from Analysis::GistState
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)
 

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