ParametricEQ Class Reference

#include <parametric.h>

Inherits PluginAClient.

Collaboration diagram for ParametricEQ:

Collaboration graph
[legend]

Public Member Functions

 ParametricEQ (PluginServer *server)
 ~ParametricEQ ()
int is_realtime ()
void read_data (KeyFrame *keyframe)
void save_data (KeyFrame *keyframe)
int process_buffer (int64_t size, double *buffer, int64_t start_position, int sample_rate)
int load_defaults ()
int save_defaults ()
void reset ()
void reconfigure ()
void update_gui ()
double calculate_envelope ()
double gauss (double sigma, double a, double x)

Data Fields

double envelope [WINDOW_SIZE/2]
int need_reconfigure
ParametricFFTfft

Detailed Description

Definition at line 208 of file parametric.h.


Constructor & Destructor Documentation

ParametricEQ::ParametricEQ ( PluginServer server  ) 

Definition at line 609 of file parametric.C.

References fft, need_reconfigure, and PLUGIN_CONSTRUCTOR_MACRO.

ParametricEQ::~ParametricEQ (  ) 

Definition at line 617 of file parametric.C.

References fft, and PLUGIN_DESTRUCTOR_MACRO.


Member Function Documentation

int ParametricEQ::is_realtime (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 636 of file parametric.C.

void ParametricEQ::read_data ( KeyFrame keyframe  )  [virtual]

Reimplemented from PluginClient.

Definition at line 638 of file parametric.C.

References KeyFrame::data, XMLTag::get_property(), input, FileXML::read_tag(), FileXML::set_shared_string(), FileXML::tag, and XMLTag::title_is().

Here is the call graph for this function:

void ParametricEQ::save_data ( KeyFrame keyframe  )  [virtual]

int ParametricEQ::process_buffer ( int64_t  size,
double *  buffer,
int64_t  start_position,
int  sample_rate 
) [virtual]

Reimplemented from PluginAClient.

Definition at line 800 of file parametric.C.

References fft, PluginClient::get_direction(), need_reconfigure, CrossfadeFFT::process_buffer(), and reconfigure().

Here is the call graph for this function:

int ParametricEQ::load_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 821 of file parametric.C.

References BANDS, BCASTDIR, and BCTEXTLEN.

int ParametricEQ::save_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 843 of file parametric.C.

References BANDS, and BCTEXTLEN.

void ParametricEQ::reset (  ) 

Reimplemented from PluginClient.

Definition at line 869 of file parametric.C.

References fft, and need_reconfigure.

void ParametricEQ::reconfigure (  ) 

Definition at line 696 of file parametric.C.

References calculate_envelope(), envelope, fft, CrossfadeFFT::initialize(), need_reconfigure, and WINDOW_SIZE.

Referenced by process_buffer().

Here is the call graph for this function:

void ParametricEQ::update_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 876 of file parametric.C.

double ParametricEQ::calculate_envelope (  ) 

double ParametricEQ::gauss ( double  sigma,
double  a,
double  x 
)

Definition at line 788 of file parametric.C.

References EQUIV, and M_PI.

Referenced by calculate_envelope().


Field Documentation

double ParametricEQ::envelope[WINDOW_SIZE/2]

Definition at line 232 of file parametric.h.

Referenced by ParametricEQ(), process_buffer(), reconfigure(), and reset().

Definition at line 234 of file parametric.h.

Referenced by ParametricEQ(), process_buffer(), reconfigure(), reset(), and ~ParametricEQ().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:34:41 2008 for Cinelerra by  doxygen 1.5.5