2 #include "lv_fourier.h"
7 VisDFT *visual_dft_new (
unsigned int samples_out,
unsigned int samples_in)
9 return new LV::DFT (samples_out, samples_in);
12 void visual_dft_free (
VisDFT *dft)
17 void visual_dft_perform (
VisDFT *
self,
float *output,
float const *input)
19 visual_return_if_fail (
self !=
nullptr);
21 self->perform (output, input);
24 void visual_dft_log_scale (
float *output,
float const *input,
unsigned int size)
29 void visual_dft_log_scale_standard (
float *output,
float const *input,
unsigned int size)
34 void visual_dft_log_scale_custom (
float *output,
float const *input,
unsigned int size,
float log_scale_divisor)
36 LV::DFT::log_scale_custom (output, input, size, log_scale_divisor);