1 #include "bcdisplayinfo.h"
15 #define WINDOW_SIZE 16384
16 #define MAXMAGNITUDE 15
22 class GraphicEQ : public PluginAClient
25 GraphicEQ(PluginServer *server);
31 void read_data(KeyFrame *keyframe);
32 void save_data(KeyFrame *keyframe);
33 int process_realtime(long size, double *input_ptr, double *output_ptr);
44 void load_configuration();
49 double calculate_envelope();
50 double gauss(double sigma, double a, double x);
52 double envelope[WINDOW_SIZE / 2];
55 GraphicThread *thread;
70 PluginClient* new_plugin(PluginServer *server)
72 return new GraphicEQ(server);