2 #include <Analysis/GistState.hpp>
3 #include <Analysis/Helpers.hpp>
4 #include <halp/audio.hpp>
5 #include <halp/callback.hpp>
6 #include <halp/controls.hpp>
7 #include <halp/meta.hpp>
13 halp_meta(name,
"Energy Difference")
14 halp_meta(c_name,
"EnergyDifference")
15 halp_meta(category,
"Analysis/Onsets")
16 halp_meta(author,
"ossia score, Gist library")
17 halp_meta(manual_url,
"https://ossia.io/score-docs/processes/analysis.html#onset-detection")
18 halp_meta(description,
"Get the energy difference of a signal. Detects onsets.")
19 halp_meta(uuid,
"1c15b7d4-fa06-4eb2-b59f-39758308d4f8");
34 void operator()(
int frames)
36 process<&Gist<double>::energyDifference>(
37 inputs.audio, inputs.gain, inputs.gate, outputs.result, outputs.pulse, frames);
Definition: EnergyDifference.hpp:12
Definition: GistState.hpp:26
Definition: Helpers.hpp:27
Definition: Helpers.hpp:34
Definition: Helpers.hpp:43
Definition: Helpers.hpp:23
Definition: Helpers.hpp:19