csl::LPCFilter Class Reference

#include <LPC.h>

Inheritance diagram for csl::LPCFilter:

csl::Effect csl::Scalable List of all members.

Detailed Description

LPCFilter is also an effect; it reads an input (residual) and filters its according to an LPC-derived FIR filter


Public Member Functions

 LPCFilter (UnitGenerator &in, char *lpcFile)
 LPCFilter (UnitGenerator &in, Buffer &lpcData, unsigned size, unsigned hopSize, unsigned order)
 ~LPCFilter ()
unsigned windowSize ()
unsigned hopSize ()
unsigned LPCOrder ()
double deEmphasis ()
EnvelopetimeEnvelope ()
void setTimeEnvelope (Envelope *env)
void nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException)
 read some input and apply a filter to it

Protected Attributes

unsigned mWindowSize
 input window size
unsigned mHopSize
 input hop size
unsigned mLPCOrder
 LPC order.
double mDeEmphasis
EnvelopemTimeEnvelope
 playback time warp envelope (0-1)
FILE * mLPCFile
 file ptr for the coefficient file
Buffer mLPCBuffer
 (or) the coefficient buffer
Buffer mTempBuffer
 the past output buffer


Constructor & Destructor Documentation

LPCFilter::LPCFilter UnitGenerator in,
char *  lpcFile
 

LPCFilter::LPCFilter UnitGenerator in,
Buffer lpcData,
unsigned  size,
unsigned  hopSize,
unsigned  order
 

LPCFilter::~LPCFilter  ) 
 


Member Function Documentation

unsigned csl::LPCFilter::windowSize  )  [inline]
 

unsigned csl::LPCFilter::hopSize  )  [inline]
 

unsigned csl::LPCFilter::LPCOrder  )  [inline]
 

double csl::LPCFilter::deEmphasis  )  [inline]
 

Envelope* csl::LPCFilter::timeEnvelope  )  [inline]
 

void csl::LPCFilter::setTimeEnvelope Envelope env  )  [inline]
 

void LPCFilter::nextBuffer Buffer outputBuffer,
unsigned  outBufNum
throw (CException)
 

read some input and apply a filter to it


Member Data Documentation

unsigned csl::LPCFilter::mWindowSize [protected]
 

input window size

unsigned csl::LPCFilter::mHopSize [protected]
 

input hop size

unsigned csl::LPCFilter::mLPCOrder [protected]
 

LPC order.

double csl::LPCFilter::mDeEmphasis [protected]
 

Envelope* csl::LPCFilter::mTimeEnvelope [protected]
 

playback time warp envelope (0-1)

FILE* csl::LPCFilter::mLPCFile [protected]
 

file ptr for the coefficient file

Buffer csl::LPCFilter::mLPCBuffer [protected]
 

(or) the coefficient buffer

Buffer csl::LPCFilter::mTempBuffer [protected]
 

the past output buffer


The documentation for this class was generated from the following files:
Generated on Fri Apr 6 20:18:19 2007 for CSL by  doxygen 1.4.5-20051010