#include <FilterModule.h>
Inheritance diagram for syn::FilterModule:
Public Types | |
enum | FilterType { NONE, LP, LP2, HP, LPFIR } |
Public Methods | |
FilterModule () | |
default constructor. More... | |
virtual | ~FilterModule () |
destructor. More... | |
virtual void | update () |
defines this module's task (or frame) function. More... | |
virtual bool | open () |
modules need to be opened before they are used. More... | |
virtual bool | isOpen () |
check to see if the module is open. More... | |
virtual void | close () |
close the module when done with it. More... | |
virtual Module* | clone () const |
get an exact copy of me. More... | |
void | setFilterType (FilterType t) |
FilterType | filterType () const |
void | setCutoff (float value=1.0f) |
scale between cutoff-lo and cutoff-hi. More... | |
void | setCutoffLo (float hz=220.0f) |
Set the low point that setCutoff( 0 ) will produce. More... | |
void | setCutoffHi (float hz=22050.0f) |
set high point that setCutoff( 1 ) will produce. More... | |
float | cutoff () const |
float | cutoffLo () const |
float | cutoffHi () const |
parameter access | |
virtual void | getParam (const std::string &key, MultivariateType &value) |
a way to get module params without knowing the real funcs. More... | |
virtual void | setParam (const std::string &key, const MultivariateType &value) |
a way to set module params without knowing the real funcs. More... |
Definition at line 52 of file FilterModule.h.
|
Definition at line 86 of file FilterModule.h. |
|
default constructor.
Definition at line 39 of file FilterModule.cpp. |
|
destructor.
Definition at line 49 of file FilterModule.cpp. |
|
defines this module's task (or frame) function.
Reimplemented from syn::Module. Definition at line 68 of file FilterModule.cpp. |
|
modules need to be opened before they are used.
Reimplemented from syn::Module. Definition at line 55 of file FilterModule.cpp. |
|
check to see if the module is open.
Definition at line 53 of file FilterModule.cpp. |
|
close the module when done with it.
Reimplemented from syn::Module. Definition at line 64 of file FilterModule.cpp. |
|
get an exact copy of me.
Reimplemented from syn::Module. Definition at line 74 of file FilterModule.h. |
|
Definition at line 90 of file FilterModule.h. Referenced by setParam().
|
|
Definition at line 95 of file FilterModule.h. Referenced by getParam().
|
|
scale between cutoff-lo and cutoff-hi.
Definition at line 106 of file FilterModule.h. Referenced by FilterModule(), setCutoffHi(), setCutoffLo(), setFilterType(), and setParam().
|
|
Set the low point that setCutoff( 0 ) will produce.
Definition at line 136 of file FilterModule.h. Referenced by setParam().
|
|
set high point that setCutoff( 1 ) will produce.
Definition at line 148 of file FilterModule.h. Referenced by setParam().
|
|
Definition at line 154 of file FilterModule.h. Referenced by getParam().
|
|
Definition at line 155 of file FilterModule.h. Referenced by getParam().
|
|
Definition at line 156 of file FilterModule.h. Referenced by getParam().
|
|
a way to get module params without knowing the real funcs.
Reimplemented from syn::Module. Definition at line 161 of file FilterModule.h. |
|
a way to set module params without knowing the real funcs.
Reimplemented from syn::Module. Definition at line 174 of file FilterModule.h. |