33 #ifndef _NSOUND_FILTER_LOW_PASS_FIR_H_
34 #define _NSOUND_FILTER_LOW_PASS_FIR_H_
51 const float64 & cutoff_frequency_Hz);
88 plot(
boolean show_fc =
true,
boolean show_phase =
false);
void plot(boolean show_fc=true, boolean show_phase=false)
FilterLowPassFIR(const float64 &sample_rate, uint32 kernel_size, const float64 &cutoff_frequency_Hz)
FilterLowPassFIR & operator=(const FilterLowPassFIR &rhs)
virtual ~FilterLowPassFIR()
bool operator<(const Kernel &rhs) const
void makeKernel(const float64 &frequency1)
Base class for IIR Filters, defines the interface.
float64 getFrequency() const
std::set< Kernel > KernelCache
A Buffer for storing audio samples.
Kernel(const uint32 &frequency)
void setCutoff(const float64 &fc)
Sets the cut off frequency (Hz).
A class to store calculated kernels.
AudioStream filter(const AudioStream &x)
Buffer getImpulseResponse()