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

Public Member Functions

 halp_meta (name, "Energy Difference") halp_meta(c_name
 
EnergyDifference halp_meta (category, "Analysis/Onsets") halp_meta(author
 
EnergyDifference ossia Gist library halp_meta (manual_url, "https://ossia.io/score-docs/processes/analysis.html#onset-detection") halp_meta(description
 
EnergyDifference ossia Gist library Get the energy difference of a signal Detects onsets halp_meta (uuid, "1c15b7d4-fa06-4eb2-b59f-39758308d4f8")
 
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

EnergyDifference 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: