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

Raw complex one zero filter. More...

#include <RawFilters.h>

Inheritance diagram for pd::ComplexZero:
pd::RawFilter PdMaster

Public Member Functions

 ComplexZero ()
 Complex one zero filter.
 
complexOutput perform (double, double, double, double)
 
- Public Member Functions inherited from pd::RawFilter
virtual double perform (double, double)=0
 For real 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)
 

Public Attributes

std::string pdName = "czero~"
 
- Public Attributes inherited from PdMaster
int cosTableSize = COSTABSIZE
 
float * cos_table
 

Additional Inherited Members

- Public Types inherited from PdMaster
typedef union
PdMaster::_sampleint_union 
t_sampleint_union
 
- Protected Attributes inherited from pd::RawFilter
double lastValue = 0
 
double lastReal = 0
 
double lastImaginary = 0
 

Detailed Description

Raw complex one zero filter.

Member Function Documentation

complexOutput pd::ComplexZero::perform ( double  real,
double  imag,
double  realCoef,
double  imagCoef 
)
virtual

The output of this function is a struct with real and imag parts.

Implements pd::RawFilter.


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