Pd++  0.01
A pure C++ implementation of Pure Data objects
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Protected Attributes | List of all members
pd::RawFilter Class Referenceabstract

An abstract class for all of Pd's raw filters. More...

#include <RawFilters.h>

Inheritance diagram for pd::RawFilter:
PdMaster pd::ComplexPole pd::ComplexZero pd::ComplexZeroReverse pd::RealPole pd::RealZero pd::RealZeroReverse

Public Member Functions

virtual double perform (double, double)=0
 For real filters.
 
virtual complexOutput perform (double, double, double, double)=0
 For complex filters.
 
void set (double value)
 For real filters.
 
void set (double real, double imaginary)
 For complex filters.
 
void clear ()
 For all types.
 
void setLast (double last)
 
void setLastReal (double lastreal)
 
void setLastImaginary (double lastimag)
 
double getLast ()
 
double getLastReal ()
 
double getLastImaginary ()
 
- Public Member Functions inherited from PdMaster
void * getbytes (size_t nbytes)
 
void * resizebytes (void *old, size_t oldsize, size_t newsize)
 
void freebytes (void *fatso, size_t nbytes)
 
std::string getPath ()
 
void setSampleRate (unsigned long)
 
unsigned long getSampleRate ()
 
void setBlockSize (int)
 
int getBlockSize ()
 
double getTimeInSampleTicks ()
 
long getTimeInMilliSeconds (double time)
 
int pdBigOrSmall (double f)
 
void cos_maketable ()
 
int PD_BIGORSMALL (float f)
 
void setFFTWindow (int)
 
int getFFTWindow ()
 
double mtof (double)
 
double ftom (double)
 
double powtodb (double)
 
double dbtopow (double)
 
double rmstodb (double)
 
double dbtorms (double)
 

Protected Attributes

double lastValue = 0
 
double lastReal = 0
 
double lastImaginary = 0
 

Additional Inherited Members

- Public Types inherited from PdMaster
typedef union
PdMaster::_sampleint_union 
t_sampleint_union
 
- Public Attributes inherited from PdMaster
int cosTableSize = COSTABSIZE
 
float * cos_table
 

Detailed Description

An abstract class for all of Pd's raw filters.


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