comb Class Reference

#include <comb.hpp>


Public Member Functions

 comb ()
void setbuffer (float *buf, int size)
float process (float inp)
void mute ()
void setdamp (float val)
float getdamp ()
void setfeedback (float val)
float getfeedback ()

Private Attributes

float feedback
float filterstore
float damp1
float damp2
float * buffer
int bufsize
int bufidx


Detailed Description

Definition at line 12 of file comb.hpp.


Constructor & Destructor Documentation

comb::comb (  ) 

Definition at line 9 of file comb.cpp.

References bufidx, and filterstore.


Member Function Documentation

void comb::setbuffer ( float *  buf,
int  size 
)

Definition at line 15 of file comb.cpp.

References buffer, and bufsize.

Referenced by revmodel::revmodel().

float comb::process ( float  inp  )  [inline]

Definition at line 36 of file comb.hpp.

References buffer, bufidx, bufsize, damp1, damp2, feedback, filterstore, output, and undenormalise.

Referenced by revmodel::processmix(), and revmodel::processreplace().

void comb::mute (  ) 

Definition at line 21 of file comb.cpp.

References buffer, and bufsize.

Referenced by revmodel::mute().

void comb::setdamp ( float  val  ) 

Definition at line 27 of file comb.cpp.

References damp1, and damp2.

Referenced by revmodel::update().

float comb::getdamp (  ) 

Definition at line 33 of file comb.cpp.

References damp1.

void comb::setfeedback ( float  val  ) 

Definition at line 38 of file comb.cpp.

References feedback.

Referenced by revmodel::update().

float comb::getfeedback (  ) 

Definition at line 43 of file comb.cpp.

References feedback.


Field Documentation

float comb::feedback [private]

Definition at line 24 of file comb.hpp.

Referenced by getfeedback(), process(), and setfeedback().

float comb::filterstore [private]

Definition at line 25 of file comb.hpp.

Referenced by comb(), and process().

float comb::damp1 [private]

Definition at line 26 of file comb.hpp.

Referenced by getdamp(), process(), and setdamp().

float comb::damp2 [private]

Definition at line 27 of file comb.hpp.

Referenced by process(), and setdamp().

float* comb::buffer [private]

Definition at line 28 of file comb.hpp.

Referenced by mute(), process(), and setbuffer().

int comb::bufsize [private]

Definition at line 29 of file comb.hpp.

Referenced by mute(), process(), and setbuffer().

int comb::bufidx [private]

Definition at line 30 of file comb.hpp.

Referenced by comb(), and process().


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

Generated on Mon Apr 28 14:19:17 2008 for Cinelerra by  doxygen 1.5.5