20 #ifndef __ardour_fft_result_h
21 #define __ardour_fft_result_h
44 float avgAt (
unsigned int x,
bool p)
const
46 float maxAt (
unsigned int x,
bool p)
const
48 float minAt (
unsigned int x,
bool p)
const
84 static float power_to_db (
float v) {
return v > 1e-20 ? 10.0f * log10f (v) : -200.0f; }
float minimum(bool p) const
std::vector< float > _data_prop_min
unsigned int length() const
const Gdk::Color & get_color() const
float maxAt(unsigned int x, bool p) const
std::vector< float > _data_flat_max
std::vector< float > _data_flat_min
float maximum(bool p) const
std::vector< float > _data_prop_max
float minAt(unsigned int x, bool p) const
std::vector< float > _data_prop_avg
void analyzeWindow(float *window)
FFTResult(FFTGraph *graph, Gdk::Color color, std::string trackname)
static float power_to_db(float v)
std::vector< float > _data_flat_avg
float avgAt(unsigned int x, bool p) const
PBD::PropertyDescriptor< uint32_t > color