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,
"Spectrum")
14 halp_meta(c_name,
"Spectrum")
15 halp_meta(category,
"Analysis/Spectrum")
16 halp_meta(author,
"ossia score, Gist library")
17 halp_meta(manual_url,
"https://ossia.io/score-docs/processes/analysis.html#spectrum-extraction")
18 halp_meta(description,
"Get the magnitude spectrum of a signal")
19 halp_meta(uuid,
"422a1f92-821c-4073-ae50-e7c21487e27d");
30 halp::dynamic_audio_bus<
"spectrum",
double> result;
33 void operator()(
int frames)
35 processVector<&Gist<double>::getMagnitudeSpectrum>(
36 inputs.audio, inputs.gain, inputs.gate, outputs.result, frames);
43 halp_meta(name,
"Complex Spectral Difference")
44 halp_meta(c_name,
"CSD")
45 halp_meta(category,
"Analysis/Spectrum")
46 halp_meta(author,
"ossia score, Gist library")
47 halp_meta(manual_url,
"https://ossia.io/score-docs/processes/analysis.html#spectrum-extraction")
48 halp_meta(description,
"Get the Mel frequency spectrum of a signal")
49 halp_meta(uuid,
"f2b62e47-0e67-476f-b757-ef6a48610a78");
63 void operator()(
int frames)
65 processVector<&Gist<double>::getMelFrequencySpectrum>(
66 inputs.audio, inputs.gain, inputs.gate, outputs.result, frames);
73 halp_meta(name,
"MFCC")
74 halp_meta(c_name,
"MFCC")
75 halp_meta(category,
"Analysis/Spectrum")
76 halp_meta(author,
"ossia score, Gist library")
77 halp_meta(manual_url,
"https://ossia.io/score-docs/processes/analysis.html#spectrum-extraction")
78 halp_meta(description,
"Get the mel-frequency cepstral coefficients of a signal")
79 halp_meta(uuid,
"26684acb-36f5-4a8b-8ed3-f32f9ffb436b");
93 void operator()(
int frames)
95 processVector<&Gist<double>::getMelFrequencyCepstralCoefficients>(
96 inputs.audio, inputs.gain, inputs.gate, outputs.result, frames);
Definition: GistState.hpp:26
Definition: Helpers.hpp:27
Definition: Helpers.hpp:30
Definition: Helpers.hpp:34
Definition: Helpers.hpp:43