14 #ifndef __Pd____RawFilters__
15 #define __Pd____RawFilters__
30 double lastImaginary = 0;
38 virtual double perform(
double,
double)=0;
42 void set(
double value) {lastValue = value;};
44 void set(
double real,
double imaginary) {lastReal = real; lastImaginary = imaginary;};
46 void clear() {lastValue = lastReal = lastImaginary = 0;};
49 void setLast(
double last);
50 void setLastReal(
double lastreal);
51 void setLastImaginary(
double lastimag);
53 double getLast() {
return lastValue;};
54 double getLastReal() {
return lastReal;};
55 double getLastImaginary() {
return lastImaginary;};
68 std::string pdName =
"rpole~";
78 std::string pdName =
"rzero~";
88 std::string pdName =
"rzero_rev~";
100 std::string pdName =
"cpole~";
111 std::string pdName =
"czero~";
122 std::string pdName =
"czero_rev~";
Raw real reverse one zero filter.
Definition: RawFilters.h:82
The Pd++ namespace.
Definition: BandPass.cpp:14
double perform(double, double)
For real filters.
Definition: RawFilters.cpp:56
Raw complex one pole filter.
Definition: RawFilters.h:93
complexOutput perform(double, double, double, double)
Definition: RawFilters.cpp:147
ComplexPole()
Complex one pole filter.
Definition: RawFilters.cpp:101
A super class inherited by all Pd++ objects.
Definition: PdMaster.h:62
RealZeroReverse()
Real, reverse one zero filter.
Definition: RawFilters.cpp:74
Raw real one pole filter.
Definition: RawFilters.h:62
void set(double value)
For real filters.
Definition: RawFilters.h:42
ComplexZero()
Complex one zero filter.
Definition: RawFilters.cpp:139
virtual double perform(double, double)=0
For real filters.
void set(double real, double imaginary)
For complex filters.
Definition: RawFilters.h:44
An abstract class for all of Pd's raw filters.
Definition: RawFilters.h:25
ComplexZeroReverse()
Complex, reverse one zero filter.
Definition: RawFilters.cpp:174
double perform(double, double)
For real filters.
Definition: RawFilters.cpp:82
RealPole()
Real one pole filter.
Definition: RawFilters.cpp:22
double perform(double, double)
For real filters.
Definition: RawFilters.cpp:30
Raw complex reverse one zero filter.
Definition: RawFilters.h:115
Raw complex one zero filter.
Definition: RawFilters.h:104
complexOutput perform(double, double, double, double)
Definition: RawFilters.cpp:109
complexOutput perform(double, double, double, double)
Definition: RawFilters.cpp:182
A struct returned by complex filters.
Definition: PdMaster.h:55
RealZero()
Real one zero filter.
Definition: RawFilters.cpp:48
void clear()
For all types.
Definition: RawFilters.h:46
Raw real one zero filter.
Definition: RawFilters.h:72